mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 08:38:50 +00:00
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
This commit is contained in:
@@ -213,6 +213,7 @@
|
||||
"events": "^3.3.0",
|
||||
"mitata": "^0.1.6",
|
||||
"mock-socket": "^9.3.1",
|
||||
"msw": "^2.1.4",
|
||||
"node-fetch": "^2.6.9",
|
||||
"prettier": "^3.0.3",
|
||||
"tsd": "^0.22.0",
|
||||
|
||||
Reference in New Issue
Block a user