Commit Graph

48 Commits

Author SHA1 Message Date
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
Derrick Hammer e24d352d4e
fix: use get not post 2023-12-12 15:53:55 -05:00
Derrick Hammer aea236067e
feat: add getEntry and update createEntry to use it 2023-12-12 15:48:13 -05:00
Derrick Hammer eb3f2ee5c9
fix: need to use toRegistryEntry 2023-12-12 14:53:34 -05:00
Derrick Hammer 502c8fb079
fix: need to strip off multiformats prefix 2023-12-12 14:40:53 -05:00
Derrick Hammer 74407cf9a1
fix: Revert "fix: use base64urlpad"
This reverts commit ce47696d90.
2023-12-12 14:34:19 -05:00
Derrick Hammer ce47696d90
fix: use base64urlpad 2023-12-11 23:46:41 -05:00
Derrick Hammer 27c4e94072
refactor: createEntry should return SignedRegistryEntry 2023-12-11 22:55:02 -05:00
Derrick Hammer 83143dc960
refactor: return CID object not CID string 2023-12-11 22:49:07 -05:00
Derrick Hammer 02eefe442c
feat: add createEntry 2023-12-11 22:44:43 -05:00
Derrick Hammer 5c19245b4b
feat: add publishEntry 2023-12-11 22:26:42 -05:00
Derrick Hammer 28d7c30225
feat: add uploadWebapp 2023-12-11 21:53:10 -05:00
Derrick Hammer 50ed08ac6a
feat: add downloadData method 2023-12-10 23:33:55 -05:00
Derrick Hammer 672b462bbe
feat: add subscribeToEntry 2023-12-10 21:06:43 -05:00
Derrick Hammer 41274582b9
refactor: move upload and download to methods folder 2023-12-10 20:05:57 -05:00
Derrick Hammer 395b8a6ca7
fix: import js 2023-12-10 15:29:43 -05:00
Derrick Hammer 80d5d2d027
fix: import js 2023-12-10 15:27:24 -05:00
Derrick Hammer 2752499444
fix: import js files not ts 2023-12-10 15:22:21 -05:00
Derrick Hammer b3671237b9
feat: initial version 2023-12-10 15:16:45 -05:00