adam-sdk
    Preparing search index...

    Interface AvatarSDKOptions

    Configuration options for the AvatarSDK. These options are provided during the SDK's instantiation.

    interface AvatarSDKOptions {
        logLevel?: "none" | "error" | "info" | "warn";
        targetOrigin?: string;
    }
    Index

    Properties

    logLevel?: "none" | "error" | "info" | "warn"

    The desired level of logging for the SDK.

    • none: No logs will be shown.
    • error: Only error messages will be displayed.
    • warn: Warnings and errors will be displayed.
    • info: Informational messages, warnings, and errors will be displayed.
    'info'
    
    targetOrigin?: string

    The target origin for postMessage communication. If not provided, it will be inferred from the iframe's src attribute.

    new URL(iframeElement.src).origin