Alex Gleason
|
c1bf326981
|
c.req.headers.get --> c.req.header, hono deprecation
|
2023-11-20 12:39:20 -06:00 |
Alex Gleason
|
6868f39719
|
NIP-46: request target proof-of-work difficulty when signing events
|
2023-11-20 12:34:19 -06:00 |
Alex Gleason
|
0adb6f5eba
|
Add messages to HTTPException's
|
2023-09-10 19:43:07 -05:00 |
Alex Gleason
|
dcc9d05ee5
|
auth98: fix nsec flow
|
2023-09-08 18:29:26 -05:00 |
Alex Gleason
|
3c45a4a3aa
|
sign: simplify awaitSignedEvent (remove unnecessary conditional, rearrange error, fix crash)
|
2023-09-02 22:39:35 -05:00 |
Alex Gleason
|
c8a5da086e
|
sign: ensure the NIP-46 result matches the template
|
2023-09-02 20:09:28 -05:00 |
Alex Gleason
|
7595dfa2e5
|
auth98: make requireProof obtain the event over NIP-46
|
2023-09-02 19:33:13 -05:00 |
Alex Gleason
|
c8d6389132
|
sign: refactor the unnecessarily complex awaitSignedEvent function
|
2023-09-02 18:56:42 -05:00 |
Alex Gleason
|
0a9b53bbc1
|
sign: fix parsing connect response from string to JSON
|
2023-08-26 22:49:32 -05:00 |
Alex Gleason
|
655004e775
|
Rework web signer to use NIP-46 events
|
2023-08-26 18:03:59 -05:00 |
Alex Gleason
|
60cecafdb5
|
Remove admin.ts, move to sign.ts, add createAdminEvent function
|
2023-08-26 12:48:08 -05:00 |
Alex Gleason
|
c15194020f
|
Delete event.ts, use nostr-tools types
|
2023-08-16 21:53:51 -05:00 |
Alex Gleason
|
893542cf58
|
Reorganize some nostr schema code
|
2023-08-12 11:30:57 -05:00 |
Alex Gleason
|
d7d5057617
|
Support nip98 auth
|
2023-07-08 18:41:11 -05:00 |
Alex Gleason
|
161c77b85d
|
Streaming: parse stream channel param
|
2023-05-20 23:47:51 -05:00 |
Alex Gleason
|
da6e31c647
|
Validate event signing, make it more Mastodonic
|
2023-05-20 21:16:22 -05:00 |
Alex Gleason
|
ec5e0ed330
|
Streaming: refactor, add unsubscribeAll method
|
2023-05-20 20:23:01 -05:00 |
Alex Gleason
|
3ffad1df29
|
Build a websocket topics framework
|
2023-05-20 19:39:05 -05:00 |
Alex Gleason
|
91bc0549c7
|
sign: 504 --> 408
|
2023-05-13 21:25:43 -05:00 |
Alex Gleason
|
c14ebe6631
|
sign: only add stream if nostr=true on the user stream (still subject to change)
|
2023-05-13 21:05:55 -05:00 |
Alex Gleason
|
ce02f7d56c
|
Update streaming comments
|
2023-05-13 20:16:44 -05:00 |
Alex Gleason
|
9ff5e7c738
|
Websocket signing kind of works!!
|
2023-05-13 19:48:08 -05:00 |
Alex Gleason
|
1271e36f7e
|
Throw a user-friendly error when a private key isn't provided
|
2023-05-07 15:43:38 -05:00 |
Alex Gleason
|
9734d0a961
|
lint
|
2023-04-29 21:57:30 -05:00 |
Alex Gleason
|
693c7cc7bf
|
Sign events from app context
|
2023-04-29 21:48:22 -05:00 |