@stigg/js-client-sdk - v3.100.1

    Class Stigg

    Hierarchy (View Summary, Expand)

    Implements

    Index

    Constructors

    Properties

    configuration: Required<ClientConfiguration>
    initializationStateTracker: InitializationStateTracker
    isWidgetWatermarkEnabled: boolean = false

    Use getShowWatermark instead

    Accessors

    Methods

    • Add a listener to handle updates of entitlements changes

      Type Parameters

      • K extends keyof Events

      Parameters

      • eventName: K
      • listener: Events[K]

      Returns void

    • Remove a listener to stop handle updates of entitlements changes

      Type Parameters

      • K extends keyof Events

      Parameters

      • eventName: K
      • listener: Events[K]

      Returns void

    • Set the customer ID, usually after the customer signs in or restores a session

      Parameters

      • customerId: string
      • customerToken: string | null = null
      • resourceId: string | null = null

      Returns Promise<void>

    • Set the customer's resource ID, usually after the customer select a specific resource.

      Parameters

      • resourceId: string

      Returns Promise<void>

    MMNEPVFCICPMFPCPTTAAATR