fiatjaf / nos2x

nostr signer extension
281 stars 56 forks source link

default permissions to empty object #8

Closed monlovesmango closed 1 year ago

monlovesmango commented 1 year ago

if there are no existing permissions, updatePermissions will error when setting the host permissions. this defaults permissions to empty object (exactly like readPermissions does)

also fixes issue #3