Commit Graph

791 Commits

Author SHA1 Message Date
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
Alex Gleason 387ce2c335
publish: --allow-dirty ¯\_(ツ)_/¯ 2024-03-18 11:35:27 -05:00
Alex Gleason b62b8f88af
jsr: bump version to v2.3.2 2024-03-18 11:32:33 -05:00
Alex Gleason 6b43533f2e
tsconfig: moduleResolution NodeNext 2024-03-18 11:32:04 -05:00
fiatjaf e30e08d8e2 update relay on nip11 test. 2024-03-16 13:45:57 -03:00
Sepehr Safari 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 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 Ko e1bde08ff3 fix: error thrown on ws close 2024-03-16 13:29:24 -03:00
Alex Gleason 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 Gleason 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 Gleason 1691f0b51d
Merge pull request #381 from nbd-wtf/alexgleason-patch-1
publish: bun i
2024-03-11 13:00:14 -05:00
Alex Gleason 3b582a0206
publish: bun i 2024-03-11 12:59:36 -05:00
Alex Gleason 8ed2c13c28 Publish to JSR with GitHub actions 2024-03-11 14:20:19 -03:00
Alex Gleason 27a536f41d NIP44: fix slow types 2024-03-11 14:18:51 -03:00
Alex Gleason fbc82d0b73 Prepare for JSR publishing 2024-03-07 07:26:16 -03:00