Minimal outbound target for one napplet. NIP-5D carries every NAP message over the port bound by napplet.hello, so this never wraps the iframe Window.
napplet.hello
Window
originRegistry.getNappletTarget('napp-1')?.postMessage({ type: 'relay.eose', subId }); Copy
originRegistry.getNappletTarget('napp-1')?.postMessage({ type: 'relay.eose', subId });
Post one NAP envelope over the bound port. Dropped when no port is bound.
Minimal outbound target for one napplet. NIP-5D carries every NAP message over the port bound by
napplet.hello, so this never wraps the iframeWindow.Example