mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-13 10:28:51 +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:
1
kinds.ts
1
kinds.ts
@@ -71,6 +71,7 @@ export const BlockedRelaysList = 10006
|
||||
export const SearchRelaysList = 10007
|
||||
export const InterestsList = 10015
|
||||
export const UserEmojiList = 10030
|
||||
export const FileServerPreference = 10096
|
||||
export const NWCWalletInfo = 13194
|
||||
export const LightningPubRPC = 21000
|
||||
export const ClientAuth = 22242
|
||||
|
||||
Reference in New Issue
Block a user