CartIdStorage
Pluggable persistence contract for the active cart's identifier.
cart-next ships as the default Next.js implementation; hosts on other transports (Redis, signed JWT, KV) can supply their own implementation and pass it to the reader / ensurer / typed-action factories.
Properties
Related
AuthBridge CreateTypedCartActionsOpts FormCartActions HttpOnlyCookieStorageOpts NextEventBridge TypedCartActions NextEventBridgeHandlers createCartEnsurer
AuthBridge
Pluggable identity bridge for updatebuyeridentity mutations in . Wire this to your auth session source so the cart layer can attach the active buyer without dep
createCartEnsurer
Builds an "ensure a cart exists" helper for server actions and RSC entry points that need a nonnull cart to operate on. Delegates to the supplied reader for the