Commit Graph
606 Commits
Author SHA1 Message Date
fiatjaf e30e08d8e2 update relay on nip11 test. 2024-03-16 13:45:57 -03:00
Sepehr SafariandGitHub 59426d9f35 Nip58 Implementation (#386)
* implement nip58

* add tests for nip58

* export nip58

* bump version
2024-03-16 13:44:56 -03:00
fiatjaf 5429142858 v2.3.2 v2.3.2 2024-03-16 13:41:10 -03:00
fiatjaf 564c9bca17 don't try to send a ["CLOSE"] after the websocket is closed.
addresses https://github.com/nbd-wtf/nostr-tools/pull/387
2024-03-16 13:40:02 -03:00
fiatjaf 0190ae94a7 Revert "fix: error thrown on ws close"
This reverts commit e1bde08ff3.
2024-03-16 13:32:33 -03:00
Jeffrey Koandfiatjaf_ e1bde08ff3 fix: error thrown on ws close 2024-03-16 13:29:24 -03:00
Alex Gleasonandfiatjaf_ 71456feb20 jsr: explicit exports 2024-03-13 00:17:07 -03:00
Alex Gleason ca928c697b publish: --allow-slow-types for now 2024-03-11 15:15:41 -05:00
Alex GleasonandGitHub 7b98cae7fa Merge pull request #382 from alexgleason/bundle-resolution
tsconfig: moduleResolution Bundler
2024-03-11 14:47:27 -05:00
Alex Gleason db53f37161 tsconfig: moduleResolution Bundler 2024-03-11 14:22:11 -05:00
Alex GleasonandGitHub 1691f0b51d Merge pull request #381 from nbd-wtf/alexgleason-patch-1
publish: bun i
2024-03-11 13:00:14 -05:00
Alex GleasonandGitHub 3b582a0206 publish: bun i 2024-03-11 12:59:36 -05:00
Alex Gleasonandfiatjaf_ 8ed2c13c28 Publish to JSR with GitHub actions 2024-03-11 14:20:19 -03:00
Alex Gleasonandfiatjaf_ 27a536f41d NIP44: fix slow types 2024-03-11 14:18:51 -03:00
Alex Gleasonandfiatjaf_ fbc82d0b73 Prepare for JSR publishing 2024-03-07 07:26:16 -03:00
Alex Gleasonandfiatjaf_ 9c0ade1329 Fix (most) slow types by adding explicit return types 2024-03-07 07:22:44 -03:00
fiatjaf 63ccc8b4c8 v2.3.1 v2.3.1 2024-02-19 18:54:40 -03:00
fiatjaf 7cf7df88db nip46: skip duplicates on fetchBunkerProviders (prev fetchCustodialBunkers). 2024-02-19 18:54:18 -03:00
fiatjaf bded539122 nip46: fix messages being ignored after auth_url. 2024-02-19 18:53:48 -03:00
fiatjaf 3647bbd68a get rid of the last vestiges of webcrypto dependencies. 2024-02-17 18:29:01 -03:00
fiatjaf fb085ffdf7 v2.3.0 v2.3.0 2024-02-17 18:19:52 -03:00
fiatjaf 280d483ef4 adjust expected value in nip11 test. 2024-02-17 18:19:09 -03:00
fiatjaf 54b55b98f1 nip44: get rid of ensureBytes() since it was removed from upstream library. 2024-02-17 18:18:24 -03:00
fiatjaf 84f9881812 use @noble/ciphers instead of webcrypto on nip04. 2024-02-17 18:15:42 -03:00
fiatjaf db6baf2e6b bump to v2.2.1 v2.2.1 2024-02-16 07:43:38 -03:00
fiatjaf bb1e6f4356 nip46: only handle the first auth_url for every command. 2024-02-16 07:43:20 -03:00
fiatjaf 5626d3048b nip46: remove NostrConnectAdmin wrong kind. 2024-02-16 07:40:21 -03:00
fiatjaf 058d0276e2 nip49: nfkc normalization. v2.2.0 2024-02-16 00:13:58 -03:00
Sepehr Safariandfiatjaf_ 37b046c047 bump to v2.2.0 2024-02-14 19:48:07 -03:00
Sepehr Safariandfiatjaf_ 846654b449 add exports/nip75 to package.json 2024-02-14 19:48:07 -03:00
Sepehr Safariandfiatjaf_ b676dc0987 add tests for nip75 2024-02-14 19:48:07 -03:00
Sepehr Safariandfiatjaf_ b1ce901555 implement nip75 handlers 2024-02-14 19:48:07 -03:00
fiatjaf 62e5730965 call useWebSocketImplementation() on relay and pool tests. 2024-02-14 13:26:38 -03:00
fiatjaf 01f13292bb useWebSocketImplementation() on relay.ts v2.1.9 2024-02-14 13:19:48 -03:00
fiatjaf 7b0458db72 make the examples on the readme use the new import method. 2024-02-14 13:17:59 -03:00
fiatjaf 3aab7121f7 use a public BunkerPointer property on BunkerSigner class. 2024-02-14 12:29:47 -03:00
fiatjaf ce059d4608 bump to v2.1.8 v2.1.8 2024-02-14 12:25:22 -03:00
fiatjaf b72b0dc1f0 nip46: fix typo in fetchCustodialBunkers() function name. 2024-02-14 12:24:47 -03:00
fiatjaf 29e5b71473 nip46: implement the remaining methods. 2024-02-14 12:24:33 -03:00
fiatjaf b4e54d679f nip46: fix checking event that comes from bunker call sign_event and bump version. v2.1.7 2024-02-12 16:06:20 -03:00
fiatjaf 9d78c90a79 nip46: fix bunker url parsing. 2024-02-12 15:32:50 -03:00
fiatjaf 566a2deea3 nip46: omit custodial bunker providers that don't have relays configured. 2024-02-12 09:04:31 -03:00
fiatjaf 177e673d83 nip46: params for createAccount that get passed into BunkerSigner. 2024-02-12 09:04:06 -03:00
fiatjaf cf766cd835 nip05: fix regex group 2 matching. 2024-02-12 07:41:44 -03:00
fiatjaf 7d332605ee nip46: tweaks. 2024-02-12 00:28:48 -03:00
fiatjaf 72f9b482ef nip46: NostrConnectAdmin kind and handle "auth_url". 2024-02-12 00:28:36 -03:00
fiatjaf d14830a8ff nip46 big implementation adapted from ignition. 2024-02-11 19:14:04 -03:00
fiatjaf 943cc4fb48 nip46 beginnings. 2024-02-11 08:32:08 -03:00
fiatjaf 04252aaaec nip05: improve regex. 2024-02-11 07:48:13 -03:00
Shusui MOYATANIandfiatjaf_ 8c78649d5c ignore HTTP redirect in nip05 2024-02-09 12:00:10 -03:00