Commit Graph
14 Commits
Author SHA1 Message Date
fiatjaf 2a11c9ec91 nip04: functions shouldn't be async. 2025-04-02 10:19:27 -03:00
fiatjaf 84f9881812 use @noble/ciphers instead of webcrypto on nip04. 2024-02-17 18:15:42 -03:00
fiatjaf fe87529646 change tests and nips to use the new api. 2023-12-19 13:58:37 -03:00
Alex Gleason 718032022c just format 2023-08-31 13:42:15 -05:00
Alex Gleasonandfiatjaf_ 08885ab8da Refactor imports: use file extension, improve tree shaking, update tests 2023-05-12 17:03:41 -03:00
Paul Millerandfiatjaf 03cc18d53b bring back @noble/curves instead of @noble/secp256k1.
fixes https://github.com/nbd-wtf/nostr-tools/issues/196#issuecomment-1537549606
2023-05-07 21:16:48 -03:00
Alex Gleasonandfiatjaf_ 8a53b3b8b3 Improve event types 2023-05-06 21:00:25 -03:00
eosxxandfiatjaf_ 1647601727 fix: check crypto and webcrypto 2023-04-28 05:56:25 -03:00
eosxxandfiatjaf_ b66ca1787a fix(nip04): crypto.subtle is undefined 2023-04-28 05:56:25 -03:00
fiatjaf ef3184a6e0 remove @noble/curves. people are not ready for it, causes BigInt issues. 2023-04-18 15:14:21 -03:00
Paul Millerandfiatjaf_ 204ae0eff1 Switch from noble-secp256k1 to noble-curves 2023-04-14 16:45:01 -03:00
fiatjaf 50c3f24b25 replace two packages with a @scure dependency that already existed. 2022-12-27 11:35:21 -03:00
fiatjaf 41a1614d89 remove browserify-cipher, use crypto.subtle for nip04. 2022-12-21 16:04:00 -03:00
fiatjaf de8bdd8370 fix typescript types everywhere, delete pool.js and refactor relay.js to use event listeners everywhere. 2022-12-18 17:02:19 -03:00