Commit Graph

50 Commits

Author SHA1 Message Date
Jon Staab ca38cbe20b Re-work publishing of wrapped events 2025-10-20 14:19:44 -07:00
Jon Staab 5c03ff3e29 Pass pubkey to nip 55 signer to avoid mixing up sessions 2025-10-13 11:20:01 -07:00
Jon Staab 728140c77c Propagate errors in signers 2025-09-22 11:41:21 -07:00
Jon Staab a3295dc2fe Add sign timeout to thunk 2025-09-16 11:56:00 -07:00
Jon Staab 1f5f869f7c Load user data before updating, prefer newer events in repository over old ones with the same created_at, add list update utils 2025-08-01 13:09:50 -07:00
Jon Staab bd67f2763d Add wrapped signer and signer log; fix adapter unsubscribing in app storage; add more details to thunk signing error, handle signing errors in auth 2025-07-29 11:11:40 -07:00
Jon Staab 3249346b95 Validate signer pubkey in bunker link 2025-07-15 10:59:21 -07:00
Jon Staab 4cabf53c2f Add docs for blossom, add nip 86 and 98 support 2025-06-10 13:18:03 -07:00
Jon Staab 96b1f8872c Parse lightning prefix on invoices 2025-05-09 08:28:33 -07:00
Jon Staab bfa2ac4f53 Remove nip46 broker getter, since websocket connections were getting closed and interrupting login flows 2025-05-07 13:50:48 -07:00
Jon Staab 5aec922dee Ignore auth url responses when waiting for nostconnect 2025-05-07 10:12:07 -07:00
Jon Staab 9e8dc7b26d Bring back repository store 2025-05-05 15:38:48 -07:00
Jon Staab 6589886df2 Thread context through feed controller 2025-05-05 14:05:34 -07:00
Jon Staab bdef37d404 Update docs for app session 2025-04-11 10:26:38 -07:00
Jon Staab 837fd1ab66 Update publish 2025-04-11 08:03:44 -07:00
Jon Staab 989fc74374 Change requests from classes to functions 2025-04-10 10:38:47 -07:00
Jon Staab 05a9d6461b Accept multiple filters to request 2025-04-01 13:15:50 -07:00
Jon Staab 5245993d4e Fix nip46 2025-03-31 09:45:44 -07:00
Jon Staab 4237b145ae Use default pool, make adapter context optional 2025-03-31 09:35:48 -07:00
Jon Staab 4e49410b8b Fix sending nip46 signer pubkey on connect 2025-03-24 12:36:01 -07:00
Ticruz 8c638a7d8f More tests 2025-02-28 14:18:02 -08:00
Jon Staab 6b9e5ae77f Move subscription to a class 2025-01-24 10:05:04 -08:00
Jon Staab 2353cce832 Move parseBunkerUrl to static method, add getBunkerUrl 2025-01-22 09:46:48 -08:00
Jon Staab 462a2afe45 Use template strings instead of join for speed 2025-01-02 10:41:26 -08:00
Jon Staab b4ad14e41c Remove first argument to connect, always send the signer pubkey 2024-12-30 09:09:00 -08:00
Jon Staab f33e03740e Remove tsc-multi, re-install gts, apply autoformatting and linting 2024-12-17 12:55:37 -08:00
Jon Staab 0fcb2482d8 Implement custom throttle function for performance 2024-12-11 16:41:31 -08:00
Jon Staab d9ebaf6e14 Make toNostrURI idempotent 2024-12-05 09:55:32 -08:00
Jon Staab 134692e5a1 Small tweaks to subscriptions 2024-12-02 16:18:38 -08:00
Jon Staab d52b192daa Refactor nip46 2024-12-02 15:17:22 -08:00
Jon Staab 26c2fc133a Switch default encryption algorithm for nip46 to nip 44 2024-11-22 08:36:14 -08:00
Jon Staab 86c710f40f Avoid duplicate auth_urls 2024-11-20 10:27:11 -08:00
Jon Staab 8ff22b4fea Small fixes 2024-11-13 16:14:36 -08:00
Jon Staab c049ecb6a8 Accept ack responses in nip46 initiate 2024-11-13 09:51:55 -08:00
Jon Staab 3d8c33a49f Simplify nip46 initiate 2024-11-12 11:10:56 -08:00
Jon Staab 75bb578192 Fix createAccount 2024-11-08 16:24:49 -08:00
Jon Staab 65719412a4 Emit send, even when it doesn't happen 2024-11-08 16:22:00 -08:00
Jon Staab 8b320e7c9f Add initialize to nip46 2024-11-08 14:11:53 -08:00
Jon Staab fd0e710672 Reduce signer throttling 2024-11-02 07:28:52 -07:00
Jon Staab 0ac4cc66f4 Add logging to nip46 2024-11-02 07:24:24 -07:00
Jon Staab a25adeb235 Add parseBunkerLink 2024-10-29 15:27:26 -07:00
Jon Staab 5babdd8143 Throttle nip46 signer requests 2024-10-29 08:48: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
Chris Daley e1f8d6a4e0 Add NIP 55 signer support 2024-09-30 15:41:50 -07:00
Jon Staab 8d3ca2ef6a Remove CustomEvent 2024-08-19 08:59:39 -07:00
Jon Staab bd65aca99d Add some utils, add support for nip44 encryption to nip46 signer 2024-08-16 09:44:19 -07:00
Jon Staab 2c32817ed3 Fix encryptable, fix async deriveEventsMapped 2024-08-13 17:58:12 -07:00
Jon Staab 5d2186825b Add memoize and batcher, bump versions 2024-08-12 11:17:27 -07:00
Jon Staab a8d0f5bc4f Name signers after nips 2024-08-08 11:43:29 -07:00
Jon Staab bb7a370fba Add signer 2024-08-07 11:09:40 -07:00