Commit Graph

141 Commits

Author SHA1 Message Date
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
Derrick Hammer f22a7ba511
dep: update mime 2024-03-16 12:03:17 -04:00
Derrick Hammer 54ca99d8d1
build: change compilerOptions.module to ESNext 2024-03-16 11:49:15 -04:00
Derrick Hammer 83b7d78af1
feat: add account pins api 2024-03-16 11:44:32 -04:00
Derrick Hammer 7cdcfe3b3e
chore: update swagger.yaml 2024-03-16 11:38:04 -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 dd98f51f4b
Merge remote-tracking branch 'origin/develop' into develop 2024-02-12 19:53:39 -05:00
Derrick Hammer 109278021d
ci: remove semantic-release and github actions 2024-02-12 19:53:00 -05:00
semantic-release-bot 89cf5b398c chore(release): 0.1.0-develop.29 [skip ci]
# [0.1.0-develop.29](https://git.lumeweb.com/LumeWeb/s5-js/compare/v0.1.0-develop.28...v0.1.0-develop.29) (2024-01-10)

### Bug Fixes

* set binaryType ([d1ce4a1](d1ce4a1ae0))
2024-01-10 08:19:17 +00:00
Derrick Hammer 8be4e311fd
Merge remote-tracking branch 'origin/develop' into develop 2024-01-10 03:18:36 -05:00
Derrick Hammer d1ce4a1ae0
fix: set binaryType 2024-01-10 03:18:32 -05:00
semantic-release-bot 42cbb29692 chore(release): 0.1.0-develop.28 [skip ci]
# [0.1.0-develop.28](https://git.lumeweb.com/LumeWeb/s5-js/compare/v0.1.0-develop.27...v0.1.0-develop.28) (2024-01-10)

### Bug Fixes

* use addEventListener, on is not available in all environments ([c4c0a94](c4c0a947a9))
2024-01-10 07:55:18 +00:00