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
fiatjaf
b43e63f841
button to generate key.
...
fixes https://github.com/fiatjaf/nos2x/issues/11
2022-12-18 06:47:09 -03:00
fiatjaf
bcf96b8dc2
move button to save relays up.
2022-12-18 06:42:51 -03:00
fiatjaf
91ab9373d7
release 1.5.2
2022-12-15 18:34:59 -03:00
monlovesmango
11c792e9d6
default permissions to empty object
...
if there are no existing permissions, updatePermissions will error when setting the host permissions. this defaults permissions to empty object (exactly like readPermissions does)
2022-12-15 18:31:50 -03:00
fiatjaf
2bf96d83ca
saner updatePermission()
2022-12-07 07:52:38 -03:00
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