Commit Graph

  • 3d767beeb9 NIP-06: Support multiple account private keys derived from seed words (#219) futpib 2023-12-16 17:15:37 +04:00
  • 36e0de2a68 Add NIP-30 module for custom emojis Alex Gleason 2023-07-06 13:08:38 -05:00
  • 9cd4f16e45 nip11 - Types, requestRelayInfos() and tests Giacomo Gagliano 2023-07-10 17:24:19 +02:00
  • 6a07e7c1cc remove the kind type parameter from events and filters. fiatjaf 2023-12-16 10:10:37 -03:00
  • 1939c46eaa turn kinds enum into simple constants in kinds.ts, bring more kind numbers from the nips readme. fiatjaf 2023-12-16 09:27:59 -03:00
  • 93538d2373 update dependencies. fiatjaf 2023-12-16 08:51:43 -03:00
  • 19b3faea17 fix nip05 test. fiatjaf 2023-12-16 08:51:33 -03:00
  • 867aa11d12 remove all the NIP-26 stuff. fiatjaf 2023-12-13 15:24:57 -03:00
  • 4fcf925387 nip04: augment tests with cross-compatibility vectors. fiatjaf 2023-12-02 13:13:16 -03:00
  • 40c5337ef0 Update @noble/curves to 1.2.0 Yijia Su 2023-11-29 01:15:51 +08:00
  • 350d8ec3b6 remove nip06 from main export bundle. fiatjaf 2023-11-13 17:35:32 -03:00
  • c5f3c8052e update to test for body payload and payload hash Josh Remaley 2023-11-13 08:26:22 -06:00
  • dc04d1eb85 update to support body payload and hash Josh Remaley 2023-11-13 08:26:04 -06:00
  • 2fccf0ae48 Update event.ts kind-as-number Alex Gleason 2023-11-06 08:23:35 +09:00
  • 842cba25f3 turn Kind enum into a simple object with numbers. fiatjaf 2023-10-30 08:03:42 -03:00
  • a2a15567b7 clean up test with a minor refactor to delete the ts-ignore William Connatser 2023-10-23 20:19:47 -05:00
  • 318e3f8c88 we don't have to bump to 2.0.0 since this will not break backwards-compatibility. v1.17.0 fiatjaf 2023-10-15 17:58:42 -03:00
  • 894ffff1f0 prefix exported modules with ./ (esbuild requires this apparently). fiatjaf 2023-10-14 07:57:30 -03:00
  • ce11a5fc89 Organize build, allow one entrypoint per file (#305) franzap 2023-10-01 21:20:53 +00:00
  • 5e85bbc2ed Fix nip44 vectors (#308) Paul Miller 2023-09-30 23:46:45 +02:00
  • eb0a9093f2 Implement NIP-44: secure versioned replacement for NIP4 (#221) Paul Miller 2023-09-30 01:43:48 +02:00
  • b7b0817a40 tag v1.16.0 v1.16.0 fiatjaf 2023-09-26 12:21:02 -03:00
  • c73268c4e2 Add kind to nevent decode and encode (#304) Sherry 2023-09-26 23:20:17 +08:00
  • 6874f58c0a apply prettier. fiatjaf 2023-09-26 12:19:01 -03:00
  • e899cc32b7 edit batchedList and add mergeFilters to it Sepehr Safari 2023-09-25 00:31:55 +03:30
  • de72172583 add helper functions for nip-47 Sam Samskies 2023-08-09 18:39:30 -05:00
  • 073dcaafd6 Update README.md Sepehr Safari 2023-09-15 22:43:58 +03:30
  • 8e932f0c5a Merge pull request #295 from AsaiToshiya/patch-1 Alex Gleason 2023-09-10 22:59:46 -05:00
  • f9a048679f Improve example for finishEvent Asai Toshiya 2023-09-11 12:53:25 +09:00
  • 6db8b94275 nip13: add minePow function Alex Gleason 2023-09-10 13:40:57 -05:00
  • 13bc2ad5a8 trick typescript into accepting our types. v1.15.0 fiatjaf 2023-09-10 15:44:16 -03:00
  • 55f032d0a4 tag v1.15.0 fiatjaf 2023-09-10 15:16:04 -03:00
  • c890e29290 nip13: use a simpler implementation Alex Gleason 2023-09-10 10:51:50 -05:00
  • c18f050468 relay: sub.events async iterator Alex Gleason 2023-09-09 14:57:49 -05:00
  • 401b9c7864 Make TypeScript >= 5.0.0 an optional peer dependency Alex Gleason 2023-09-03 13:57:08 -05:00
  • c175f6c804 Merge pull request #289 from alexgleason/verified fiatjaf_ 2023-09-03 15:47:50 -03:00
  • 41265a19f5 event.test: tamper with things in a more evil way Alex Gleason 2023-09-03 12:12:42 -05:00
  • d88761907a verifySignature: set verifiedSymbol to false on failure, DRY return values Alex Gleason 2023-09-02 18:08:09 -05:00
  • 8325d4351e just format Alex Gleason 2023-09-02 17:40:00 -05:00
  • 62bf592d72 finishEvent: return a VerifiedEvent Alex Gleason 2023-09-02 17:36:53 -05:00
  • 54f3bedf38 verifySignature: return false if the id is invalid Alex Gleason 2023-09-02 17:31:39 -05:00
  • 34e0ad8c41 Add a symbol to verified events Alex Gleason 2023-09-02 14:18:43 -05:00
  • e9eac28bab Added eoseSubTimeout to pool's SubscriptionOptions (#284) Egge 2023-09-01 12:50:12 +02:00
  • 85035d61f2 Merge pull request #287 from alexgleason/prettier fiatjaf_ 2023-09-01 07:48:06 -03:00
  • cf46560619 ci: ensure just is available to the runner Alex Gleason 2023-08-31 13:52:56 -05:00
  • e7aa23cb1d README: add a note about typescript 5.0 Alex Gleason 2023-08-31 13:51:17 -05:00
  • 5977d68ec2 nip98.test: remove outdated/failing test Alex Gleason 2023-08-31 13:47:16 -05:00
  • 48767d382d relay.test: increase querying timeout to 10s Alex Gleason 2023-08-31 13:45:24 -05:00
  • 718032022c just format Alex Gleason 2023-08-31 13:42:15 -05:00
  • 2a70bb18ff pool: use triple-equals Alex Gleason 2023-08-31 13:41:40 -05:00
  • 9effe807d1 filter: remove unused import for Kind Alex Gleason 2023-08-31 13:41:25 -05:00
  • 899c2bd0dc eslint: remove conflicting generator-star-spacing rule Alex Gleason 2023-08-31 13:41:06 -05:00
  • 918d514a25 Upgrade all eslint deps Alex Gleason 2023-08-31 13:37:45 -05:00
  • 48cb9046c4 Add eslint-config-prettier to solve conflicts between prettier and eslint Alex Gleason 2023-08-31 13:27:28 -05:00
  • 864dd28b26 justfile: improve lint/format commands Alex Gleason 2023-08-31 13:25:30 -05:00
  • fa085367c9 Add eslint to just format Alex Gleason 2023-08-31 13:22:43 -05:00
  • 350951b88e Add eslint to just lint Alex Gleason 2023-08-31 13:21:10 -05:00
  • c6133f7160 ci: run prettier on every commit Alex Gleason 2023-08-31 13:14:16 -05:00
  • 470512bbeb prettier: increase printWidth, enable bracketSpacing, alphabetize Alex Gleason 2023-08-31 13:00:50 -05:00
  • c3acb82464 Upgrade Prettier to v3.0.3 Alex Gleason 2023-08-31 12:59:54 -05:00
  • fc23d05764 Merge pull request #283 from jiftechnify/fix-code-samples Alex Gleason 2023-08-27 12:14:32 -05:00
  • 8296ce897c fix a code sample in README - add pool.close() usage jiftechnify 2023-08-28 01:54:33 +09:00
  • 3ca78c0e13 fix code samples in README jiftechnify 2023-08-28 01:47:35 +09:00
  • 837a05e54d Add kinds module to classify events by kind Alex Gleason 2023-08-26 13:32:15 -05:00
  • 32fd25556b added new event kind 1063 v1.14.2 ffaex 2023-08-21 15:01:15 +00:00
  • 0925f5db81 add batchedList method to SimplePool Sepehr Safari 2023-08-21 15:07:29 +03:30
  • bce976fecd get rid of httpmethod enum. fiatjaf 2023-08-16 14:07:26 -03:00
  • 45e479d7aa let it throw. fiatjaf 2023-08-16 13:59:31 -03:00
  • b92407b156 nip44 updates (#278) Jon Staab 2023-08-16 09:53:37 -07:00
  • 2431896921 fix(nip98): Add support for HEAD, PUT, CONNECT, OPTIONS, TRACE and PATCH http methods Pierre Buyle 2023-08-14 19:02:30 -04:00
  • d13eecad4a Add support for nip44 Jonathan Staab 2023-08-11 17:18:00 -07:00
  • df6f887d7e Event, Filter: allow any kind number Fixes https://github.com/nbd-wtf/nostr-tools/issues/275 Alex Gleason 2023-08-12 17:11:42 -05:00
  • e00362e7c9 Filter: let tag queries be undefined Alex Gleason 2023-08-12 12:25:55 -05:00
  • 9efdd16e26 fix check for undefined ws fiatjaf 2023-08-11 07:09:39 -03:00
  • de7e128818 Merge pull request #267 from Airtune/nip98-extract-pubkey Alex Gleason 2023-08-08 08:48:29 -05:00
  • 4978c858e7 Update nip98.ts examples Airtune 2023-08-08 02:45:23 -04:00
  • 16c7ae2a70 +nip98.unpackEventFromToken +nip98.validateEvent Airtune 2023-08-07 22:16:23 -04:00
  • 3368e8c00e bump minor version because of the breaking change on publish() v1.14.0 fiatjaf 2023-07-31 23:05:31 -03:00
  • e5a3ad9855 Export nip28 functions in index.ts and bump version (#265) Airtune 2023-07-31 22:04:45 -04:00
  • 03185c654b Create nip28.ts and nip28.test.ts (#264) Airtune 2023-07-31 07:29:45 -04:00
  • 9d690814ca turn .publish() into a normal async function returning a promise. fiatjaf 2023-07-30 12:19:11 -03:00
  • 17590cce91 tag v1.13.1 v1.13.1 fiatjaf 2023-07-23 10:15:00 -03:00
  • ee9f37e192 Update package.json to upgrade scure/bip39 (#254) Pavan Joshi 2023-07-23 18:11:53 +05:30
  • c1848d78a0 tag v1.13.0 v1.13.0 fiatjaf 2023-07-17 13:12:04 -03:00
  • 81776ba811 fix(nip98): add export Dolu 2023-07-17 13:58:43 +02:00
  • 915d6d729b feat(nip98): add getToken and validateToken Dolu 2023-07-17 13:36:45 +02:00
  • 1a23f5ee01 keep up with the latest specs for since/until filter jiftechnify 2023-07-15 11:51:28 +09:00
  • fec40490a2 Merge pull request #249 from alexgleason/fix-nip27-type Alex Gleason 2023-07-13 11:02:33 -05:00
  • bb3e41bb89 Also remove failing nip05 test due to server down (this should be mocked) Alex Gleason 2023-07-13 10:57:30 -05:00
  • 27b971eef3 Fix nip27 type Alex Gleason 2023-07-13 10:48:22 -05:00
  • 0041008b22 Add an option to disable seenOn futpib 2023-07-06 11:54:34 +04:00
  • ae5bf4c72c Fix with "wordlists/english.js" Details are here: https://github.com/nbd-wtf/nostr-tools/issues/25 Perlover 2023-07-04 20:05:19 +02:00
  • 75fc836cf6 Merge pull request #241 from alexgleason/nip19-cool-type Alex Gleason 2023-07-02 12:22:04 -05:00
  • 70b025b8da nip19: use a DRY type Alex Gleason 2023-07-01 22:42:00 -05:00
  • c9bc702d90 nip19: use template literal types Alex Gleason 2023-07-01 21:12:28 -05:00
  • 7652318185 Fix nip27 test Alex Gleason 2023-06-29 13:28:59 -05:00
  • d81a2444b3 release v1.12.1 v1.12.1 fiatjaf 2023-06-29 15:25:32 -03:00
  • 7507943253 Fix nip27.matchAll crash on invalid nip19 Alex Gleason 2023-06-29 13:18:09 -05:00
  • b9a7f814aa Update Kind for ProfileBadge and BadgeDefinition PMK 2023-06-20 18:34:48 +00:00
  • 0e364701da link to ndk and snort system. fiatjaf 2023-06-17 08:37:20 -03:00