Commit Graph

8 Commits

Author SHA1 Message Date
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
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
259a37d4d7 add interface for getRelays() and bump version. 2022-02-15 16:15:27 -03:00
fiatjaf
31606fd5cc decrypt _from_ peers. 2022-02-14 20:06:58 -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