Commit Graph

7 Commits

Author SHA1 Message Date
Sam Samskies 76d3a91600 authorization should not be in the form data 2024-08-08 12:00:58 -03:00
Shusui MOYATANI a87099fa5c remove Content-Type header from NIP-96 uploadFile 2024-07-20 09:44:45 -03:00
Alex Gleason ad07d260ab
Add missing file extensions to imports 2024-03-18 11:51:00 -05:00
fiatjaf 3647bbd68a
get rid of the last vestiges of webcrypto dependencies. 2024-02-17 18:29:01 -03:00
Sepehr Safari 7ec6d127b0 fix unexpected errors 2024-01-28 06:45:37 -03:00
fiatjaf 16cdf40112
nip96: type fix. 2024-01-24 12:04:54 -03:00
Sepehr Safari 0f5b3f397c
Nip96 implementation (#360)
* add nip96 kind 10096 file server preference

* implement nip96

* refactor nip96 and liftup all type definitions

* install nock as devDep

* fix nip96 throwing errors

* add tests for nip96

* revert installing nock and install msw for mocking apis

* fix trailing slashes in nip96 file deletion

* implement msw in nip96 and add more test cases

* fix fetching server config

* enhance error handling in uploadFile

* add more test cases with mock apis

* add more test cases to reach 90 percent coverage
2024-01-24 09:24:47 -03:00