Commit Graph

15 Commits

Author SHA1 Message Date
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