Wocart

@wocart/storefront v3.1.0


@wocart/storefront / server / PreviewTokenOptions

Interface: PreviewTokenOptions

Properties

audience

audience: string

This storefront's origin (https://store.example).


now?

optional now?: number

Seconds since the epoch; defaults to now.


publicKey

publicKey: string | JsonWebKey

The Ed25519 public key, as a JWK ({"kty":"OKP","crv":"Ed25519","x":"…"}, a JSON string or object).


theme

theme: string

This theme's key.