Documentation
    Preparing search index...

    Interface IdentityProxy

    Per-domain proxy for identity.* envelopes.

    dispatch routes napplet→shell requests into the runtime. The deprecated emit member remains only as a fail-closed compatibility trap.

    interface IdentityProxy {
        dispatch(windowId: string, envelope: NappletMessage): void;
        emit(windowId: string, envelope: NappletMessage): void;
    }
    Index

    Methods

    Methods

    • Route a napplet-originated identity.* envelope into the runtime.

      Delegation only — the runtime already owns identity.* dispatch after Plan 12-03. Override by wrapping or replacing this method.

      Parameters

      • windowId: string

        The source napplet's windowId

      • envelope: NappletMessage

        The NIP-5D NappletMessage envelope

      Returns void