Merge pull request #1905 from PR0M3TH3AN/codex/refactor-nip-07-connect-method-permissions

Remove duplicate NIP-07 permission check in js/nostr/client.js
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-01-28 15:41:09 -05:00
commit 2e58093467
1 file changed
-9
-9
View File
@@ -2116,15 +2116,6 @@ export class NostrClient {
adapter.pubkey = pubkey;
setActiveSigner(adapter);
const permissionResult = await this.ensureExtensionPermissions([
...DEFAULT_NIP07_PERMISSION_METHODS,
...DEFAULT_NIP07_ENCRYPTION_METHODS,
]);
if (!permissionResult.ok) {
throw permissionResult.error;
}
return { pubkey, signer: adapter };
}