Commit Graph

159 Commits

Author SHA1 Message Date
Derrick Hammer 6ba0e4af07
fix: pass file directly, not as a json payload 2024-03-27 23:40:45 -04:00
Derrick Hammer 17c3addeb2
fix: reverse array before popping to get the 1st element 2024-03-26 23:48:44 -04:00
Derrick Hammer a91b58924b
fix: ensure we don't have a nested array-like object with the data 2024-03-26 11:45:37 -04:00
Derrick Hammer f85bd2b728
fix: don't use hash import 2024-03-22 18:36:08 -04:00
Derrick Hammer f77af25b84
feat: add pinStatus api 2024-03-22 18:12:07 -04:00
Derrick Hammer 645df0c8d0
feat: add pin and unpin api 2024-03-22 18:11:17 -04:00
Derrick Hammer fb8a1b3c7d
core: update swagger.yaml 2024-03-22 18:02:56 -04:00
Derrick Hammer afb3d7fa3d
core: update swagger.yaml 2024-03-21 16:29:13 -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 a53e54049d
dep: update libs5 2024-03-21 12:54:34 -04:00
Derrick Hammer c32edef621
core: update swagger.yaml 2024-03-21 12:36:58 -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 0f6495afa8
fix: set hash and mime_type as required 2024-03-21 11:01:47 -04:00
Derrick Hammer dabaaf3ced
fix: set pins as required 2024-03-21 10:55:21 -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 a9cd7c54a9
dep: update @lumeweb/libs5 2024-03-18 18:03:29 -04:00
Derrick Hammer 2b2b846c45
dep: update @lumeweb/libs5 2024-03-18 17:58:39 -04:00
Derrick Hammer 8846a23b8a
fix: cid is lowercase 2024-03-18 14:29:30 -04:00
Derrick Hammer 2ee6124637
chore: update swagger.yaml 2024-03-18 14:28:16 -04:00
Derrick Hammer e86187ac77
dep: update 2024-03-18 11:34:11 -04:00
Derrick Hammer c157999fd3
fix: need to patch tsc-alias 2024-03-18 11:32:58 -04:00
Derrick Hammer b33c856654
dep: add patch-package 2024-03-18 11:32:42 -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 12dd703bdb
dep: add url-parse 2024-03-18 11:00:01 -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 b4d1e0ec67
dep: add p-defer 2024-03-17 14:04:11 -04:00
Derrick Hammer 0dd72358da
feat: add onUploadProgress to CustomUploadOptions 2024-03-17 13:33:37 -04:00
Derrick Hammer b1179a868f
ci: add changesets 2024-03-16 12:06:21 -04:00
Derrick Hammer 64a453923a
refactor: use full mime lib 2024-03-16 12:03:42 -04:00