Interface: CreateCartRecoveryRunnerOptions
Properties
cartClient
cartClient:
CartClient
cookieMaxAge?
optionalcookieMaxAge?:number
Cookie maxAge propagated to all cookieStore.set calls.
cookieStore
cookieStore:
CartCookieStore
ensureCart?
optionalensureCart?: () =>Promise<{cart:CartFragment;secret?:string|null; }>
Initial-create payload override (default: empty cart). Must return the
created cart together with its one-time secret so the runner persists
the composite cookie.
Returns
Promise<{ cart: CartFragment; secret?: string | null; }>
initialCartId?
optionalinitialCartId?:string|null
Server-known cart-id seed — see
ExecuteWithCartRecoveryOptions.initialCartId. Applied to every
execute and getCart call on this runner instance.