In-memory state of the identity mock.
const state = createMockIdentityService().mock.state();state.user === MOCK_ACCOUNTS[0].pubkey; Copy
const state = createMockIdentityService().mock.state();state.user === MOCK_ACCOUNTS[0].pubkey;
Badges reported by identity.getBadges.
identity.getBadges
Shared event store.
Current shell-user pubkey, or '' when signed out.
''
Windows that have sent an identity request (recipients of identity.changed).
identity.changed
Zap receipts reported by identity.getZaps.
identity.getZaps
In-memory state of the identity mock.
Example