51 Commits

Author SHA1 Message Date
Arnaud
63a868e311
Add throwable usage 2025-05-30 16:55:33 +02:00
Arnaud
26a3caacc8
fix: use BigInt instead of number of token values (#17)
* Use BigInt instead of number of token values

* Remove useless triple =

* Update tests
2025-05-30 16:12:29 +02:00
Arnaud
59837ece13
chore: fix typo (#19)
* Fix typo

* Fix rebase
2025-05-30 15:37:59 +02:00
Arnaud
6b04d115c1
chore: update openapi (#22)
* Add delete endpoint

* Add more test for metadata

* Update packages
2025-05-30 15:22:39 +02:00
Arnaud
a437e593f0
chore: improve tests (#21)
* Add CI

* Rename CI

* Remove only modifier

* Define specific node version

* Improve tests

* Update CI

* Fix syntax

* Don't exit when curl is failing to connect
2025-05-30 12:04:11 +02:00
Arnaud
a8970d2377
feat: add CI (#20)
* Add CI

* Rename CI

* Remove only modifier

* Define specific node version
2025-05-28 18:32:45 +02:00
Arnaud
3bf517d1bb
chore: generate types from open api (#14)
* Generate types from the open api file

* Update dependencies

* Update dependencies

* Update the openapi schema

* Fix merge

* Fix doc reference
2025-04-02 17:13:40 +02:00
Arnaud
54dca841f1
Set props as optional 2025-03-28 11:30:51 +01:00
Arnaud
9e89c30562
Support basic authentication 2025-03-28 09:13:01 +01:00
Arnaud
5dd17df66f
feat/data: add Node js support (#11)
* Add Node JS support

* Refactoring

* Fix documentation

* Fix doc reference
2025-03-26 18:35:24 +01:00
Vaclav Pavlin
5d2f3f6603
various small README and comment fixes (#10)
* various small README and comment fixes

* add async/sync variants with comments
2025-03-26 12:46:39 +01:00
Arnaud
c94d7a1257
Replace collateral by collateralPerByte 2025-03-04 11:06:13 +01:00
Arnaud
bf61eefea9
Update api 2025-02-25 23:18:29 +01:00
Arnaud
621a4e4660
Fix api 2025-02-25 21:54:51 +01:00
Arnaud
46aff9eff3
Update Codex api 2025-02-25 21:31:28 +01:00
Arnaud
c910f4d668
Update to use collatealPerByte 2025-02-10 22:49:32 +01:00
Arnaud
0961b50327
Use pricePerBytePerSecond instead of reward 2025-02-07 18:28:03 +01:00
Arnaud
b29af75426
Renove uploadedAt 2025-02-07 14:47:27 +01:00
Arnaud
c0dc44406d
Revert "Remove the uploadedAt time"
This reverts commit b36fb65721d3c7bbd7f3d7289fdc11175c0c27ea.
2025-02-07 14:44:19 +01:00
Arnaud
b36fb65721
Remove the uploadedAt time 2025-02-07 14:39:04 +01:00
Arnaud
81f66c6b3f
Add announceAddresses to types 2024-11-20 14:31:43 +01:00
Arnaud
6eaa2e05d6
Fix types 2024-11-01 20:14:33 +01:00
Arnaud
8a4ee9855f
Add metadata for upload 2024-11-01 18:02:05 +01:00
Arnaud
96d6195f8d
Fix query parameters for connect 2024-10-31 09:27:33 +01:00
Arnaud
d219976412
Return the Response object for download 2024-10-25 11:36:51 +02:00
Arnaud
c477f793cb
Add networkDownloadStream method 2024-10-25 11:10:13 +02:00
Arnaud
342cfc469a
Update the network download method to POST and return value 2024-10-25 10:37:34 +02:00
Arnaud
b059830cec
Add fetchManifest api 2024-10-23 16:53:40 +02:00
Arnaud
9decfba74d
Complete debug info types 2024-10-11 17:52:50 +02:00
Arnaud
53d5f8efa2
Fix bug when trying to get the text response on failure 2024-10-07 13:14:49 +02:00
Arnaud
49f82f49bc
Make CodexError extends Error 2024-09-27 17:35:50 +02:00
Arnaud
dd116dc571
Remove useless promise 2024-09-26 17:04:04 +02:00
Arnaud
d75ef63b42
Update availability endpoints 2024-09-20 10:50:35 +02:00
Arnaud
68dec65501
Remove faker-js 2024-09-16 14:46:06 +02:00
Arnaud
711c4d6951
Fix spr endpoint 2024-09-13 22:30:37 +02:00
Arnaud
e943a2ffa9
Re enable test in debug 2024-09-13 20:45:30 +02:00
Arnaud
73b395f714
Remove unused import 2024-09-13 20:02:26 +02:00
Arnaud
72ca34ffbe
Fix tests 2024-09-13 20:01:05 +02:00
Arnaud
85841b2975
Fix testing 2024-09-13 19:45:59 +02:00
Arnaud
83c2e142e8
Sync api (#4)
* Add sync api

* Update testing

* Fix types
2024-09-13 19:19:56 +02:00
Arnaud
fca1bd7259
Fix documentation and types 2024-08-30 12:24:00 +02:00
Arnaud
19d798e7dc
Fix minor issues 2024-08-29 19:41:28 +02:00
Arnaud
5d7b0f823f
Use fake metadata while the metadata are added to the manifest 2024-08-15 12:11:18 +02:00
Arnaud
f1298df45d
Return the plaintext ID response from the API instead of parsing to JSON 2024-08-15 12:11:18 +02:00
Arnaud
834e5bd163
Send the file directly without splitting it into chunks in order to let the HTTP protocol handle the file itself. 2024-08-15 12:11:18 +02:00
Arnaud
f5dd224479
Add data and marketplace API endpoints 2024-08-15 12:11:17 +02:00
Arnaud
945582bf57
Simplify the codex error type 2024-08-15 12:11:17 +02:00
Arnaud
5e36ffb443
Apply prettier format 2024-08-15 12:11:17 +02:00
Arnaud
ddb98b794a
Setup tree shaking 2024-08-15 12:11:17 +02:00
Arnaud
7c40e4af5f
Drastically reduce the bundle size by replacing Typebox with Valibot. 2024-08-15 12:11:16 +02:00