Commit Graph

14 Commits

Author SHA1 Message Date
fiatjaf ae2f97655b remove two deprecated things. 2025-05-31 20:04:46 -03:00
Asai Toshiya fcf10541c8 rename "parameterized replaceable" to "addressable". 2025-01-23 14:08:22 -03:00
António Conselheiro aba266b8e6
Suggestion: export kinds as named types (#447)
* including kinds for nip17 and nip59

* including kinds as types

* solving linter with prettier
2024-10-23 10:39:39 -03:00
ciegovolador 1d89038375
add nip59 (#438)
* feat(nip59) add nip59 based on https://nips.nostr.com/59

* fix(nip59) export the code as nip59

* Update nip59.ts

Co-authored-by: Asai Toshiya <to.asai.60@gmail.com>

* fix(nip59) change GiftWrap kind and using kinds from kinds.ts

---------

Co-authored-by: Asai Toshiya <to.asai.60@gmail.com>
2024-10-17 09:38:04 -03:00
António Conselheiro a61cde77ea
Kinds from nip17 nip59 (#434) 2024-09-20 17:05:52 -03:00
fiatjaf 45b25c5bf5 nip19/nip49: remove nrelay and move bech32 string guard methods from core to nip19. 2024-09-09 14:20:35 -03:00
Alex Gleason 9c0ade1329 Fix (most) slow types by adding explicit return types 2024-03-07 07:22:44 -03:00
fiatjaf 5626d3048b
nip46: remove NostrConnectAdmin wrong kind. 2024-02-16 07:40:21 -03:00
fiatjaf 72f9b482ef nip46: NostrConnectAdmin kind and handle "auth_url". 2024-02-12 00:28:36 -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
Akiomi Kamakura f1d315632c Sort kinds 2024-01-08 13:50:36 -03:00
fiatjaf 6a07e7c1cc
remove the kind type parameter from events and filters. 2023-12-16 10:10:37 -03:00
fiatjaf 1939c46eaa
turn kinds enum into simple constants in kinds.ts, bring more kind numbers from the nips readme. 2023-12-16 09:27:59 -03:00
Alex Gleason 837a05e54d Add kinds module to classify events by kind 2023-08-26 22:26:04 -03:00