Commit Graph

23 Commits

Author SHA1 Message Date
fiatjaf
f42174b1cb use nostr-tools's getSignature instead of signEvent. 2023-06-10 22:27:48 -03:00
fiatjaf
0b1d849f19 rework permissions and popup prompts, make each permission fine grained. 2023-06-10 22:26:51 -03:00
fiatjaf
4759ce6d36 remove nip26.
https://fiatjaf.com/4c79fd7b.html
2023-06-09 16:24:04 -03:00
pablof7z
e96683d235 add nip-26 support 2023-03-15 12:19:00 -03:00
Fernando López Guevara
185ee772e1 fix(background): nostr-tools doesn't export nip04 file 2023-02-28 12:08:44 -03:00
fiatjaf
9817ce90a6 fix error message for invalid event. 2023-01-14 15:47:11 -03:00
fiatjaf
bdcf19ecef nostr: link replacing.
this commit also includes (unrelated) naïvely hiding the private key and displaying on blur/focus.
2023-01-05 22:48:54 -03:00
fiatjaf
6911f4b25b Revert "get rid of polyfill since this is just chrome anyway."
This reverts commit a935a8c026.
2022-12-18 14:42:37 -03:00
fiatjaf
a935a8c026 get rid of polyfill since this is just chrome anyway. 2022-12-18 07:42:54 -03:00
fiatjaf
546a6d35ef open options when the extension is loaded. 2022-12-18 07:42:54 -03:00
SondreB
43f4ee2785 Handle dismissal of extension prompt
- When user dismissed the window without choosing any option, it will now gracefully handle it.
- This has only been tested on Chromium.
- Closes #6
2022-07-25 13:19:23 -03:00
fiatjaf
64c12c2286 use a mutex to prevent multiple prompts from opening in loop. 2022-02-16 14:00:14 -03:00
fiatjaf
cce7cd00f9 change interface so signEvent() returns the full event with pubkey, sig and id. 2022-02-16 06:41:20 -03:00
fiatjaf
56cb50950f update nostr-tools and remove Buffer calls. 2022-02-15 19:54:36 -03:00
fiatjaf
259a37d4d7 add interface for getRelays() and bump version. 2022-02-15 16:15:27 -03:00
fiatjaf
643a0b759e return from onMessageExternal. 2022-02-15 14:08:44 -03:00
fiatjaf
d93f66675a handle messages from other extensions. 2022-02-14 21:17:19 -03:00
fiatjaf
3eba55a80d display params for immediate action on prompt window. 2022-02-14 21:15:55 -03:00
fiatjaf
4da894dea5 nip04.encrypt and nip04.decrypt. 2022-01-25 20:16:56 -03:00
fiatjaf
db20f0c370 working v1. 2022-01-14 09:54:14 -03:00
fiatjaf
0d38bc7eb3 a thousand fixes and now signEvent and getPublic are fully working. 2022-01-10 21:18:55 -03:00
fiatjaf
88a2dd806d basic functionality, untested. 2022-01-10 14:11:49 -03:00
fiatjaf
853a2b304b skeleton. 2022-01-09 21:30:15 -03:00