Hierarchy

Constructors

Properties

_agent: Agent<Service>
_receiptsEndpoint: string | URL
_serviceConf: ServiceConf

Accessors

Methods

  • Redeems coupon from the the the archive. Throws an error if the coupon password is invalid or if provided archive is not a valid.

    Parameters

    • archive: Uint8Array
    • Optional options: {
          password: undefined | string;
      } = {}
      • password: undefined | string

    Returns Promise<GrantedAccess>

Generated using TypeDoc