Commit Graph
131 Commits
Author SHA1 Message Date
fiatjaf 55ff796b9f v1.10.1 2023-04-22 21:59:41 -03:00
Alex Gleasonandfiatjaf_ 92988051c6 Add Unlicense 2023-04-20 12:22:39 -03:00
fiatjaf 9241089997 v1.10.0 with @noble/secp256k1 back, nip42 support and nip19 typing improvements. 2023-04-18 15:17:57 -03:00
fiatjaf ef3184a6e0 remove @noble/curves. people are not ready for it, causes BigInt issues. 2023-04-18 15:14:21 -03:00
fiatjaf ac212cb5c8 tag v1.9.0 using @noble/curves. 2023-04-14 17:09:28 -03:00
Paul Millerandfiatjaf_ 204ae0eff1 Switch from noble-secp256k1 to noble-curves 2023-04-14 16:45:01 -03:00
fiatjaf f6f5ee8223 tag v1.8.4 2023-04-11 18:23:04 -03:00
fiatjaf 199411a971 yarn.lock with deduped packages. 2023-04-08 15:44:37 -03:00
fiatjaf a1dc6f41b9 fix conflict in noble dependencies. 2023-04-08 15:43:47 -03:00
OFF0andfiatjaf_ 12acd7bdca scripts: add npm build, format and test scripts
in addition to the just tasks, this commit adds npm scripts back,
for convenience.

example taks:
- npm test
- npm test filter.test.js
- npm run build
- npm run format

in yarn it should just work without 'run' i.e. 'yarn build'.
2023-04-08 09:05:23 -03:00
fiatjaf e3cea5db16 tag v1.8.2 2023-04-04 10:26:35 -03:00
fiatjaf 51b8f42529 bump to v1.8.1 2023-03-27 10:41:10 -03:00
fiatjaf ce73b96565 bump to v1.8.0 2023-03-26 09:45:03 -03:00
fiatjaf 24f5068fdb bump to v1.7.5 2023-03-19 09:09:19 -03:00
BilligsterUserandfiatjaf_ f9e3119ab4 package.json add License field 2023-03-02 09:34:54 -03:00
fiatjaf f992c9c967 cleanup lib/ so we can only publish the esm file under esm/ 2023-03-02 08:36:43 -03:00
fiatjaf 086f8830e3 catch fetch error on nip05. 2023-03-02 08:21:17 -03:00
Fernando López GuevaraandGitHub 0d77013aab chore(dx): add format script 💅 (#128) 2023-02-28 12:19:10 -03:00
BilligsterUserandfiatjaf_ 673f4abab8 add type definition
fixes #138
2023-02-27 19:51:19 -03:00
BilligsterUserandfiatjaf_ bcefaa0757 update repo url 2023-02-27 19:49:00 -03:00
fiatjaf 9d345a8f01 configurable list and get timeout on relay. 2023-02-26 21:23:09 -03:00
fiatjaf c362212778 make pool.publish() return a single Pub object. 2023-02-26 17:44:51 -03:00
fiatjaf a21329da3f make timeouts configurable for pool. 2023-02-26 16:50:49 -03:00
fiatjaf 63f4a49a69 increase pool timeouts. 2023-02-26 15:05:26 -03:00
fiatjaf 27749d91b8 fix nip19: relays TLV items are optional. 2023-02-26 07:44:22 -03:00
fiatjaf bf55ad6b5a bump to v1.6.0 2023-02-20 22:51:49 -03:00
Moe Jangdaandfiatjaf_ 04a46b815c include the exports property in the root package.json to allow node environments to use cjs or esm bundles 2023-02-19 20:54:55 -03:00
fiatjaf 0f841138cd bump to v1.5.0 2023-02-17 14:31:08 -03:00
fiatjaf ab5ea8de36 another nip57 helper and bump version. 2023-02-16 09:29:21 -03:00
fiatjaf 32793146a4 remove untilOpen promise that was causing memory leaks when a connection was never opened. 2023-02-14 11:24:30 -03:00
fiatjaf c42cd925ce bump noble-hashes. 2023-02-13 21:26:42 -03:00
fiatjaf 9bcaed6e60 fix tests, .seenOn() method for pools. 2023-02-09 22:01:01 -03:00
Fernando López Guevaraandfiatjaf 5a9cbbb557 feat(deps): upgrade dependencies 2023-02-09 21:59:37 -03:00
fiatjaf ff3bf4a51c improvements and fixes on pool. 2023-02-09 12:05:31 -03:00
fiatjaf 7ff97b5488 list() and get() methods. 2023-02-08 16:37:53 -03:00
fiatjaf 341f2bcb8d bump version to 1.2.4 2023-02-08 14:16:20 -03:00
fiatjaf 3710866430 replace package.json scripts with just. 2023-02-08 14:15:54 -03:00
fiatjaf cc8e34163d most simple relay pool. 2023-02-08 08:39:59 -03:00
fiatjaf 312b6fd035 add fast insert-into-sorted-list utils. 2023-01-28 18:07:14 -03:00
fiatjaf 7f1bd4f4a8 tag v1.2.0 2023-01-22 10:34:04 -03:00
fiatjaf cb05ee188f increase bech32 max size to 5000. 2023-01-18 17:31:37 -03:00
fiatjaf 901445dea1 tag v1.1.1 2023-01-04 10:16:15 -03:00
fiatjaf 50c3f24b25 replace two packages with a @scure dependency that already existed. 2022-12-27 11:35:21 -03:00
fiatjaf 39ea47660d use a different relay for tests. 2022-12-25 16:01:31 -03:00
fiatjaf 87c0f0d061 tag v1.0.0 2022-12-23 20:51:36 -03:00
fiatjaf 74a0d5454a guard against some nonexisting arrays of event listeners. 2022-12-23 15:18:23 -03:00
fiatjaf ac698ef67d make relay.connect() an awaitable thing. 2022-12-22 08:53:40 -03:00
fiatjaf 26e6da6ba3 we need websocket polyfill on relay tests. 2022-12-21 17:09:00 -03:00
fiatjaf 8aa31bb437 remove websocket-polyfill, instruct nodejs users to install it manually. 2022-12-21 16:23:47 -03:00
fiatjaf 4bd4469357 remove useless readable-stream dependency. 2022-12-21 16:19:59 -03:00