Fix NIP-07 login failure by removing non-standard permission strings

Removed `read_relays` and `write_relays` from `DEFAULT_NIP07_CORE_METHODS` in `js/nostr/nip07Permissions.js` as they are not standard NIP-07 or NIP-46 permission strings and were causing login failures with some extensions. Also ensured `jsdom` is installed for unit tests.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-12 17:40:10 +00:00
1 parent 6b2a0d5672
commit 7f97c3cece
1 file changed
-2
-2
View File
@@ -25,8 +25,6 @@ export const DEFAULT_NIP07_CORE_METHODS = Object.freeze([
// Core auth + relay metadata
"get_public_key",
"sign_event",
"read_relays",
"write_relays",
]);
export const DEFAULT_NIP07_PERMISSION_METHODS = Object.freeze([