@websign/sdk - v0.1.0
    Preparing search index...

    Interface FakeOptions

    Options of installFakeWebSign; all optional.

    await installFakeWebSign({ scenario: "ready", certificates: [{ key: "RSA" }], latencyMs: 300 });
    
    interface FakeOptions {
        scenario?: FakeScenario;
        certificates?: readonly FakeCertificateOptions[];
        remembered?: boolean;
        latencyMs?: number;
        allowAnyOrigin?: boolean;
    }
    Index
    scenario?: FakeScenario

    The state of the visitor's computer. Default "ready".

    certificates?: readonly FakeCertificateOptions[]

    The person's certificates. Default: one EC P-256 and one RSA-2048. [] → NoCertificates.

    remembered?: boolean

    The person ticked "Remember this site" (status().remembered). Default false.

    latencyMs?: number

    Delay of every answer, in ms, to see loading states. Default 0 (next microtask).

    allowAnyOrigin?: boolean

    Install on a non-local origin (a staging server running e2e tests). Default false.