NIP-07-compatible signer that proxies to browser extension, normalizing behavior across different implementations.
This signer delegates all operations to the browser's window.nostr object,
which is typically provided by browser extensions like Alby, nos2x, etc.
Usage:
const signer = new NBrowserSigner(); const pubkey = await signer.getPublicKey(); const event = await signer.signEvent({ kind: 1, content: 'Hello, world!', tags: [], created_at: 0 });