Commit Graph

  • 9f5984d78d added functions accountFromSeedWords, extendedKeysFromSeedWords and accountFromExtendedKey to nip06 Anderson Juhasc 2024-05-25 10:59:45 -03:00
  • 80df21d47f reviewing just installation in devcontainer António Conselheiro 2024-05-21 14:57:35 -03:00
  • 296e99d2a4 config devcontainer António Conselheiro 2024-05-21 16:46:09 +00:00
  • 1cd9847ad5 filter: fix tests (remove prefix tests). fiatjaf 2024-05-19 14:58:38 -03:00
  • fa31fdca78 nip46: try to decrypt with nip44 if nip04 fails. fiatjaf 2024-05-19 14:51:39 -03:00
  • 5876acd67a nip44: make the api less classy. fiatjaf 2024-05-19 14:40:23 -03:00
  • 44efd49bc0 filter: stop matching against id and pubkey prefixes. fiatjaf 2024-05-19 14:26:39 -03:00
  • f4f9bece6e tag v2.5.2 v2.5.2 fiatjaf 2024-05-02 11:38:20 -03:00
  • e217f751da fix count request in anstract relay hzrd149 2024-05-02 09:30:01 -05:00
  • d0ae8b36a2 tag v2.5.1 v2.5.1 fiatjaf 2024-04-24 17:47:45 -03:00
  • fd945757be accept localSecretKey as a parameter on nip46.createAccount() fiatjaf 2024-04-24 10:12:31 -03:00
  • c12ddd3c53 Add hyphen to BUNKER_REGEX Daniele Tonon 2024-04-19 23:20:24 +02:00
  • 1e9f828e3e tag 2.5.0 v2.5.0 fiatjaf 2024-04-12 21:51:09 -03:00
  • 0a5eaac088 pool.subscribeManyMap() fiatjaf 2024-04-12 21:50:26 -03:00
  • e858698cb9 Add stable sortEvents function Alex Gleason 2024-04-12 17:45:23 -05:00
  • b349ee577d Merge pull request #392 from verbiricha/patch-1 Alex Gleason 2024-04-12 17:57:49 -05:00
  • 849a2ac3f3 Merge pull request #397 from alexgleason/pure-test Alex Gleason 2024-04-12 17:48:09 -05:00
  • c18b94677c core.test.ts -> pure.test.ts Alex Gleason 2024-04-12 17:44:36 -05:00
  • f306cec716 querySync does not take an array franzap 2024-04-07 20:20:24 +00:00
  • 5c7e9c8f36 tag 2.4.0 v2.4.0 fiatjaf 2024-04-05 07:22:56 -03:00
  • 1d7620a057 temporary _onauth handler until we figure stuff out. fiatjaf 2024-04-05 07:22:17 -03:00
  • 88247e56c1 fix typos in README Alejandro 2024-03-27 18:58:23 +01:00
  • e5cda3509c Fix pubkey param to nip46 connect Nostr.Band 2024-03-27 11:25:16 +01:00
  • 02da1dc036 Readme: Instructions to convert sk to hex abhay-raizada 2024-03-23 18:00:23 +05:30
  • 7aed747bb2 Remove GitHub actions flow for publishing to JSR because it's not working Alex Gleason 2024-03-18 13:23:29 -05:00
  • 747a7944d7 Wasm: add explicit type to i Alex Gleason 2024-03-18 13:04:21 -05:00
  • 9f8b7274b3 Revert "tsconfig: for sanity, go back to moduleResolution bundler and see if that fixes it" Alex Gleason 2024-03-18 13:02:35 -05:00
  • ee565db7f5 tsconfig: for sanity, go back to moduleResolution bundler and see if that fixes it Alex Gleason 2024-03-18 13:00:56 -05:00
  • e9ee8258e7 tsconfig: module NodeNext Alex Gleason 2024-03-18 11:54:38 -05:00
  • ad07d260ab Add missing file extensions to imports Alex Gleason 2024-03-18 11:51:00 -05:00
  • 632184afb8 publish: npm install -g jsr Alex Gleason 2024-03-18 11:45:11 -05:00
  • d7d5d30f41 publish: try bunx instead of npx Alex Gleason 2024-03-18 11:40:47 -05:00
  • 387ce2c335 publish: --allow-dirty ¯\_(ツ)_/¯ Alex Gleason 2024-03-18 11:35:27 -05:00
  • b62b8f88af jsr: bump version to v2.3.2 Alex Gleason 2024-03-18 11:32:33 -05:00
  • 6b43533f2e tsconfig: moduleResolution NodeNext Alex Gleason 2024-03-18 11:32:04 -05:00
  • e30e08d8e2 update relay on nip11 test. fiatjaf 2024-03-16 13:44:09 -03:00
  • 59426d9f35 Nip58 Implementation (#386) Sepehr Safari 2024-03-16 20:14:56 +03:30
  • 5429142858 v2.3.2 v2.3.2 fiatjaf 2024-03-16 13:41:10 -03:00
  • 564c9bca17 don't try to send a ["CLOSE"] after the websocket is closed. fiatjaf 2024-03-16 13:38:08 -03:00
  • 0190ae94a7 Revert "fix: error thrown on ws close" fiatjaf 2024-03-16 13:32:33 -03:00
  • e1bde08ff3 fix: error thrown on ws close Jeffrey Ko 2024-03-16 19:48:24 +08:00
  • 71456feb20 jsr: explicit exports Alex Gleason 2024-03-12 19:53:54 -05:00
  • ca928c697b publish: --allow-slow-types for now Alex Gleason 2024-03-11 15:15:41 -05:00
  • 7b98cae7fa Merge pull request #382 from alexgleason/bundle-resolution Alex Gleason 2024-03-11 14:47:27 -05:00
  • db53f37161 tsconfig: moduleResolution Bundler Alex Gleason 2024-03-11 14:22:11 -05:00
  • 1691f0b51d Merge pull request #381 from nbd-wtf/alexgleason-patch-1 Alex Gleason 2024-03-11 13:00:14 -05:00
  • 3b582a0206 publish: bun i alexgleason-patch-1 Alex Gleason 2024-03-11 12:59:36 -05:00
  • 8ed2c13c28 Publish to JSR with GitHub actions Alex Gleason 2024-03-11 11:20:36 -05:00
  • 27a536f41d NIP44: fix slow types Alex Gleason 2024-03-11 11:16:04 -05:00
  • fbc82d0b73 Prepare for JSR publishing Alex Gleason 2024-03-06 11:34:37 -06:00
  • 9c0ade1329 Fix (most) slow types by adding explicit return types Alex Gleason 2024-03-06 11:47:50 -06:00
  • 63ccc8b4c8 v2.3.1 v2.3.1 fiatjaf 2024-02-19 18:54:40 -03:00
  • 7cf7df88db nip46: skip duplicates on fetchBunkerProviders (prev fetchCustodialBunkers). fiatjaf 2024-02-19 18:54:18 -03:00
  • bded539122 nip46: fix messages being ignored after auth_url. fiatjaf 2024-02-19 18:53:48 -03:00
  • 3647bbd68a get rid of the last vestiges of webcrypto dependencies. fiatjaf 2024-02-17 18:29:01 -03:00
  • fb085ffdf7 v2.3.0 v2.3.0 fiatjaf 2024-02-17 18:19:52 -03:00
  • 280d483ef4 adjust expected value in nip11 test. fiatjaf 2024-02-17 18:19:09 -03:00
  • 54b55b98f1 nip44: get rid of ensureBytes() since it was removed from upstream library. fiatjaf 2024-02-17 18:18:24 -03:00
  • 84f9881812 use @noble/ciphers instead of webcrypto on nip04. fiatjaf 2024-02-17 18:15:42 -03:00
  • db6baf2e6b bump to v2.2.1 v2.2.1 fiatjaf 2024-02-16 07:43:38 -03:00
  • bb1e6f4356 nip46: only handle the first auth_url for every command. fiatjaf 2024-02-16 07:43:20 -03:00
  • 5626d3048b nip46: remove NostrConnectAdmin wrong kind. fiatjaf 2024-02-16 07:40:21 -03:00
  • 058d0276e2 nip49: nfkc normalization. v2.2.0 fiatjaf 2024-02-16 00:13:54 -03:00
  • 37b046c047 bump to v2.2.0 Sepehr Safari 2024-02-15 01:26:03 +03:30
  • 846654b449 add exports/nip75 to package.json Sepehr Safari 2024-02-15 01:25:30 +03:30
  • b676dc0987 add tests for nip75 Sepehr Safari 2024-02-15 01:14:09 +03:30
  • b1ce901555 implement nip75 handlers Sepehr Safari 2024-02-15 01:13:53 +03:30
  • 62e5730965 call useWebSocketImplementation() on relay and pool tests. fiatjaf 2024-02-14 13:26:38 -03:00
  • 01f13292bb useWebSocketImplementation() on relay.ts v2.1.9 fiatjaf 2024-02-14 13:19:48 -03:00
  • 7b0458db72 make the examples on the readme use the new import method. fiatjaf 2024-02-14 13:17:59 -03:00
  • 3aab7121f7 use a public BunkerPointer property on BunkerSigner class. fiatjaf 2024-02-14 12:29:47 -03:00
  • ce059d4608 bump to v2.1.8 v2.1.8 fiatjaf 2024-02-14 12:25:22 -03:00
  • b72b0dc1f0 nip46: fix typo in fetchCustodialBunkers() function name. fiatjaf 2024-02-14 12:24:47 -03:00
  • 29e5b71473 nip46: implement the remaining methods. fiatjaf 2024-02-14 12:24:33 -03:00
  • b4e54d679f nip46: fix checking event that comes from bunker call sign_event and bump version. v2.1.7 fiatjaf 2024-02-12 16:06:20 -03:00
  • 9d78c90a79 nip46: fix bunker url parsing. fiatjaf 2024-02-12 15:32:50 -03:00
  • 566a2deea3 nip46: omit custodial bunker providers that don't have relays configured. fiatjaf 2024-02-12 09:04:27 -03:00
  • 177e673d83 nip46: params for createAccount that get passed into BunkerSigner. fiatjaf 2024-02-12 09:04:06 -03:00
  • cf766cd835 nip05: fix regex group 2 matching. fiatjaf 2024-02-12 07:41:44 -03:00
  • 7d332605ee nip46: tweaks. fiatjaf 2024-02-12 00:28:48 -03:00
  • 72f9b482ef nip46: NostrConnectAdmin kind and handle "auth_url". fiatjaf 2024-02-11 21:52:06 -03:00
  • d14830a8ff nip46 big implementation adapted from ignition. fiatjaf 2024-02-11 19:14:04 -03:00
  • 943cc4fb48 nip46 beginnings. fiatjaf 2024-02-11 08:32:08 -03:00
  • 04252aaaec nip05: improve regex. fiatjaf 2024-02-11 07:48:13 -03:00
  • 8c78649d5c ignore HTTP redirect in nip05 Shusui MOYATANI 2024-02-09 21:50:07 +09:00
  • b9435af708 remove tsd package Adam Soltys 2024-02-05 22:05:23 -08:00
  • ea5d00beed Fix explicit file extension for core.ts Quentin 2024-02-04 09:20:55 +01:00
  • 7ec6d127b0 fix unexpected errors Sepehr Safari 2024-01-28 12:50:05 +03:30
  • 7a9d432686 add nip49 key encryption and decryption. fiatjaf 2024-01-25 12:14:51 -03:00
  • 744a930ccf add missing exports to package.json. fiatjaf 2024-01-25 12:13:59 -03:00
  • c6a521e73c some nip29 helpers. fiatjaf 2024-01-24 15:56:44 -03:00
  • 6aebe0d38c v2.1.5 v2.1.5 fiatjaf 2024-01-24 15:42:35 -03:00
  • 16cdf40112 nip96: type fix. fiatjaf 2024-01-24 12:04:54 -03:00
  • e36ea11f41 add nip-34 code for contributing. fiatjaf 2024-01-23 11:03:48 -03:00
  • 31a35a8008 justfile: always emit types on build. fiatjaf 2024-01-23 10:58:57 -03:00
  • 0f5b3f397c Nip96 implementation (#360) Sepehr Safari 2024-01-24 15:54:47 +03:30
  • d156f3c0ac add test cases for nip94 Sepehr Safari 2024-01-21 13:20:16 +03:30
  • d656c84ab5 implement nip94 Sepehr Safari 2024-01-21 13:20:04 +03:30
  • 2f0ef90bd5 delete some unnecessary code from mock-relay implementation. fiatjaf 2024-01-20 12:48:42 -03:00
  • 967d7fe63a normalizeURL prepends ws:// when necessary. fiatjaf 2024-01-20 12:48:28 -03:00