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

    Interface Status

    What status reports. Never opens a window.

    const { ready, problem } = await status();
    if (!ready) show(errorText(problem, navigator.language));
    interface Status {
        extension: { installed: boolean; version?: string };
        app: { installed: boolean; version?: string; outdated: boolean };
        remembered: boolean;
        ready: boolean;
        problem?: StatusProblem;
    }
    Index
    extension: { installed: boolean; version?: string }
    app: { installed: boolean; version?: string; outdated: boolean }

    Type Declaration

    • Readonlyinstalled: boolean
    • Optional Readonlyversion?: string
    • Readonlyoutdated: boolean

      Older than the extension's minimum: signing will fail with AppOutdated.

    remembered: boolean

    The person ticked "Remember this site": certificates() answers without a window.

    ready: boolean

    Extension and app present and compatible: sign() can work.

    problem?: StatusProblem

    Why not ready, as the error sign() would reject with (absent when ready). Pass it to errorText() for a localized explanation.