Alex Gleason
|
c9bc702d90
|
nip19: use template literal types
|
2023-07-01 21:28:01 -05:00 |
|
Alex Gleason
|
7652318185
|
Fix nip27 test
|
2023-06-29 16:44:44 -03:00 |
|
fiatjaf
|
d81a2444b3
|
release v1.12.1
v1.12.1
|
2023-06-29 15:25:32 -03:00 |
|
Alex Gleason
|
7507943253
|
Fix nip27.matchAll crash on invalid nip19
|
2023-06-29 15:24:25 -03:00 |
|
PMK
|
b9a7f814aa
|
Update Kind for ProfileBadge and BadgeDefinition
|
2023-06-20 15:40:55 -03:00 |
|
fiatjaf
|
0e364701da
|
link to ndk and snort system.
|
2023-06-17 08:37:20 -03:00 |
|
fiatjaf
|
a55fb8465f
|
mergeFilters()
v1.12.0
|
2023-06-09 23:00:57 -03:00 |
|
fiatjaf
|
472a01af6a
|
fix infinite loop bug caused by malformed TLVs on nip19.
v1.11.2
|
2023-06-08 10:33:28 -03:00 |
|
fiatjaf_
|
bb5acfc197
|
Merge pull request #214 from Egge7/messagequeue
Replace array list queue with a linked list one
|
2023-05-20 08:20:56 -03:00 |
|
fiatjaf
|
1c6f39e4ae
|
v1.11.1
v1.11.1
|
2023-05-18 17:32:57 -03:00 |
|
Egge
|
5b15237b95
|
replace ArrayList with Queue
|
2023-05-16 17:16:38 +02:00 |
|
Egge
|
4184609a00
|
added test cases for MessageQueue
|
2023-05-13 09:44:52 +02:00 |
|
Egge
|
97287cad74
|
comply with eslint config
|
2023-05-13 09:44:41 +02:00 |
|
Egge
|
fa21f71ab5
|
added queue classes
|
2023-05-12 23:20:03 +02:00 |
|
Alex Gleason
|
08885ab8da
|
Refactor imports: use file extension, improve tree shaking, update tests
|
2023-05-12 17:03:41 -03:00 |
|
Egge
|
9f896479d0
|
update package.json to export declarations
|
2023-05-10 21:22:11 -03:00 |
|
Alex Gleason
|
82caa2aad9
|
Use buildEvent function in more places
|
2023-05-10 21:20:27 -03:00 |
|
Alex Gleason
|
67a8ee23ce
|
Don't build before test (??)
|
2023-05-10 21:20:27 -03:00 |
|
Alex Gleason
|
18e8227123
|
Convert all tests to TypeScript
|
2023-05-10 21:20:27 -03:00 |
|
Alex Gleason
|
64caef9cda
|
Convert nip05 test to typescript
|
2023-05-10 21:20:27 -03:00 |
|
Alex Gleason
|
6a07d2d9d3
|
nip05: fix not calling underscored fetch
|
2023-05-07 21:18:22 -03:00 |
|
Alex Gleason
|
341ccc5ac5
|
nip05: move NIP05Result to the bottom, add another test
|
2023-05-07 21:18:22 -03:00 |
|
Alex Gleason
|
d2a9af2586
|
nip05 refactoring
|
2023-05-07 21:18:22 -03:00 |
|
fiatjaf
|
5d92be05bb
|
run prettier on tests.
|
2023-05-07 21:18:12 -03:00 |
|
Paul Miller
|
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 |
|
futpib
|
ac7598b5e3
|
Fix reposts without p tag not parsed
|
2023-05-07 08:52:18 -03:00 |
|
futpib
|
424449c773
|
Add NIP-18 utils
|
2023-05-07 08:52:18 -03:00 |
|
Alex Gleason
|
ab6abe6815
|
Improve types of filter.ts
|
2023-05-06 21:00:25 -03:00 |
|
Alex Gleason
|
30fd6b6215
|
nip57: use Kind enum instead of using the number directly
|
2023-05-06 21:00:25 -03:00 |
|
Alex Gleason
|
8a53b3b8b3
|
Improve event types
|
2023-05-06 21:00:25 -03:00 |
|
Alex Gleason
|
d0bd599ce8
|
Infer relay event types from filter
|
2023-05-06 20:59:39 -03:00 |
|
Alex Gleason
|
1cbb62e6b9
|
Move BECH32_REGEX to nip19.ts
|
2023-05-03 17:12:39 -03:00 |
|
Luka Dover
|
977316915b
|
Fix subtle inconsistency with NIP-04 in the decryption example
Sender's pubkey was incorrectly searched for in the `p` tag, where receiver's pubkey is found; use `event.pubkey` instead.
|
2023-05-03 09:44:03 -03:00 |
|
Alex Gleason
|
dd8f555094
|
Make Filter a generic type accepting Kind
|
2023-05-02 22:35:04 -03:00 |
|
eosxx
|
87f5ea4291
|
test(event): add test for getBlankEvent
|
2023-05-01 17:02:14 -03:00 |
|
eosxx
|
595ae21baf
|
feat(event): getBlankEvent can accept a kind
|
2023-05-01 17:02:14 -03:00 |
|
Alex Gleason
|
9fa554ca8e
|
Make Event a generic type accepting Kind
|
2023-04-30 09:26:40 -03:00 |
|
eosxx
|
1647601727
|
fix: check crypto and webcrypto
|
2023-04-28 05:56:25 -03:00 |
|
eosxx
|
b66ca1787a
|
fix(nip04): crypto.subtle is undefined
|
2023-04-28 05:56:25 -03:00 |
|
fiatjaf_
|
278cdda9c2
|
Merge pull request #195 from alexgleason/get-signature
|
2023-04-24 07:28:06 -03:00 |
|
Alex Gleason
|
552530fa3f
|
Add back deprecated signEvent function with a warning
|
2023-04-24 01:22:12 -05:00 |
|
futpib
|
13e9b4aa3e
|
Add NIP-25 utils
|
2023-04-23 20:19:52 -03:00 |
|
Alex Gleason
|
9a3e05ce5f
|
Rename signEvent to getSignature
|
2023-04-23 11:13:15 -05:00 |
|
fiatjaf
|
55ff796b9f
|
v1.10.1
v1.10.1
|
2023-04-22 21:59:41 -03:00 |
|
fiatjaf_
|
3ef2ad5bc4
|
Merge pull request #194 from alexgleason/nip27
|
2023-04-22 21:58:36 -03:00 |
|
Alex Gleason
|
45c07a5f45
|
nip27: make matchAll a generator function
|
2023-04-22 19:22:06 -05:00 |
|
Alex Gleason
|
6a037d1658
|
nip27.find --> nip27.matchAll
|
2023-04-22 19:06:53 -05:00 |
|
Alex Gleason
|
dcf101c6c2
|
yarn format
|
2023-04-22 18:33:09 -05:00 |
|
Alex Gleason
|
eb97dbd9ef
|
Add NIP-21 and NIP-27 modules for parsing nostr URIs
|
2023-04-22 18:30:57 -05:00 |
|
Alex Gleason
|
92988051c6
|
Add Unlicense
|
2023-04-20 12:22:39 -03:00 |
|