Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Network.TrustTokenOperationDoneEvent

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Network.TrustTokenOperationDoneEvent
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { TrustTokenOperationDoneEvent } = Protocol.Network;

Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.

Properties

status: (
| "Ok"
| "InvalidArgument"
| "FailedPrecondition"
| "ResourceExhausted"
| "AlreadyExists"
| "Unavailable"
| "BadResponse"
| "InternalError"
| "UnknownError"
| "FulfilledLocally"
)

Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit). (TrustTokenOperationDoneEventStatus enum)

type: TrustTokenOperationType
requestId: RequestId
optional
topLevelOrigin: string

Top level origin. The context in which the operation was attempted.

optional
issuerOrigin: string

Origin of the issuer in case of a "Issuance" or "Redemption" operation.

optional
issuedTokenCount: integer

The number of obtained Trust Tokens on a successful "Issuance" operation.