Commit Graph

  • 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
  • 12147d4fee Merge pull request #358 from sepehr-safari/mock-relay-class fiatjaf_ 2024-01-20 08:36:40 -03:00
  • c453bc5ec3 revert nip11.test.ts with a todo flag Sepehr Safari 2024-01-20 11:50:05 +03:30
  • 2017b3cabd Merge branch 'nbd-wtf:master' into mock-relay-class Sepehr Safari 2024-01-20 11:41:27 +03:30
  • fbcfccda01 update nip42.test.ts with new mock relay class Sepehr Safari 2024-01-20 11:31:18 +03:30
  • 0357e035f4 fix nip11 broken test Sepehr Safari 2024-01-20 11:29:59 +03:30
  • dd0014aee3 refactor pool.test.ts and update with new mock relay class Sepehr Safari 2024-01-20 11:29:46 +03:30
  • 2e9798b8ab increase random range for mock relay urls Sepehr Safari 2024-01-20 11:21:29 +03:30
  • 10b800db3a randomize relay urls in mock relays Sepehr Safari 2024-01-20 11:14:57 +03:30
  • dbad25b2fa use new MockRelay class in relay.test.ts Sepehr Safari 2024-01-20 10:41:05 +03:30
  • 829633b0d6 inhance mock relay and refactor to a class Sepehr Safari 2024-01-20 10:40:15 +03:30
  • b1bbcd6c46 use mock relay in nip42 tests Sepehr Safari 2024-01-20 09:57:25 +03:30
  • 6a9940c850 nip29: make relay property mandatory on Group. fiatjaf 2024-01-19 21:23:44 -03:00
  • 9b08550885 some beginnings of nip29 helpers. v2.1.4 fiatjaf 2024-01-19 16:13:00 -03:00
  • 3b81e5e762 use mock relays on pool tests. fiatjaf 2024-01-19 16:12:02 -03:00
  • 8b2b050c0d unify mock-socket interface into a single implementation. fiatjaf 2024-01-19 16:01:06 -03:00
  • d4090dae2b refactor relay test cases with mock websocket Sepehr Safari 2024-01-18 23:27:44 +03:30
  • 49596d24c3 install mock-socket as dev dependency Sepehr Safari 2024-01-18 23:26:43 +03:30
  • ac83eeff1c format with prettier Sepehr Safari 2024-01-18 18:14:12 +03:30
  • 85b741b39a suppress eqeqeq eslint rule Sepehr Safari 2024-01-18 18:04:58 +03:30
  • c69c528ab0 Merge pull request #352 from sepehr-safari/nip99-implementation fiatjaf_ 2024-01-18 11:00:41 -03:00
  • 1aad9ad0bd Merge pull request #350 from sepehr-safari/nip98-enhancement fiatjaf_ 2024-01-18 11:00:28 -03:00
  • f6ed374f2f remove un-used imports Sepehr Safari 2024-01-18 17:16:24 +03:30
  • 6d7ad22677 add test cases for nip99 Sepehr Safari 2024-01-18 17:13:39 +03:30
  • 340a4a6799 implement nip99 Sepehr Safari 2024-01-18 17:13:31 +03:30
  • 5ec136a365 refactor and add more test cases Sepehr Safari 2024-01-17 18:13:10 +03:30
  • 75eb08b170 fix some bugs, refactor to smaller parts, add docs Sepehr Safari 2024-01-17 17:50:48 +03:30
  • 677b679c2c NIP-57: build lnurl in more secure way Alex Gleason 2024-01-15 16:47:57 -06:00