Commit Graph

24 Commits

Author SHA1 Message Date
fiatjaf
62b16a24c6 show npub key by default. 2022-11-04 22:24:44 -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
SondreB
1a4038a625 Remove the request promise when resolved/rejected 2022-06-26 20:35:21 -03:00
fiatjaf
33fbd39c6d buttons to save settings. 2022-04-20 11:11:48 -03:00
fiatjaf
64c12c2286 use a mutex to prevent multiple prompts from opening in loop. 2022-02-16 14:00:14 -03:00
fiatjaf
48846e2381 params is null when empty object. 2022-02-16 13:40:32 -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
414c0ea337 add list of "preferred" relays with policies. 2022-02-15 16:09:33 -03:00
fiatjaf
643a0b759e return from onMessageExternal. 2022-02-15 14:08:44 -03:00
fiatjaf
02dc0c3f46 align version with firefox branch. 2022-02-14 21:20:20 -03:00
fiatjaf
c00c3f8c86 bump version. 2022-02-14 21:18:38 -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
31606fd5cc decrypt _from_ peers. 2022-02-14 20:06:58 -03:00
fiatjaf
114eccc318 adapt manifest.json to v3. 2022-01-26 22:05:57 -03:00
fiatjaf
4da894dea5 nip04.encrypt and nip04.decrypt. 2022-01-25 20:16:56 -03:00
fiatjaf
a904d9deda remove unnecessary activeTab permission. 2022-01-20 14:04:38 -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
233aaa0f8f making it work. 2022-01-10 15:55:48 -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