-
98ef2c3e3e
Add new publish function
Jon Staab
2024-04-04 16:58:04 -07:00
-
babbb897bf
Bump versions
Jon Staab
2024-04-04 10:25:02 -07:00
-
7369074741
Put dropped router values into top relay selections
Jon Staab
2024-04-04 10:22:24 -07:00
-
6220cd152c
Inflate redundancy when few values are being requested
Jon Staab
2024-04-03 13:01:51 -07:00
-
94f6e676a7
Back to lists
Jon Staab
2024-04-03 10:49:54 -07:00
-
8319ba4862
Move hints back to strings, make sure the strings are what the user asked for
Jon Staab
2024-04-02 16:35:26 -07:00
-
d159b94eeb
Rework relay selections to use tags
Jon Staab
2024-04-02 09:13:54 -07:00
-
6ce09cb4c8
Add some utility functions
Jon Staab
2024-03-29 09:33:35 -07:00
-
59511be1aa
Replace Subscription with Subscribe, add NetworkContext
Jon Staab
2024-03-28 09:56:17 -07:00
-
46e91c54ec
Add choice, remove AllMessages scenario
Jon Staab
2024-03-27 14:04:05 -07:00
-
110ed26efe
Add Store
Jon Staab
2024-03-26 13:31:13 -07:00
-
bc21228f04
replace queue with worker
Jon Staab
2024-03-26 11:35:30 -07:00
-
0b5a4e8511
Add zap utils
Jon Staab
2024-03-25 16:52:49 -07:00
-
eb9c778a66
Add context util
Jon Staab
2024-03-25 15:02:29 -07:00
-
54e0775453
Switch to monorepo setup
Jon Staab
2024-03-25 14:22:33 -07:00
-
74b926e227
Separate general purpose utils and protocol-related utils
Jon Staab
2024-03-25 10:38:16 -07:00
-
bb983d8207
rename main to index
Jon Staab
2024-03-25 10:30:08 -07:00
-
bd3351d043
Fix sorting relays by score
Jon Staab
2024-03-22 15:32:01 -07:00
-
86870e6fd7
Use user relays for basic scenarios
Jon Staab
2024-03-21 10:11:59 -07:00
-
c6c8806b0c
Allow relay requests through, fix positional e/a replies when mixed with q tags
Jon Staab
2024-03-21 08:49:39 -07:00
-
7b00e169fb
Bump version
Jon Staab
2024-03-11 14:48:36 -07:00
-
dff6febd41
Inline normalize-url
Jon Staab
2024-03-11 14:38:04 -07:00
-
5a94bfd235
Fix quotes being mis-labeled as replies
Jon Staab
2024-03-08 15:05:29 -08:00
-
3e27746617
loosen up slow connection threshold
Jon Staab
2024-03-08 14:21:07 -08:00
-
446e2bc52e
Add isChildOf
Jon Staab
2024-03-06 12:46:35 -08:00
-
5f5e46f603
Bump version
Jon Staab
2024-03-06 09:10:35 -08:00
-
8ac5173d5b
improve parent hints
Jon Staab
2024-03-06 09:07:28 -08:00
-
25cca2935f
Fix parent hints
Jon Staab
2024-03-05 16:32:06 -08:00
-
cc8f77726a
Fix fallbacks
Jon Staab
2024-03-05 16:09:21 -08:00
-
4e4039ea7a
Re-work address
Jon Staab
2024-03-05 15:29:01 -08:00
-
2debb7f614
Tweak scoring algo
Jon Staab
2024-03-04 09:41:43 -08:00
-
0c5a5bce9b
Add support for q tags
Jon Staab
2024-03-02 04:35:46 -08:00
-
42245183b6
Improve Address utility
Jon Staab
2024-03-01 15:55:32 -08:00
-
d5324627df
Move fallback polices to router
Jon Staab
2024-03-01 14:37:59 -08:00
-
5aeafd6932
Tweak connection stuff
Jon Staab
2024-03-01 13:48:49 -08:00
-
e7b604711a
rework router
Jon Staab
2024-03-01 10:05:07 -08:00
-
e995141201
Get routing working
Jon Staab
2024-02-29 17:19:04 -08:00
-
94e19a5760
re work tags again
Jon Staab
2024-02-26 16:37:04 -08:00
-
a78e72310d
Add new router helper for relay hints
Jon Staab
2024-02-02 16:46:33 -08:00
-
aa963af77e
More re-work of Tags
Jon Staab
2024-01-24 09:30:17 -08:00
-
4fb072ec0a
Add new tags utility
Jon Staab
2023-12-14 05:44:58 -08:00
-
ee375813e4
Add connect directory, update readme
Jon Staab
2024-02-02 12:35:38 -08:00
-
c7e3acb657
Handle targets that have no connections when closing on eose
Jon Staab
2024-02-26 12:38:51 -08:00
-
d02794998e
Change how events are re-sent when auth is done
Jon Staab
2024-02-23 10:57:39 -08:00
-
516299e4c4
Resend messages rejected because of auth challenge
Jon Staab
2024-02-14 09:43:32 -08:00
-
4a0ae3770e
Catch failure to verify events
Jon Staab
2024-02-09 14:06:01 -08:00
-
7cb792ba17
Upgrade nostr-tools, add groups/circles to Tags
Jon Staab
2024-01-09 11:01:10 -08:00
-
0af0375f62
Handle failure to derive event hash
Jon Staab
2024-01-01 09:19:17 -08:00
-
2a402f1190
Fix verify signature
Jon Staab
2023-12-15 14:59:23 -08:00
-
03c2c369f5
Swap out yarn for pnpm
Jon Staab
2023-12-13 14:39:24 -08:00
-
66c6abd1a8
remove vite config
Jon Staab
2023-12-13 14:18:59 -08:00
-
d01b05e2a2
Speed up lru cache splice
Jon Staab
2023-12-11 12:26:03 -08:00
-
1e2d806d25
Fix LRUCache eviction
Jon Staab
2023-12-11 12:04:55 -08:00
-
bdaf42f213
Allow opting out of signature validation
Jon Staab
2023-12-05 12:34:34 -08:00
-
51bd938913
remove normalize, use getAncestors instead
Jon Staab
2023-12-04 15:22:28 -08:00
-
2b901f1ba2
Make executor.publish's signature more permissive
Jon Staab
2023-12-01 10:04:07 -08:00
-
8d6839f9e4
Add flatMap to Fluent
Jon Staab
2023-11-30 16:15:01 -08:00
-
2e925b9821
Fix dropped tags
Jon Staab
2023-11-30 10:58:14 -08:00
-
fddd09af09
Replace Tags.getCommunity with Tags.communities
Jon Staab
2023-11-22 11:20:58 -08:00
-
cf5bd3312c
Fix tags dropping non-reply/root
Jon Staab
2023-11-22 08:02:09 -08:00
-
c9d3cd910b
Fix Tags.normalize
Jon Staab
2023-11-16 04:55:20 -08:00
-
de186dfd7b
Fix mis-identification of legacy tags for mentions
Jon Staab
2023-11-13 13:30:43 -08:00
-
e38ee0a4e0
Replace valueEquals with nthEq
Jon Staab
2023-11-13 11:58:29 -08:00
-
b23d69ff16
Add stricter check for legacy tags
Jon Staab
2023-11-10 22:57:56 -08:00
-
63e14542ff
Fix tag normalization
Jon Staab
2023-11-10 22:46:11 -08:00
-
d2ae601ac0
Fix premature closure of connections, add Tags util
Jon Staab
2023-11-09 15:28:10 -08:00
-
05307a7780
Remove executor load/count, add closeOnEose to subscription
Jon Staab
2023-10-26 11:52:34 -07:00
-
495f19b56d
Add now for real
Jon Staab
2023-10-26 10:53:58 -07:00
-
6cf0ff3c3c
Add createEvent and now
Jon Staab
2023-10-26 10:49:39 -07:00
-
77dc2144d3
Add Subscription
Jonathan Staab
2023-10-25 11:21:32 -07:00
-
7f1ac721dc
Warn on non-array messages from sockets
Jonathan Staab
2023-10-02 13:22:35 -07:00
-
11499ec04f
Return unsubscribe from load
Jonathan Staab
2023-09-20 17:49:23 -07:00
-
7be9591557
Add version badge
Jonathan Staab
2023-09-20 14:09:23 -07:00
-
7ee07e6f5e
Use files instead of npmignore
Jonathan Staab
2023-09-20 14:00:19 -07:00
-
f89c63d67c
Switch to gts/tsc-multi
Jonathan Staab
2023-09-20 13:52:37 -07:00
-
c8c53559db
Fix some memory leaks, add executor.load and some utils
Jonathan Staab
2023-09-20 12:13:08 -07:00
-
4ce450f55c
Tweak some typescript things
Jonathan Staab
2023-09-20 10:28:57 -07:00
-
25adcc71ef
Tweak some typescript things
Jonathan Staab
2023-09-20 10:28:15 -07:00
-
7c9039704c
Add types file
Jonathan Staab
2023-09-20 09:38:00 -07:00
-
1d39da19f1
Only reset auth status on successful auth
Jonathan Staab
2023-09-18 11:40:45 -07:00
-
47ddbf6498
Add custom emitter and wrapper target
Jonathan Staab
2023-09-14 13:07:01 -07:00
-
3b9b6f9dc0
Shorten reconnect timeout
Jonathan Staab
2023-08-16 13:51:08 -07:00
-
a909ab6d28
Handle notices, don't send reqs that have already been closed
Jonathan Staab
2023-08-15 14:21:15 -07:00
-
ee1ac84ab7
Re-organize connection management
Jonathan Staab
2023-08-14 16:31:17 -07:00
-
3caa4c31d1
Allow reusing sockets by moving some logic to onClose
Jonathan Staab
2023-08-07 15:54:08 -07:00
-
5d86ec639e
Handle AUTH at the socket level
Jonathan Staab
2023-08-04 14:26:14 -07:00
-
9dad35ce20
Remove listeners from sockets on disconnect
Jonathan Staab
2023-08-02 11:45:15 -07:00
-
ef18009d33
Send sockets to listeners rather than urls
Jonathan Staab
2023-07-27 08:40:39 -07:00
-
e9d7ad166e
Tweak socket work cadence
Jonathan Staab
2023-07-20 10:18:16 -07:00
-
5cbb229708
Fix const bug
Jonathan Staab
2023-07-20 10:05:09 -07:00
-
d6defe2844
Send close only if not already closed
Jonathan Staab
2023-07-20 10:03:37 -07:00
-
0b8eef041d
Bump version
Jonathan Staab
2023-07-12 17:10:40 -07:00
-
4d6ea603ff
Refactor everything to use EventEmitter
Jonathan Staab
2023-07-07 17:37:35 -07:00
-
46470aabe4
Switch to yarn
Jonathan Staab
2023-07-07 16:34:44 -07:00
-
b74f2e8e3d
Add sockets property to all targets
Jonathan Staab
2023-04-25 15:08:31 -05:00
-
7cfd022f16
Remove event id check in handleAuth since request/response might span multiple executors
Jonathan Staab
2023-04-20 11:52:14 -05:00
-
fe23f28606
Remove nostr-tools dependency
Jonathan Staab
2023-04-04 09:35:31 -05:00
-
30b6dcd687
Fix subscription id length, allow custom verb in publish in order to support AUTH
Jonathan Staab
2023-04-03 10:08:15 -05:00
-
11986c79c7
Fix event callback
Jonathan Staab
2023-03-29 14:00:43 -05:00
-
6c4c08c1eb
Add error property to socket
Jonathan Staab
2023-03-29 11:08:00 -05:00