Commit Graph

153 Commits

Author SHA1 Message Date
Jon Staab 134692e5a1 Small tweaks to subscriptions 2024-12-02 16:18:38 -08:00
Jon Staab 2fbcfc59a1 Remove nostr-wasm, add event validation sampling 2024-11-21 16:04:08 -08:00
Jon Staab 75e0d0603b Fix connection error, bump versions 2024-11-18 17:26:13 -08:00
Jon Staab 2de2d24e0b Fix quote, retry errored sockets 2024-11-18 17:11:24 -08:00
Jon Staab 78bc9df7a6 Fix a type error 2024-11-13 10:30:05 -08:00
Jon Staab 76ad0ba976 Fix marking events as seen in subscriptions when not matched 2024-11-11 11:45:44 -08:00
Jon Staab 65719412a4 Emit send, even when it doesn't happen 2024-11-08 16:22:00 -08:00
Jon Staab 2878aeec64 Optimize feeds a bit more, push local relay url up a layer to avoid opting in when we don't want it 2024-11-08 15:29:11 -08:00
Jon Staab 07b439eef2 Warn when trying to connect to bad urls 2024-11-08 14:35:26 -08:00
Jon Staab f55660eb06 Fix rebase 2024-11-05 16:17:35 -08:00
Jon Staab 0ec2b6ec73 Re-work waiting for auth 2024-11-05 16:10:04 -08:00
Jon Staab ecb08cace9 Re-work connections and relay stats 2024-11-05 16:09:55 -08:00
Jon Staab 51f9ae2e29 Fix eose count on subscriptions against targets with fewer connections than relays 2024-10-31 15:18:06 -07:00
Jon Staab 5038046608 Skip adding ephemeral and dvm kinds to repository 2024-10-31 13:59:05 -07:00
Jon Staab c93d102c08 Wait for disconnect before removing listeners on connection 2024-10-30 13:26:32 -07:00
Jon Staab dc62248b7c Update signer to use get_public_key instead of assuming bunker key == user key 2024-10-28 15:43:34 -07:00
Jon Staab b34e4923a8 Reset auth when connection closes 2024-10-18 09:41:23 -07:00
Jon Staab c121997a5f Avoid infinite loop on failed claim; allow concurrent thunks 2024-10-17 12:49:42 -07:00
Jon Staab eec1552f5d Fix sync with dumb relays 2024-10-17 10:41:30 -07:00
Jon Staab 0523951e5a Re-work thunks 2024-10-17 08:38:53 -07:00
Jon Staab f841de2a50 Re-work connection auth 2024-10-14 15:18:21 -07:00
Jon Staab e025a8de36 Remove context onOk 2024-10-14 13:17:09 -07:00
Jon Staab c7816120b7 Wait for auth if status is unauthorized 2024-10-14 12:28:50 -07:00
Jon Staab cbf7aedfbf Track last auth on connection meta 2024-10-10 17:50:18 -07:00
Jon Staab 7aab6450b1 Fix memory leak, move onAuth and onOk handlers to connection 2024-10-10 17:08:30 -07:00
Jon Staab edaf47ea35 bump versions 2024-10-10 14:38:12 -07:00
Jon Staab b5809b6f72 Add util to derive repository store, modify tracker to track relays by id 2024-10-10 13:10:50 -07:00
Jon Staab f27a64250e Refine sync, move repository publish to global onEvent 2024-09-27 12:13:20 -07:00
Jon Staab 0c2e58811b Add legacy alternatives to sync 2024-09-27 08:59:53 -07:00
Jon Staab d1730e74a2 Add sync util 2024-09-26 17:36:08 -07:00
Jon Staab 5627721463 Add negentropy support to executor 2024-09-26 15:36:01 -07:00
Jon Staab bdf0e8b82c Add negentropy to net 2024-09-26 14:29:57 -07:00
Jon Staab c5364b60b8 Put tracker in a store 2024-09-11 14:07:34 -07:00
Jon Staab bece689530 Speed up profile loading 2024-09-10 09:58:46 -07:00
Jon Staab 3d2e98aacc Improve loading, including crucial bug preventing merged subscriptions from completing 2024-09-06 15:54:52 -07:00
Jon Staab 18db1421a9 Make dufflepud optional, fetch zappers/handles directly 2024-09-05 15:26:45 -07:00
Jon Staab ed7efac977 Fix hasValidSignature, rename to isValid 2024-09-05 13:57:51 -07:00
Jon Staab 44f29c9da4 rework context 2024-09-05 13:38:48 -07:00
Jon Staab 233a4e3576 Add shortcut handlers to subscribe 2024-09-05 11:47:38 -07:00
Jon Staab 06d3462f99 Approach request optimization differently 2024-09-03 17:50:59 -07:00
Jon Staab 6ee79eb219 Move router into app, and out of util 2024-09-03 16:39:06 -07:00
Jon Staab cb1993fa71 Fix relay stats tracking a bit 2024-09-02 16:39:08 -07:00
Jon Staab 6e1ad713c3 Add app package 2024-08-31 17:18:56 -07:00
Jon Staab 8a8bea71be Add message to handlers 2024-08-27 11:54:04 -07:00
Jon Staab b89ec16997 Add ensureAuth/authTimeout 2024-08-19 10:25:32 -07:00
Jon Staab e38422c9ba Use delay instead of immediate for batching subscriptions 2024-08-14 09:27:49 -07:00
Jon Staab 2c32817ed3 Fix encryptable, fix async deriveEventsMapped 2024-08-13 17:58:12 -07:00
Jon Staab 149c29472c Get rid of domain module, allow app to override default event type 2024-08-13 15:45:25 -07:00
Jon Staab 5a63273b9d Remove generics for event type 2024-08-13 09:30:55 -07:00
Jon Staab 5d2186825b Add memoize and batcher, bump versions 2024-08-12 11:17:27 -07:00