Documentation
    Preparing search index...

    Interface ProxyOriginRegistry

    Minimal origin-registry contract used by per-domain proxies.

    Accepts the @kehto/shell singleton originRegistry as well as any test double with a matching postToNapplet method. NIP-5D carries every NAP message over the port bound by napplet.hello, never the iframe Window.

    interface ProxyOriginRegistry {
        postToNapplet(windowId: string, message: unknown): boolean;
    }
    Index

    Methods

    • Send one envelope over the window's bound NIP-5D port; false when unbound.

      Parameters

      • windowId: string
      • message: unknown

      Returns boolean