fiatjaf
ba26b92973
get rid of nip96 and unnecessary dependencies.
2025-04-02 11:51:02 -03:00
fiatjaf
aec8ff5946
fix for updated typescript.
2025-04-02 11:44:41 -03:00
fiatjaf
e498c9144d
nip46: auto-reconnect.
2025-04-02 10:58:26 -03:00
fiatjaf
42d47abba1
update readme and add more examples.
2025-04-02 10:53:33 -03:00
fiatjaf
303c35120c
pool: deprecate subscribeManyMap and introduce subscribe/subscribeEose methods that take a single filter.
2025-04-02 10:37:10 -03:00
fiatjaf
4a738c93d0
nip46: stop supporting nip04-encrypted messages.
2025-04-02 10:25:19 -03:00
fiatjaf
2a11c9ec91
nip04: functions shouldn't be async.
2025-04-02 10:19:27 -03:00
fiatjaf
cbe3a9d683
pool subscribe methods accept an `onauth` param.
2025-04-01 19:16:42 -03:00
fiatjaf
2944a932b8
nip46: mark connection as closed when relays disconnect.
2025-03-29 18:03:39 -03:00
codytseng
6b39de04d7
Fix auth() not returning on consecutive calls
2025-03-17 13:31:24 -03:00
fiatjaf
9a612e59a2
update nip11 test.
2025-03-14 09:30:35 -03:00
fiatjaf
266dbdf766
nip27: rewrite to support urls and references in a simpler API for rich UIs.
2025-03-14 09:26:40 -03:00
fiatjaf
19ae9837a7
nip19: decodeNostrURI() function that doesn't throw.
2025-03-14 09:26:40 -03:00
António Conselheiro
4188f2c596
Generic repost
2025-03-10 01:58:00 -03:00
fiatjaf
97bded8f5b
prevent a relay from eoseing then closing and causing pool handlers to fire twice.
2025-03-02 01:25:39 -03:00
fiatjaf
174d36a440
nip07: remove getRelays()
2025-03-02 01:25:39 -03:00
fiatjaf
0177b130c3
nip55: remove getRelays()
2025-03-02 01:25:39 -03:00
fiatjaf
05eb62da5b
support subscription label, not only an absolute id.
2025-03-02 01:25:39 -03:00
Baris Aydek
3c4019a154
nip54 normalizeIdentifier function
2025-02-25 13:52:40 -03:00
fiatjaf
e7e8db1dbd
nip46: take EventTemplate instead of UnsignedEvent.
2025-02-24 14:48:47 -03:00
bitcoinpirate
44a679e642
added support for zapping replaceable events ( #424 )
...
* added support for zapping replaceable events
* Update nip57.ts
* Update nip57.ts
Co-authored-by: 雪猫 <SnowCait@users.noreply.github.com>
* apply @SnowCait's suggestions.
* fix lint error.
---------
Co-authored-by: AsaiToshiya <to.asai.60@gmail.com>
Co-authored-by: 雪猫 <SnowCait@users.noreply.github.com>
2025-02-24 00:46:51 +09:00
Asai Toshiya
c1172caf1d
mark getRelays and get_relays as deprecated.
2025-02-21 15:08:55 -03:00
Jon Staab
86f37d6003
Clean up nip96 upload validation and make it less strict
2025-02-11 15:58:20 -03:00
Sandwich
3daade322c
export retention details
...
pain to use without being available as an export.
2025-02-10 09:25:33 -03:00
Asai Toshiya
fcf10541c8
rename "parameterized replaceable" to "addressable".
2025-01-23 14:08:22 -03:00
Asai Toshiya
548abb5d4a
nip18: tweak test data.
2025-01-23 20:03:52 +09:00
Asai Toshiya
1e5bfe856b
nip18: don't stringify protected event.
2025-01-17 21:30:09 -03:00
Anderson Juhasc
3266b4d4c2
added NIP-55
2025-01-04 14:15:11 -03:00
Asai Toshiya
a0b950ab12
remove unnecessary id from Omit keys.
2025-01-02 15:57:39 -03:00
Asai Toshiya
be741159d7
nip29: update GroupAdminPermission.
2024-12-17 13:33:00 -03:00
im-adithya
9c50b2c655
fix: clear timeout in publish and auth
2024-12-03 11:09:11 -03:00
Egge
bbb09420fe
export nip17
2024-11-26 11:59:58 -03:00
Asai Toshiya
2e85f7a5fe
Revert "nip19: remove note1."
...
This reverts commit a8a805fb71
.
2024-11-26 11:59:58 -03:00
Asai Toshiya
b22e2465cc
nip19: remove note1.
2024-11-26 11:59:58 -03:00
fiatjaf
43ce7f9377
fix reference to nostr-wasm dependency so it can be installed on deno.
...
fixes https://github.com/nbd-wtf/nostr-tools/issues/459
2024-11-25 21:33:25 -03:00
fiatjaf
5a55c670fb
nip10: fix.
2024-11-13 01:21:54 -03:00
fiatjaf
bf0c4d4988
nip10: improve, support quotes, author hints, change the way legacy refs are discovered.
2024-11-04 15:37:39 -03:00
fiatjaf
50fe7c2a8b
streamline jsr publishes.
2024-11-02 08:35:52 -03:00
fiatjaf
29270c8c9d
nip46: fix legacyDecrypt argument.
2024-11-02 08:13:33 -03:00
fiatjaf
cb29d62033
add links to jsr.io
2024-10-31 16:33:24 -03:00
Asai Toshiya
0d237405d9
fix lint error.
2024-10-31 20:43:03 +09:00
Asai Toshiya
659ad36b62
nip05: use stub to test queryProfile().
2024-10-31 07:51:53 -03:00
Asai Toshiya
d062ab8afd
make publish() timeout.
2024-10-30 11:55:04 -03:00
Fishcake
94f841f347
Fix fetch to work in the edge and node environments, cleanup type issues
...
- Fix "TypeError: Invalid redirect value, must be one of "follow" or "manual" ("error" won't be implemented since it does not make sense at the edge; use "manual" and check the response status code)." that is thrown when trying to use fetch in the edge environment (e.g., workers)
- Cleanup types and variable definitions.
2024-10-28 14:56:10 -03:00
fiatjaf
c1d03cf00b
nip46: only encrypt with nip44 (breaking).
2024-10-27 14:59:27 -03:00
fiatjaf
29ecdfc5ec
fix slow types so we can publish to jsr.io
2024-10-26 14:23:28 -03:00
fiatjaf
d3fc4734b4
export missing modules.
2024-10-26 13:10:26 -03:00
fiatjaf
66d0b8a4e1
nip46: export queryBunkerProfile()
2024-10-26 07:24:13 -03:00
fiatjaf
e2ec7a4b55
fix types, imports and other stuff on nip17 and nip59.
2024-10-25 22:10:05 -03:00
fiatjaf
a72e47135a
nip46: we have no business checking the pubkey of the sign_event result.
2024-10-25 21:58:03 -03:00