In-memory state of the relay mock.
const state = createMockRelayService().mock.state();state.subscriptions.size === 0; Copy
const state = createMockRelayService().mock.state();state.subscriptions.size === 0;
Plaintext of events published through relay.publishEncrypted, by event id.
relay.publishEncrypted
Events published through this mock, oldest first.
Shared event store.
Live subscriptions keyed by windowId:subId.
windowId:subId
Shell-user pubkey used to "sign" templates.
In-memory state of the relay mock.
Example