One live subscription.
const sub: MockRelaySubscription = { windowId: 'w1', subId: 'sub-1', filters: [{ kinds: [1] }], send: console.log }; Copy
const sub: MockRelaySubscription = { windowId: 'w1', subId: 'sub-1', filters: [{ kinds: [1] }], send: console.log };
NIP-01 filters (OR).
Optional
Scoped relay URL when the request carried relay.
relay
Delivery callback of the relay.subscribe request; live events go through it.
relay.subscribe
Napplet-chosen subscription id.
Owning window.
One live subscription.
Example