Canton dApp Booster
    Preparing search index...

    Wiring for createFakeWallet. id is announced to window and doubles as the postMessage target and the display name unless target or name override it, and accounts defaults to one account with id as its party prefix. statusResponses is isConnected per successive status call, last entry repeating, which is how a test restores a session and then reports it locked.

    const options: FakeWalletOptions = { id: 'mock', statusResponses: [true, false] }
    
    interface FakeWalletOptions {
        accounts?: FakeWalletAccount[];
        id: string;
        name?: string;
        statusResponses?: boolean[];
        target?: string;
    }
    Index
    accounts?: FakeWalletAccount[]
    id: string
    name?: string
    statusResponses?: boolean[]
    target?: string