@contentauth/c2pa-js
    Preparing search index...
    interface Config {
        settings?: Settings;
        wasmSrc: string | Module;
        workerSrc?: URL;
    }
    Index

    Properties

    settings?: Settings

    Settings for the SDK. Will be inherited by created builders and readers.

    wasmSrc: string | Module

    URL to fetch the WASM binary or an already-instantiated WASM module.

    workerSrc?: URL

    HTTPS URL to the worker script. When provided the worker is loaded from this URL instead of an inline blob URL, which is required in environments with a strict Content Security Policy that disallows blob: worker sources.

    Host the file exported as @contentauth/c2pa-web/c2pa_worker alongside your application and pass its URL here.