Commit Graph

68 Commits

Author SHA1 Message Date
Derrick Hammer 645df0c8d0
feat: add pin and unpin api 2024-03-22 18:11:17 -04:00
Derrick Hammer b6f335bc09
refactor: switch to using abort controller, and allow signal to be overridden 2024-03-21 16:04:20 -04:00
Derrick Hammer 6bdc43dd85
feat: add httpConfig to CustomClientOptions and allow it to override anything via optionsToConfig 2024-03-21 16:01:10 -04:00
Derrick Hammer c1b55c5d98
fix: remove more S5Client param references 2024-03-21 15:15:08 -04:00
Derrick Hammer 300f6876c6
fix: don't use hash imports 2024-03-21 13:18:29 -04:00
Derrick Hammer a2bdba0599
fix: @noble/curves imports 2024-03-21 13:13:54 -04:00
Derrick Hammer 6a02b9f256
fix: remove hash imports 2024-03-21 13:07:52 -04:00
Derrick Hammer f31b343aa0
fix: don't use hash import 2024-03-21 12:19:43 -04:00
Derrick Hammer 5bee4f9e8c
chore: unused opts 2024-03-21 12:09:38 -04:00
Derrick Hammer 86ce3874ec
refactor: remove S5Client from parameters 2024-03-21 12:08:41 -04:00
Derrick Hammer f2d4a146c5
refactor: add CancelablePromise sub-type so we can call promise.cancel 2024-03-21 11:36:32 -04:00
Derrick Hammer 4561e06b61
refactor: throw a custom S5Error 2024-03-21 10:47:14 -04:00
Derrick Hammer dfe79e2fc2
refactor: merge all methods into a single class definition 2024-03-21 10:22:50 -04:00
Derrick Hammer da7c405905
style: prettier 2024-03-18 18:40:26 -04:00
Derrick Hammer 560c7c374e
fix: export HashProgressEvent 2024-03-18 18:40:08 -04:00
Derrick Hammer 268df87b63
feat: add onHashProgress 2024-03-18 18:29:46 -04:00
Derrick Hammer 8846a23b8a
fix: cid is lowercase 2024-03-18 14:29:30 -04:00
Derrick Hammer 8e368e4e0c
fix: dont use hash imports 2024-03-18 11:16:40 -04:00
Derrick Hammer 61c9ef880a
fix: dont use hash imports 2024-03-18 11:10:20 -04:00
Derrick Hammer faf7492ff8
fix: dont use hash imports 2024-03-18 11:02:30 -04:00
Derrick Hammer 457c8081a3
fix: dont use hash imports 2024-03-18 10:59:49 -04:00
Derrick Hammer 07048c526b
fix: update imports 2024-03-18 09:21:05 -04:00
Derrick Hammer c34a6ef094
fix: export CustomClientOptions 2024-03-18 09:18:59 -04:00
Derrick Hammer eb242bd3c7
feat: add clientOptions setter 2024-03-18 09:14:44 -04:00
Derrick Hammer 1eb9ebbdf8
refactor: rename customOptions to clientOptions 2024-03-18 09:14:34 -04:00
Derrick Hammer 5bc2915655
style: prettier 2024-03-18 09:10:07 -04:00
Derrick Hammer 7bc48484a2
refactor: rewrite header handling, lowercase apiKey, and cleanup 2024-03-18 09:09:20 -04:00
Derrick Hammer ba370250a2
refactor: split off tus upload to getTusOptions so it can be reusable to external libraries 2024-03-17 14:32:59 -04:00
Derrick Hammer 0dd72358da
feat: add onUploadProgress to CustomUploadOptions 2024-03-17 13:33:37 -04:00
Derrick Hammer 64a453923a
refactor: use full mime lib 2024-03-16 12:03:42 -04:00
Derrick Hammer 83b7d78af1
feat: add account pins api 2024-03-16 11:44:32 -04:00
Derrick Hammer e9f4b03979
fix: add download methods to client 2024-02-13 00:30:13 -05:00
Derrick Hammer 9510735005
chore: remove subdomain 2024-02-13 00:28:04 -05:00
Derrick Hammer 853db73634
feat: add downloadBlob method 2024-02-13 00:27:33 -05:00
Derrick Hammer 3c9022d8c7
fix: dont pass responseType, as we want a blob 2024-02-13 00:25:47 -05:00
Derrick Hammer bc6d545501
fix: use DEFAULT_DOWNLOAD_OPTIONS 2024-02-13 00:09:52 -05:00
Derrick Hammer 39ccac179d
feat: add downloadProof method 2024-02-13 00:08:42 -05:00
Derrick Hammer 8e172ebef9
fix: append auth token to url 2024-02-13 00:01:34 -05:00
Derrick Hammer 10e41875e6
refactor: major refactor to use openapi via orval 2024-02-12 23:25:48 -05:00
Derrick Hammer d1ce4a1ae0
fix: set binaryType 2024-01-10 03:18:32 -05:00
Derrick Hammer c4c0a947a9
fix: use addEventListener, on is not available in all environments 2024-01-10 02:54:20 -05:00
Derrick Hammer d78ad5eb29
fix: use on, once is not available in all environments 2023-12-28 03:04:24 -05:00
Derrick Hammer bb7c7dcece
fix: ensure we are using a ws protocol 2023-12-18 01:21:13 -05:00
Derrick Hammer fcdd42f2a3
fix: return GetMetadataResponse 2023-12-17 17:13:18 -05:00
Derrick Hammer bf230478b7
fix: need to pass endpointPath 2023-12-17 17:04:29 -05:00
Derrick Hammer 389a15eef4
fix: on existing entry, need to update the entry data 2023-12-17 16:55:35 -05:00
Derrick Hammer c61f2f6127
refactor: use a custom instance od axios per client 2023-12-17 16:50:02 -05:00
Derrick Hammer e4dc098547
fix: ensure we prefix the CID ed22519 type to the registry pubkey 2023-12-12 16:32:05 -05:00
Derrick Hammer 6388669ca8
refactor: bug fixes and return early if the entry is the same 2023-12-12 16:12:34 -05:00
Derrick Hammer 820cc5bd89
fix: need to pass as query, not data 2023-12-12 16:05:19 -05:00