Commit Graph

759 Commits

Author SHA1 Message Date
Alex Gleason 9c009ac543 getFilterLimit: handle parameterized replaceable events 2024-07-20 22:00:28 -03:00
Shusui MOYATANI a87099fa5c remove Content-Type header from NIP-96 uploadFile 2024-07-20 09:44:45 -03:00
António Conselheiro 475a22a95f
methods for abstract pool (#419)
* include method to list current pool relays connections and to close all connections

* fix prettier
2024-07-18 13:33:29 -03:00
fiatjaf 54e352d8e2 tag v2.7.1 2024-07-09 07:59:04 -03:00
António Conselheiro 235a1c50cb making AbstractSimplesPool more extendable 2024-07-08 23:49:46 -03:00
António Conselheiro dfc2107569 fix typo and include missing attributes for nip11 and they docs 2024-07-07 21:14:52 -03:00
Shusui MOYATANI 986b9d0cce support fallback tag in NIP-94 2024-07-04 15:07:37 -03:00
fiatjaf 753ff323ea specify websocket error as close reason when no message is available.
fixes https://github.com/nbd-wtf/nostr-tools/issues/411
2024-06-06 15:32:27 -03:00
Alex Gleason f8c3e20f3d getFilterLimit: empty tags return 0 2024-05-30 16:32:55 -03:00
fiatjaf 87a91c2daf fix useWebSocketImplementation so it works with pool on nodejs esm. 2024-05-29 13:39:00 -03:00
Anderson Juhasc 4f1dc9ef1c fixing formatting with Prettier 2024-05-27 10:44:44 -03:00
Anderson Juhasc faa1a9d556 adding nip06 examples to the README 2024-05-27 10:44:44 -03:00
Anderson Juhasc 97d838f254 white spaces removed 2024-05-27 10:44:44 -03:00
Don 260400b24d fix typo in nip07.ts 2024-05-27 10:42:35 -03:00
fiatjaf 6e5ab34a54 tag v2.6.0 2024-05-26 12:04:48 -03:00
fiatjaf 9562c408b3 never import anything from index.ts in submodules. 2024-05-26 12:04:48 -03:00
fiatjaf 4f4de458e9 rename Nip07 to WindowNostr. 2024-05-26 12:00:42 -03:00
António Conselheiro 88454de628
including interface for nip07 (#403)
* including interface for nip07

* fix types for NIP-07

* including NIP-07 export to jsr

* fix readme about nip07

* including in nip7 interface an output signature compatible with the event returned by the signer
2024-05-26 11:58:12 -03:00
Anderson Juhasc 9f5984d78d added functions accountFromSeedWords, extendedKeysFromSeedWords and accountFromExtendedKey to nip06 2024-05-26 08:21:07 -03:00
António Conselheiro 80df21d47f reviewing just installation in devcontainer 2024-05-25 07:28:49 -03:00
António Conselheiro 296e99d2a4 config devcontainer 2024-05-25 07:28:49 -03:00
fiatjaf 1cd9847ad5 filter: fix tests (remove prefix tests). 2024-05-19 14:58:38 -03:00
fiatjaf fa31fdca78 nip46: try to decrypt with nip44 if nip04 fails. 2024-05-19 14:51:39 -03:00
fiatjaf 5876acd67a nip44: make the api less classy. 2024-05-19 14:40:23 -03:00
fiatjaf 44efd49bc0 filter: stop matching against id and pubkey prefixes. 2024-05-19 14:26:42 -03:00
fiatjaf f4f9bece6e tag v2.5.2 2024-05-02 11:38:20 -03:00
hzrd149 e217f751da fix count request in anstract relay 2024-05-02 11:37:50 -03:00
fiatjaf d0ae8b36a2 tag v2.5.1 2024-04-24 17:47:45 -03:00
fiatjaf fd945757be accept localSecretKey as a parameter on nip46.createAccount()
fixes https://github.com/nbd-wtf/nostr-tools/issues/401
2024-04-24 10:12:33 -03:00
Daniele Tonon c12ddd3c53 Add hyphen to BUNKER_REGEX 2024-04-20 16:16:13 -03:00
fiatjaf 1e9f828e3e tag 2.5.0 2024-04-12 21:51:09 -03:00
fiatjaf 0a5eaac088 pool.subscribeManyMap() 2024-04-12 21:50:26 -03:00
Alex Gleason e858698cb9 Add stable sortEvents function 2024-04-12 21:20:06 -03:00
Alex Gleason b349ee577d
Merge pull request #392 from verbiricha/patch-1
fix typos in README
2024-04-12 17:57:49 -05:00
Alex Gleason 849a2ac3f3
Merge pull request #397 from alexgleason/pure-test
core.test.ts -> pure.test.ts
2024-04-12 17:48:09 -05:00
Alex Gleason c18b94677c
core.test.ts -> pure.test.ts 2024-04-12 17:44:36 -05:00
franzap f306cec716 querySync does not take an array 2024-04-08 08:38:06 -03:00
fiatjaf 5c7e9c8f36 tag 2.4.0 2024-04-05 07:22:56 -03:00
fiatjaf 1d7620a057 temporary _onauth handler until we figure stuff out. 2024-04-05 07:22:17 -03:00
Alejandro 88247e56c1
fix typos in README 2024-03-27 18:58:23 +01:00
Nostr.Band e5cda3509c Fix pubkey param to nip46 connect
NIP46 requires remote_user_pubkey as first param to connect.
2024-03-27 08:09:13 -03:00
abhay-raizada 02da1dc036 Readme: Instructions to convert sk to hex 2024-03-23 10:39:25 -03:00
Alex Gleason 7aed747bb2
Remove GitHub actions flow for publishing to JSR because it's not working 2024-03-18 13:23:29 -05:00
Alex Gleason 747a7944d7
Wasm: add explicit type to `i` 2024-03-18 13:04:21 -05:00
Alex Gleason 9f8b7274b3
Revert "tsconfig: for sanity, go back to moduleResolution bundler and see if that fixes it"
This reverts commit ee565db7f5.
2024-03-18 13:02:35 -05:00
Alex Gleason ee565db7f5
tsconfig: for sanity, go back to moduleResolution bundler and see if that fixes it 2024-03-18 13:00:56 -05:00
Alex Gleason e9ee8258e7
tsconfig: module NodeNext 2024-03-18 11:54:38 -05:00
Alex Gleason ad07d260ab
Add missing file extensions to imports 2024-03-18 11:51:00 -05:00
Alex Gleason 632184afb8
publish: npm install -g jsr 2024-03-18 11:45:11 -05:00
Alex Gleason d7d5d30f41
publish: try bunx instead of npx 2024-03-18 11:40:47 -05:00