@vio-live/web-sdk 0.27.0 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -193,6 +193,10 @@ interface Sponsor {
193
193
  logoUrl?: string | null;
194
194
  primaryColor?: string | null;
195
195
  secondaryColor?: string | null;
196
+ /** The brand's purchase terms (its own page, e.g. its shop's terms of service). */
197
+ termsUrl?: string | null;
198
+ /** The brand's returns / refund policy page. */
199
+ refundPolicyUrl?: string | null;
196
200
  commerce: SponsorCommerceBlock;
197
201
  }
198
202
  /**
@@ -616,6 +620,22 @@ interface CartChangeDetail {
616
620
  cartsBySponsor: Map<number, SponsorCartState>;
617
621
  itemCount: number;
618
622
  }
623
+ /**
624
+ * Detail of `vio:cart-updated` (on `document`): a sponsor's cart as it stands
625
+ * after this tab learned of it from somewhere other than its own taps —
626
+ * `source: 'server'`: GetCart, applied right before a checkout is built on it
627
+ * (`refreshFromServer`); `source: 'storage'`: another tab of the same site
628
+ * wrote it (an add there, a payment that cleared it). The lines are copies.
629
+ */
630
+ interface CartUpdatedDetail {
631
+ sponsorId: number;
632
+ cartId?: string;
633
+ items: CartLineItem[];
634
+ itemCount: number;
635
+ subtotal: number;
636
+ currency: string;
637
+ source: 'server' | 'storage';
638
+ }
619
639
  interface AddProductOptions {
620
640
  product: Product;
621
641
  sponsorId: number;
@@ -701,6 +721,9 @@ declare class CartManager extends EventTarget {
701
721
  * Overwrite local cart state with the backend cart response (source of
702
722
  * truth). `opts.settling` is the mutation whose answer this is: it does not
703
723
  * count as "in flight" for the origins (see `hasMutationsInFlight`).
724
+ * `opts.authoritative` is a GetCart taken with nothing of this tab's in
725
+ * flight (`refreshFromServer`): an empty answer then means the cart IS
726
+ * empty, and the local lines go — not an add still on its way.
704
727
  */
705
728
  updateFromBackendCart(sponsorId: number, backendCart: {
706
729
  cart_id?: string;
@@ -732,6 +755,7 @@ declare class CartManager extends EventTarget {
732
755
  }>;
733
756
  }, opts?: {
734
757
  settling?: Promise<unknown>;
758
+ authoritative?: boolean;
735
759
  }): void;
736
760
  /** Add a Product DTO to a sponsor's cart. Bumps quantity if already present.
737
761
  * When a variantId is given, the line uses the VARIANT's price / image / title
@@ -773,6 +797,32 @@ declare class CartManager extends EventTarget {
773
797
  clearAllCarts(): void;
774
798
  /** Refresh the local cart from the backend (source of truth). */
775
799
  fetchCartFromBackend(sponsorId: number): Promise<unknown>;
800
+ /**
801
+ * The cart as the server has it, for the moment a checkout is about to be
802
+ * built on it: what the shopper is about to pay must be what the page shows.
803
+ * Waits for this tab's own mutations (their answers are the server's too),
804
+ * then applies GetCart as it is — a line another tab added, one it removed,
805
+ * an empty cart — and tells the page: `change` for the drawer, and
806
+ * `vio:cart-updated` on `document` (`source: 'server'`) for a host that
807
+ * draws its own. A mutation that starts while the server is answering makes
808
+ * that answer old: it is asked once more. Nothing to ask without a backend
809
+ * cart. A GetCart that fails leaves the local state as it was and does not
810
+ * throw — the checkout then goes on with the lines the last mutation
811
+ * answered, as it always did. Resolves with the sponsor's cart.
812
+ */
813
+ refreshFromServer(sponsorId: number): Promise<SponsorCartState | undefined>;
814
+ /** `vio:cart-updated` on `document` — see `CartUpdatedDetail`. */
815
+ private emitCartUpdated;
816
+ /**
817
+ * Another tab of the site wrote the carts: adopt what it wrote, sponsor by
818
+ * sponsor — its lines and its backend cart id, or nothing when it cleared
819
+ * the cart (a payment) — except for a sponsor this tab is mid-write for:
820
+ * its own answer lands in a moment and is persisted then, over whatever
821
+ * the other tab had. `key` is null when the other tab cleared the whole
822
+ * storage. Says `change` (the drawer) and `vio:cart-updated` per sponsor
823
+ * that changed (`source: 'storage'`); nothing when nothing did.
824
+ */
825
+ private onStorage;
776
826
  /** Line items grouped by supplier (shipping is per-supplier server-side). */
777
827
  fetchLineItemsBySupplier(sponsorId: number): Promise<unknown>;
778
828
  /** Set the chosen shipping option per supplier on the backend cart. */
@@ -832,6 +882,10 @@ interface SponsorIdentity {
832
882
  /** The brand's logo, as the bootstrap gives it (never rewritten); `null` when it has none. */
833
883
  logoUrl: string | null;
834
884
  avatarUrl: string | null;
885
+ /** The brand's purchase terms page — https only; `null` when it has none. */
886
+ termsUrl?: string | null;
887
+ /** The brand's returns / refund policy page — https only; `null` when it has none. */
888
+ refundPolicyUrl?: string | null;
835
889
  }
836
890
  /** The sponsor of a checkout / an order as events and `getOrderReference` carry it. */
837
891
  type CheckoutSponsor = Pick<SponsorIdentity, 'id' | 'name' | 'logoUrl'>;
@@ -1183,7 +1237,7 @@ declare function normalizeScope(scope: string | null | undefined): string;
1183
1237
  * 3. `vio:analytics` DOM event — always when started (inspector/bridges)
1184
1238
  */
1185
1239
 
1186
- declare const ANALYTICS_EVENT_NAMES: readonly ["view_item_list", "select_item", "view_item", "add_to_cart", "remove_from_cart", "view_cart", "begin_checkout", "purchase", "component_impression", "component_click", "ad_impression", "ad_click", "poll_impression", "contest_impression", "session_start", "session_end", "checkout_error", "sdk_error"];
1240
+ declare const ANALYTICS_EVENT_NAMES: readonly ["view_item_list", "select_item", "view_item", "add_to_cart", "remove_from_cart", "view_cart", "begin_checkout", "add_payment_info", "purchase", "component_impression", "component_click", "ad_impression", "ad_click", "poll_impression", "contest_impression", "session_start", "session_end", "checkout_error", "sdk_error"];
1187
1241
  type AnalyticsEventName = (typeof ANALYTICS_EVENT_NAMES)[number];
1188
1242
  /** Camel-case for DX; mapped to the snake_case wire format at build time. */
1189
1243
  interface AnalyticsContext {
@@ -1229,7 +1283,14 @@ interface AnalyticsCommerce {
1229
1283
  items?: AnalyticsItemInput[];
1230
1284
  value?: number;
1231
1285
  currency?: string;
1286
+ /**
1287
+ * `order_id` on the wire. On a `purchase` it is Vio's order number (`4415`,
1288
+ * the number the dashboard and Commerce's cancellations use), else the
1289
+ * checkout id standing in for it (`props.order_id_kind` says which).
1290
+ */
1232
1291
  orderId?: string;
1292
+ /** `checkout_id` on the wire: Vio's checkout id (uuid). Always on the SDK's own `purchase`. */
1293
+ checkoutId?: string;
1233
1294
  paymentMethod?: string;
1234
1295
  /**
1235
1296
  * The buyer reference (`buyer_id` on the wire): shopcart's `buyer_ref`, a
@@ -1301,6 +1362,14 @@ declare class AnalyticsManager extends EventTarget {
1301
1362
  private client;
1302
1363
  /** The landing it was read from — persisted later when consent arrives after the first event. */
1303
1364
  private landing;
1365
+ /** Checkouts (`c:<id>`) and orders (`o:<number>`) this page load reported a `purchase` for: one each. */
1366
+ private readonly purchased;
1367
+ /** Checkouts this page load reported an `add_payment_info` for: one each. */
1368
+ private readonly paymentInfoReported;
1369
+ /** Purchases still waiting for Vio's order number: each sends at once, with what it has, when called. */
1370
+ private readonly pendingPurchases;
1371
+ /** Between `pagehide` and `pageshow` (bfcache): nothing waits, it all goes out now. */
1372
+ private pageHiding;
1304
1373
  /** The landing this manager resolved on this page load (the first event's), or null before it; read only — for the order's entry context when nothing is stored yet. */
1305
1374
  get currentLanding(): Landing | null;
1306
1375
  private teardown;
@@ -1319,12 +1388,14 @@ declare class AnalyticsManager extends EventTarget {
1319
1388
  /** ¿Podemos escribir en el dispositivo? */
1320
1389
  private get canPersist();
1321
1390
  start(options?: AnalyticsStartOptions): void;
1322
- /** Stop timers + listeners (tests / SPA unmount). Queue survives. */
1391
+ /** Stop timers + listeners (tests / SPA unmount). Queue survives — a purchase still waiting for its order number joins it now. */
1323
1392
  stop(): void;
1324
1393
  /** Attach the partner's user id (opaque) to all subsequent events. */
1325
1394
  identify(externalUserId: string | null): void;
1326
1395
  /** Queue one event. Works pre-init and pre-start (SSR: no-op). */
1327
1396
  track(name: AnalyticsEventName, opts?: TrackOptions): void;
1397
+ /** The sinks and the queue for one built event — `track`'s second half. */
1398
+ private record;
1328
1399
  /**
1329
1400
  * Impression helper: observes an element and tracks ONE
1330
1401
  * `component_impression` per (session, campaignComponentId) when the
@@ -1361,6 +1432,42 @@ declare class AnalyticsManager extends EventTarget {
1361
1432
  * writes ZERO tracking code for the commerce funnel.
1362
1433
  */
1363
1434
  private installAutoListeners;
1435
+ /**
1436
+ * Claims the purchase of a payment for this page load: false when its
1437
+ * checkout (or its order) already has one, reported or waiting.
1438
+ */
1439
+ private claimPurchase;
1440
+ /**
1441
+ * Sends the `purchase` event(s) of one payment — ONCE, with Vio's order
1442
+ * number as `order_id` (`props.order_id_kind: 'order'`) and the checkout id
1443
+ * as `checkout_id`. When the payment event did not bring the number (a
1444
+ * redirect return, an order a webhook creates) the checkout is asked for it
1445
+ * — the receipt's own path, `Vio.checkout.getOrderReference` — at once and
1446
+ * after 0.5 / 1 / 2 / 3 / 3 s, for at most 10 s; nothing else waits for it.
1447
+ * Unanswered, or when the page hides or `stop()` comes first, the events go
1448
+ * out with what they have: the checkout id as `order_id`
1449
+ * (`order_id_kind: 'checkout'`), as before — and the late number adds no
1450
+ * second event. The events are BUILT at the payment — its moment (`ts`),
1451
+ * `event_id`, session, page and content — and only the order number (and a
1452
+ * buyer reference the payment did not bring) is filled in when it comes.
1453
+ */
1454
+ private reportPurchase;
1455
+ /**
1456
+ * Sends the queue now, not at the next tick: by beacon when the page is
1457
+ * hidden or going away (a request may not survive it), else by fetch.
1458
+ */
1459
+ private sendNow;
1460
+ /** Sends every purchase still waiting for its order number, at once, with what it has. */
1461
+ private settlePendingPurchases;
1462
+ /** Whether the page is hidden or going away (`pagehide` until `pageshow`). */
1463
+ private isPageHidden;
1464
+ /**
1465
+ * How a purchase asks a checkout for Vio's order number: through the SDK's
1466
+ * checkout manager (`getOrderReference`, which never throws and shares its
1467
+ * in-flight ask with the receipt's). `null` when there is nothing to ask —
1468
+ * no checkout id, or no checkout manager on this page.
1469
+ */
1470
+ private orderReferenceAsker;
1364
1471
  /** The lines of the cart (current, else the pre-clear snapshot), optionally one sponsor's. */
1365
1472
  private cartLines;
1366
1473
  /**
@@ -1421,10 +1528,20 @@ interface PaymentSuccessDetail {
1421
1528
  /** Per-element content override (`vio-content-id` / `vio-content-title`), when the emitter carries one. */
1422
1529
  contentId?: string | number;
1423
1530
  contentTitle?: string;
1424
- /** Redirect return: Vio's checkout id (the name predates `checkoutId`). */
1531
+ /**
1532
+ * Redirect return: Vio's checkout id (the name predates `checkoutId`). A
1533
+ * value that is a whole number is read as Vio's order number instead — a
1534
+ * checkout id is a uuid, never one.
1535
+ */
1425
1536
  orderId?: string | number;
1426
1537
  /** Vio's checkout id — from the checkout state or the return URL. */
1427
1538
  checkoutId?: string | number;
1539
+ /**
1540
+ * Vio's order number (`4415`), when the emitter knows it: the SDK's checkout
1541
+ * adds it when its ask for the buyer reference already found the order.
1542
+ * Becomes the purchase's `order_id`.
1543
+ */
1544
+ orderNumber?: string | number | null;
1428
1545
  /**
1429
1546
  * The buyer reference the emitter learned with the payment — shopcart's
1430
1547
  * `buyer_ref`, a keyed hash of the email (`buyerRef` from the SDK's own
@@ -1443,8 +1560,9 @@ interface PaymentSuccessDetail {
1443
1560
  sponsor?: CheckoutSponsor;
1444
1561
  }
1445
1562
  /**
1446
- * What the checkout attaches as `result`. Only `confirmation` carries a Vio
1447
- * id: the order `ConfirmPaymentApplePay` created. `order.orderId` / `orderId`
1563
+ * What the checkout attaches as `result`. Only `confirmation` carries Vio
1564
+ * ids: the order `ConfirmPaymentApplePay` created (its number) and the
1565
+ * checkout it paid. `order.orderId` / `orderId`
1448
1566
  * are the PROVIDER's references (Qliro's, Walley's — the checkout itself
1449
1567
  * shows them as `providerRef`), and `chargedTotal` includes shipping on some
1450
1568
  * methods only. Analytics reads none of those.
@@ -1452,6 +1570,8 @@ interface PaymentSuccessDetail {
1452
1570
  interface PaymentSuccessResult {
1453
1571
  confirmation?: {
1454
1572
  orderId?: string | number | null;
1573
+ /** The checkout the confirmation paid (Apple Pay from the cart names no other). */
1574
+ checkoutId?: string | null;
1455
1575
  status?: string;
1456
1576
  buyerRef?: string | null;
1457
1577
  buyer_ref?: string | null;
@@ -1477,17 +1597,41 @@ declare function buyerRefOf(d: {
1477
1597
  buyer_ref?: unknown;
1478
1598
  result?: PaymentSuccessResult | null;
1479
1599
  } | null | undefined): string | undefined;
1480
- /**
1481
- * The `order_id` and `buyer_id` of a `purchase`. The id is ALWAYS a Vio id, never a provider's
1482
- * reference. Normalized across every emitter: `orderId` (redirect return) →
1483
- * `result.confirmation.orderId` (Apple Pay) → `checkoutId`. `value` and
1484
- * `currency` are deliberately NOT read from the result: on every path they
1485
- * come from the cart snapshot (sum of the items, no shipping), so revenue
1486
- * stays comparable across payment methods — the charged total will arrive
1487
- * through the server-side `order_paid` event. With nothing to say it
1488
- * returns `{}`, so the cart snapshot keeps its keys.
1489
- */
1490
- declare function purchaseFromPaymentSuccess(d: PaymentSuccessDetail): Pick<AnalyticsCommerce, 'orderId' | 'buyerId'>;
1600
+ /** The ids of a `purchase`, as a `vio:payment-success` detail gives them (`purchaseIdsOf`). */
1601
+ interface PurchaseIds {
1602
+ /**
1603
+ * `commerce.order_id`: Vio's order number when the detail has it, else the
1604
+ * checkout id standing in for it.
1605
+ */
1606
+ orderId?: string;
1607
+ /** `commerce.checkout_id`: Vio's checkout id (uuid), when the detail has it. */
1608
+ checkoutId?: string;
1609
+ /** `props.order_id_kind`: what `orderId` is — `'order'` (the number) or `'checkout'` (the stand-in). */
1610
+ orderIdKind?: 'order' | 'checkout';
1611
+ }
1612
+ /**
1613
+ * The ids of a `purchase` — ALWAYS Vio's, never a provider's reference. The
1614
+ * order number: `orderNumber` (an emitter that knows it) →
1615
+ * `result.confirmation.orderId` (Apple Pay: the order `ConfirmPaymentApplePay`
1616
+ * created) → an `orderId` that is a whole number. The checkout id: `orderId`
1617
+ * (the redirect return's, a uuid) → `checkoutId` → `result.confirmation.checkoutId`
1618
+ * (Apple Pay from the cart). `orderId` is the number
1619
+ * when there is one, else the checkout id — the SDK's own `purchase` then
1620
+ * waits for the number (see `AnalyticsManager`); a host with its own sink can
1621
+ * ask `Vio.checkout.getOrderReference(checkoutId)` the same way.
1622
+ */
1623
+ declare function purchaseIdsOf(d: PaymentSuccessDetail | null | undefined): PurchaseIds;
1624
+ /**
1625
+ * The `order_id`, `checkout_id` and `buyer_id` of a `purchase`, as far as the
1626
+ * detail says them NOW (`purchaseIdsOf`; the SDK's own `purchase` may still
1627
+ * wait for the order number). `value` and `currency` are deliberately NOT
1628
+ * read from the result: on every path they come from the cart snapshot (sum
1629
+ * of the items, no shipping), so revenue stays comparable across payment
1630
+ * methods — the charged total will arrive through the server-side
1631
+ * `order_paid` event. With nothing to say it returns `{}`, so the cart
1632
+ * snapshot keeps its keys.
1633
+ */
1634
+ declare function purchaseFromPaymentSuccess(d: PaymentSuccessDetail): Pick<AnalyticsCommerce, 'orderId' | 'checkoutId' | 'buyerId'>;
1491
1635
 
1492
1636
  /**
1493
1637
  * The cart split per campaign (ADR-0034) — ONE rule, shared by the SDK's own
@@ -2495,6 +2639,8 @@ declare class CheckoutManager extends EventTarget {
2495
2639
  private set state(value);
2496
2640
  /** The last checkout + identity written to the memory — the state is set on every keystroke of the form. */
2497
2641
  private lastRememberedSponsor;
2642
+ /** Backend checkouts this page load announced with `vio:checkout-created`: one event each. */
2643
+ private readonly announcedCheckouts;
2498
2644
  /** Counts `open()` calls — see CheckoutState.session. */
2499
2645
  private sessionSeq;
2500
2646
  private applePayAvailableCache;
@@ -2532,6 +2678,12 @@ declare class CheckoutManager extends EventTarget {
2532
2678
  private paymentMethodsCache;
2533
2679
  private paymentMethodsPromises;
2534
2680
  constructor(cartManager: CartManager, deps?: CheckoutManagerDeps);
2681
+ /** The open checkout's lines as a signature, to tell a real change from an echo. */
2682
+ private cartSignature;
2683
+ /** What the open checkout's cart looked like when it was last emitted. */
2684
+ private lastCartSignature;
2685
+ /** The open checkout follows its cart: subtotal recomputed and `change` said when the lines differ. */
2686
+ private onCartChange;
2535
2687
  open(sponsorId: number): CheckoutState;
2536
2688
  close(): void;
2537
2689
  /**
@@ -2540,8 +2692,23 @@ declare class CheckoutManager extends EventTarget {
2540
2692
  * to give or it fails — attribution never costs a checkout.
2541
2693
  */
2542
2694
  private attributionFor;
2543
- /** Create the backend checkout for the sponsor's cart (auto-accepts terms); born attributed when the facade knows the attribution. */
2544
- createCheckout(sponsorId: number): Promise<any>;
2695
+ /**
2696
+ * Create the backend checkout for the sponsor's cart (auto-accepts terms);
2697
+ * born attributed when the facade knows the attribution. `paymentMethod` is
2698
+ * the method it is created to pay with, when the caller knows it (else the
2699
+ * state's): it goes on `vio:checkout-created`.
2700
+ */
2701
+ createCheckout(sponsorId: number, paymentMethod?: PaymentMethod | string): Promise<any>;
2702
+ /**
2703
+ * `vio:checkout-created` on `window` — `{ sponsorId, checkoutId,
2704
+ * paymentMethod, campaignId?, redirect }` — the moment a backend checkout
2705
+ * exists for a payment, before anything is asked of the provider. Analytics
2706
+ * answers it with `add_payment_info` (ADR-0039: the one link from the
2707
+ * order Commerce confirms back to this browser's session); `redirect: true`
2708
+ * when the page is about to leave for the provider. Once per checkout per
2709
+ * page load; never throws.
2710
+ */
2711
+ private announceCheckout;
2545
2712
  /** Update the backend checkout (terms are re-asserted unless overridden; the attribution rides along unless the caller gives its own). */
2546
2713
  updateCheckout(variables: Record<string, unknown>, sponsorId?: number): Promise<any>;
2547
2714
  getCheckout(checkoutId: string, sponsorId?: number): Promise<any>;
@@ -3275,7 +3442,7 @@ declare function normalizeBuyerRef(value: unknown): string | undefined;
3275
3442
  *
3276
3443
  * RELEASE CHECKLIST: bump together with package.json (see CONTRIBUTING).
3277
3444
  */
3278
- declare const SDK_VERSION = "0.27.0";
3445
+ declare const SDK_VERSION = "0.29.0";
3279
3446
 
3280
3447
  /**
3281
3448
  * Vipps MobilePay's own button, the way the design guidelines ask for it.
@@ -3304,4 +3471,4 @@ declare function vippsButtonAttributes(verb?: 'buy' | 'pay' | 'express' | 'conti
3304
3471
  language?: string;
3305
3472
  }): Record<string, string>;
3306
3473
 
3307
- export { ADD_ITEM_MUTATION, type AddManualOptions, type AddProductOptions, type AnalyticsCommerce, type AnalyticsContext, type AnalyticsEventName, type AnalyticsItemInput, AnalyticsManager, type AnalyticsStartOptions, type ApplePayConfig, type ApplePayResult, type Attribution, BUYER_REF_MAX_LENGTH, type BootstrapCampaign, type BootstrapCampaignEntry, type BootstrapCampaignStatus, type BootstrapResponse, type BootstrapSlot, CHECKOUT_ATTRIBUTION_CAPS, CHECKOUT_SPONSOR_STORAGE_KEY, CLIENT_LANDING_URL_MAX_LENGTH, CONTENT_URL_MAX_LENGTH, CREATE_CART_MUTATION, CREATE_CHECKOUT_MUTATION, CREATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, CREATE_PAYMENT_STRIPE_MUTATION, CREATE_PAYMENT_VIPPS_MUTATION, type CampaignHint, type CartChangeDetail, type CartLineItem, type CartLineOrigin, CartManager, type CartOrigin, type CartQueryOptions, type CartSlice, type CheckoutAddress, type CheckoutAttributionInput, type CheckoutAttributionWire, type CheckoutChangeDetail, CheckoutManager, type CheckoutManagerDeps, type CheckoutOpenDetail, type CheckoutReference, type CheckoutSponsor, type CheckoutState, type ClientContext, CommerceClient, Configuration, type ContentRef, type CreatePaymentVippsResponse, type CreatePaymentVippsVariables, DELETE_ITEM_MUTATION, type EntryContextWire, type Environment, GET_AVAILABLE_PAYMENT_METHODS_QUERY, GET_CART_QUERY, GET_CHECKOUT_QUERY, GET_LINE_ITEMS_BY_SUPPLIER_QUERY, GET_VIPPS_STATUS_QUERY, GRAPHQL_INT_MAX, type GatewayFeature, type GetVippsStatusVariables, type ImageSize, LINE_ORIGIN_CAPS, type Landing, type LineOriginWire, type LineOriginWireOptions, type ManifestLocation, type ManifestRequest, type ManifestResult, type OrderReference, type OriginPage, type PaymentCompleteDetail, type PaymentMethod, type PaymentSelectDetail, type PaymentSuccessDetail, type PaymentSuccessResult, type PlacementComponent, type Product, type ProductCategory, type ProductImage, type ProductOption, type ProductPrice, type ProductVariant, type RegisterSlotOptions, type ResolvedConfig, SDK_VERSION, type SlotInput, type SlotKind, type Sponsor, type SponsorCartState, type SponsorCommerceBlock, type SponsorIdentity, type SurfacePrivacyMode, type SurfaceResponse, type TrackOptions, UPDATE_CHECKOUT_MUTATION, UPDATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, UPDATE_ITEM_MUTATION, UPDATE_ITEM_WITH_ORIGIN_MUTATION, UPDATE_SHIPPINGS_BY_SUPPLIER_MUTATION, VIPPS_BUTTON_SCRIPT, VIPPS_BUTTON_TAG, Vio, VioApi, VioApiError, type VioConfig, type VioItem, type VioPlatform, type VippsPaymentState, type VippsStatusResult, activeCampaignEntry, addItem, autoSlotDisplayName, autoSlotId, buyerRefOf, campaignCandidates, capContentUrl, cartSlicesFrom, checkApplePayAvailability, checkoutAttributionOf, componentKindOf, createCart, createCheckout, createCommerceClient, createPaymentStripe, createPaymentVipps, createVioApi, deleteItem, displayPrice, dominantCampaignOf, ensureVippsButton, entryContextOf, executeCartGraphQL, formatPrice, gatewayHas, getAvailablePaymentMethods, getCart, getCartGraphQLOptions, getCheckout, getCheckoutReference, getCustomerSessionId, getGlobalCurrency, getLineItemsBySupplier, getVippsStatus, isUnknownFeatureError, isUnknownTokenError, landingUrl, lineOriginWire, lineOrigins, normalizeBuyerRef, normalizeOrigin, normalizeScope, normalizeSlotKind, originAndPath, primaryImageUrl, purchaseFromPaymentSuccess, resetGatewayFeatures, resolveCampaignId, resolveClientContext, resolveContent, resolveLanding, resolveSlotCampaign, sameOrigin, showApplePaySheet, sponsorCampaignEntry, sponsorIdentityFrom, storedLanding, toCampaignId, updateCheckout, updateItem, updateShippingsBySupplier, vippsButtonAttributes, withGatewayFeature };
3474
+ export { ADD_ITEM_MUTATION, type AddManualOptions, type AddProductOptions, type AnalyticsCommerce, type AnalyticsContext, type AnalyticsEventName, type AnalyticsItemInput, AnalyticsManager, type AnalyticsStartOptions, type ApplePayConfig, type ApplePayResult, type Attribution, BUYER_REF_MAX_LENGTH, type BootstrapCampaign, type BootstrapCampaignEntry, type BootstrapCampaignStatus, type BootstrapResponse, type BootstrapSlot, CHECKOUT_ATTRIBUTION_CAPS, CHECKOUT_SPONSOR_STORAGE_KEY, CLIENT_LANDING_URL_MAX_LENGTH, CONTENT_URL_MAX_LENGTH, CREATE_CART_MUTATION, CREATE_CHECKOUT_MUTATION, CREATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, CREATE_PAYMENT_STRIPE_MUTATION, CREATE_PAYMENT_VIPPS_MUTATION, type CampaignHint, type CartChangeDetail, type CartLineItem, type CartLineOrigin, CartManager, type CartOrigin, type CartQueryOptions, type CartSlice, type CartUpdatedDetail, type CheckoutAddress, type CheckoutAttributionInput, type CheckoutAttributionWire, type CheckoutChangeDetail, CheckoutManager, type CheckoutManagerDeps, type CheckoutOpenDetail, type CheckoutReference, type CheckoutSponsor, type CheckoutState, type ClientContext, CommerceClient, Configuration, type ContentRef, type CreatePaymentVippsResponse, type CreatePaymentVippsVariables, DELETE_ITEM_MUTATION, type EntryContextWire, type Environment, GET_AVAILABLE_PAYMENT_METHODS_QUERY, GET_CART_QUERY, GET_CHECKOUT_QUERY, GET_LINE_ITEMS_BY_SUPPLIER_QUERY, GET_VIPPS_STATUS_QUERY, GRAPHQL_INT_MAX, type GatewayFeature, type GetVippsStatusVariables, type ImageSize, LINE_ORIGIN_CAPS, type Landing, type LineOriginWire, type LineOriginWireOptions, type ManifestLocation, type ManifestRequest, type ManifestResult, type OrderReference, type OriginPage, type PaymentCompleteDetail, type PaymentMethod, type PaymentSelectDetail, type PaymentSuccessDetail, type PaymentSuccessResult, type PlacementComponent, type Product, type ProductCategory, type ProductImage, type ProductOption, type ProductPrice, type ProductVariant, type PurchaseIds, type RegisterSlotOptions, type ResolvedConfig, SDK_VERSION, type SlotInput, type SlotKind, type Sponsor, type SponsorCartState, type SponsorCommerceBlock, type SponsorIdentity, type SurfacePrivacyMode, type SurfaceResponse, type TrackOptions, UPDATE_CHECKOUT_MUTATION, UPDATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, UPDATE_ITEM_MUTATION, UPDATE_ITEM_WITH_ORIGIN_MUTATION, UPDATE_SHIPPINGS_BY_SUPPLIER_MUTATION, VIPPS_BUTTON_SCRIPT, VIPPS_BUTTON_TAG, Vio, VioApi, VioApiError, type VioConfig, type VioItem, type VioPlatform, type VippsPaymentState, type VippsStatusResult, activeCampaignEntry, addItem, autoSlotDisplayName, autoSlotId, buyerRefOf, campaignCandidates, capContentUrl, cartSlicesFrom, checkApplePayAvailability, checkoutAttributionOf, componentKindOf, createCart, createCheckout, createCommerceClient, createPaymentStripe, createPaymentVipps, createVioApi, deleteItem, displayPrice, dominantCampaignOf, ensureVippsButton, entryContextOf, executeCartGraphQL, formatPrice, gatewayHas, getAvailablePaymentMethods, getCart, getCartGraphQLOptions, getCheckout, getCheckoutReference, getCustomerSessionId, getGlobalCurrency, getLineItemsBySupplier, getVippsStatus, isUnknownFeatureError, isUnknownTokenError, landingUrl, lineOriginWire, lineOrigins, normalizeBuyerRef, normalizeOrigin, normalizeScope, normalizeSlotKind, originAndPath, primaryImageUrl, purchaseFromPaymentSuccess, purchaseIdsOf, resetGatewayFeatures, resolveCampaignId, resolveClientContext, resolveContent, resolveLanding, resolveSlotCampaign, sameOrigin, showApplePaySheet, sponsorCampaignEntry, sponsorIdentityFrom, storedLanding, toCampaignId, updateCheckout, updateItem, updateShippingsBySupplier, vippsButtonAttributes, withGatewayFeature };
@@ -1,4 +1,4 @@
1
1
  import '../chunk-67QESEV2.js';
2
- export { ADD_ITEM_MUTATION, AnalyticsManager, BUYER_REF_MAX_LENGTH, CHECKOUT_ATTRIBUTION_CAPS, CHECKOUT_SPONSOR_STORAGE_KEY, CLIENT_LANDING_URL_MAX_LENGTH, CONTENT_URL_MAX_LENGTH, CREATE_CART_MUTATION, CREATE_CHECKOUT_MUTATION, CREATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, CREATE_PAYMENT_STRIPE_MUTATION, CREATE_PAYMENT_VIPPS_MUTATION, CartManager, CheckoutManager, CommerceClient, Configuration, DELETE_ITEM_MUTATION, GET_AVAILABLE_PAYMENT_METHODS_QUERY, GET_CART_QUERY, GET_CHECKOUT_QUERY, GET_LINE_ITEMS_BY_SUPPLIER_QUERY, GET_VIPPS_STATUS_QUERY, GRAPHQL_INT_MAX, LINE_ORIGIN_CAPS, SDK_VERSION, UPDATE_CHECKOUT_MUTATION, UPDATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, UPDATE_ITEM_MUTATION, UPDATE_ITEM_WITH_ORIGIN_MUTATION, UPDATE_SHIPPINGS_BY_SUPPLIER_MUTATION, VIPPS_BUTTON_SCRIPT, VIPPS_BUTTON_TAG, Vio, VioApi, VioApiError, activeCampaignEntry, addItem, autoSlotDisplayName, autoSlotId, buyerRefOf, campaignCandidates, capContentUrl, cartSlicesFrom, checkApplePayAvailability, checkoutAttributionOf, componentKindOf, createCart, createCheckout, createCommerceClient, createPaymentStripe, createPaymentVipps, createVioApi, deleteItem, displayPrice, dominantCampaignOf, ensureVippsButton, entryContextOf, executeCartGraphQL, formatPrice, gatewayHas, getAvailablePaymentMethods, getCart, getCartGraphQLOptions, getCheckout, getCheckoutReference, getCustomerSessionId, getGlobalCurrency, getLineItemsBySupplier, getVippsStatus, isUnknownFeatureError, isUnknownTokenError, landingUrl, lineOriginWire, lineOrigins, normalizeBuyerRef, normalizeOrigin, normalizeScope, normalizeSlotKind, originAndPath, primaryImageUrl, purchaseFromPaymentSuccess, resetGatewayFeatures, resolveCampaignId, resolveClientContext, resolveContent, resolveLanding, resolveSlotCampaign, sameOrigin, showApplePaySheet, sponsorCampaignEntry, sponsorIdentityFrom, storedLanding, toCampaignId, updateCheckout, updateItem, updateShippingsBySupplier, vippsButtonAttributes, withGatewayFeature } from '../chunk-HJRIPCWB.js';
2
+ export { ADD_ITEM_MUTATION, AnalyticsManager, BUYER_REF_MAX_LENGTH, CHECKOUT_ATTRIBUTION_CAPS, CHECKOUT_SPONSOR_STORAGE_KEY, CLIENT_LANDING_URL_MAX_LENGTH, CONTENT_URL_MAX_LENGTH, CREATE_CART_MUTATION, CREATE_CHECKOUT_MUTATION, CREATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, CREATE_PAYMENT_STRIPE_MUTATION, CREATE_PAYMENT_VIPPS_MUTATION, CartManager, CheckoutManager, CommerceClient, Configuration, DELETE_ITEM_MUTATION, GET_AVAILABLE_PAYMENT_METHODS_QUERY, GET_CART_QUERY, GET_CHECKOUT_QUERY, GET_LINE_ITEMS_BY_SUPPLIER_QUERY, GET_VIPPS_STATUS_QUERY, GRAPHQL_INT_MAX, LINE_ORIGIN_CAPS, SDK_VERSION, UPDATE_CHECKOUT_MUTATION, UPDATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, UPDATE_ITEM_MUTATION, UPDATE_ITEM_WITH_ORIGIN_MUTATION, UPDATE_SHIPPINGS_BY_SUPPLIER_MUTATION, VIPPS_BUTTON_SCRIPT, VIPPS_BUTTON_TAG, Vio, VioApi, VioApiError, activeCampaignEntry, addItem, autoSlotDisplayName, autoSlotId, buyerRefOf, campaignCandidates, capContentUrl, cartSlicesFrom, checkApplePayAvailability, checkoutAttributionOf, componentKindOf, createCart, createCheckout, createCommerceClient, createPaymentStripe, createPaymentVipps, createVioApi, deleteItem, displayPrice, dominantCampaignOf, ensureVippsButton, entryContextOf, executeCartGraphQL, formatPrice, gatewayHas, getAvailablePaymentMethods, getCart, getCartGraphQLOptions, getCheckout, getCheckoutReference, getCustomerSessionId, getGlobalCurrency, getLineItemsBySupplier, getVippsStatus, isUnknownFeatureError, isUnknownTokenError, landingUrl, lineOriginWire, lineOrigins, normalizeBuyerRef, normalizeOrigin, normalizeScope, normalizeSlotKind, originAndPath, primaryImageUrl, purchaseFromPaymentSuccess, purchaseIdsOf, resetGatewayFeatures, resolveCampaignId, resolveClientContext, resolveContent, resolveLanding, resolveSlotCampaign, sameOrigin, showApplePaySheet, sponsorCampaignEntry, sponsorIdentityFrom, storedLanding, toCampaignId, updateCheckout, updateItem, updateShippingsBySupplier, vippsButtonAttributes, withGatewayFeature } from '../chunk-AG4G2S2M.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { ADD_ITEM_MUTATION, AddManualOptions, AddProductOptions, AnalyticsCommerce, AnalyticsContext, AnalyticsEventName, AnalyticsItemInput, AnalyticsManager, AnalyticsStartOptions, ApplePayConfig, ApplePayResult, Attribution, BUYER_REF_MAX_LENGTH, BootstrapCampaign, BootstrapCampaignEntry, BootstrapCampaignStatus, BootstrapResponse, BootstrapSlot, CHECKOUT_ATTRIBUTION_CAPS, CHECKOUT_SPONSOR_STORAGE_KEY, CLIENT_LANDING_URL_MAX_LENGTH, CONTENT_URL_MAX_LENGTH, CREATE_CART_MUTATION, CREATE_CHECKOUT_MUTATION, CREATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, CREATE_PAYMENT_STRIPE_MUTATION, CREATE_PAYMENT_VIPPS_MUTATION, CampaignHint, CartChangeDetail, CartLineItem, CartLineOrigin, CartManager, CartOrigin, CartQueryOptions, CartSlice, CheckoutAddress, CheckoutAttributionInput, CheckoutAttributionWire, CheckoutChangeDetail, CheckoutManager, CheckoutManagerDeps, CheckoutOpenDetail, CheckoutReference, CheckoutSponsor, CheckoutState, ClientContext, CommerceClient, Configuration, ContentRef, CreatePaymentVippsResponse, CreatePaymentVippsVariables, DELETE_ITEM_MUTATION, EntryContextWire, Environment, GET_AVAILABLE_PAYMENT_METHODS_QUERY, GET_CART_QUERY, GET_CHECKOUT_QUERY, GET_LINE_ITEMS_BY_SUPPLIER_QUERY, GET_VIPPS_STATUS_QUERY, GRAPHQL_INT_MAX, GatewayFeature, GetVippsStatusVariables, ImageSize, LINE_ORIGIN_CAPS, Landing, LineOriginWire, LineOriginWireOptions, ManifestLocation, ManifestRequest, ManifestResult, OrderReference, OriginPage, PaymentCompleteDetail, PaymentMethod, PaymentSelectDetail, PaymentSuccessDetail, PaymentSuccessResult, PlacementComponent, Product, ProductCategory, ProductImage, ProductOption, ProductPrice, ProductVariant, RegisterSlotOptions, ResolvedConfig, SDK_VERSION, SlotInput, SlotKind, Sponsor, SponsorCartState, SponsorCommerceBlock, SponsorIdentity, SurfacePrivacyMode, SurfaceResponse, TrackOptions, UPDATE_CHECKOUT_MUTATION, UPDATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, UPDATE_ITEM_MUTATION, UPDATE_ITEM_WITH_ORIGIN_MUTATION, UPDATE_SHIPPINGS_BY_SUPPLIER_MUTATION, VIPPS_BUTTON_SCRIPT, VIPPS_BUTTON_TAG, Vio, VioApi, VioApiError, VioConfig, VioItem, VioPlatform, VippsPaymentState, VippsStatusResult, activeCampaignEntry, addItem, autoSlotDisplayName, autoSlotId, buyerRefOf, campaignCandidates, capContentUrl, cartSlicesFrom, checkApplePayAvailability, checkoutAttributionOf, componentKindOf, createCart, createCheckout, createCommerceClient, createPaymentStripe, createPaymentVipps, createVioApi, deleteItem, displayPrice, dominantCampaignOf, ensureVippsButton, entryContextOf, executeCartGraphQL, formatPrice, gatewayHas, getAvailablePaymentMethods, getCart, getCartGraphQLOptions, getCheckout, getCheckoutReference, getCustomerSessionId, getGlobalCurrency, getLineItemsBySupplier, getVippsStatus, isUnknownFeatureError, isUnknownTokenError, landingUrl, lineOriginWire, lineOrigins, normalizeBuyerRef, normalizeOrigin, normalizeScope, normalizeSlotKind, originAndPath, primaryImageUrl, purchaseFromPaymentSuccess, resetGatewayFeatures, resolveCampaignId, resolveClientContext, resolveContent, resolveLanding, resolveSlotCampaign, sameOrigin, showApplePaySheet, sponsorCampaignEntry, sponsorIdentityFrom, storedLanding, toCampaignId, updateCheckout, updateItem, updateShippingsBySupplier, vippsButtonAttributes, withGatewayFeature } from './core/index.js';
1
+ export { ADD_ITEM_MUTATION, AddManualOptions, AddProductOptions, AnalyticsCommerce, AnalyticsContext, AnalyticsEventName, AnalyticsItemInput, AnalyticsManager, AnalyticsStartOptions, ApplePayConfig, ApplePayResult, Attribution, BUYER_REF_MAX_LENGTH, BootstrapCampaign, BootstrapCampaignEntry, BootstrapCampaignStatus, BootstrapResponse, BootstrapSlot, CHECKOUT_ATTRIBUTION_CAPS, CHECKOUT_SPONSOR_STORAGE_KEY, CLIENT_LANDING_URL_MAX_LENGTH, CONTENT_URL_MAX_LENGTH, CREATE_CART_MUTATION, CREATE_CHECKOUT_MUTATION, CREATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, CREATE_PAYMENT_STRIPE_MUTATION, CREATE_PAYMENT_VIPPS_MUTATION, CampaignHint, CartChangeDetail, CartLineItem, CartLineOrigin, CartManager, CartOrigin, CartQueryOptions, CartSlice, CartUpdatedDetail, CheckoutAddress, CheckoutAttributionInput, CheckoutAttributionWire, CheckoutChangeDetail, CheckoutManager, CheckoutManagerDeps, CheckoutOpenDetail, CheckoutReference, CheckoutSponsor, CheckoutState, ClientContext, CommerceClient, Configuration, ContentRef, CreatePaymentVippsResponse, CreatePaymentVippsVariables, DELETE_ITEM_MUTATION, EntryContextWire, Environment, GET_AVAILABLE_PAYMENT_METHODS_QUERY, GET_CART_QUERY, GET_CHECKOUT_QUERY, GET_LINE_ITEMS_BY_SUPPLIER_QUERY, GET_VIPPS_STATUS_QUERY, GRAPHQL_INT_MAX, GatewayFeature, GetVippsStatusVariables, ImageSize, LINE_ORIGIN_CAPS, Landing, LineOriginWire, LineOriginWireOptions, ManifestLocation, ManifestRequest, ManifestResult, OrderReference, OriginPage, PaymentCompleteDetail, PaymentMethod, PaymentSelectDetail, PaymentSuccessDetail, PaymentSuccessResult, PlacementComponent, Product, ProductCategory, ProductImage, ProductOption, ProductPrice, ProductVariant, PurchaseIds, RegisterSlotOptions, ResolvedConfig, SDK_VERSION, SlotInput, SlotKind, Sponsor, SponsorCartState, SponsorCommerceBlock, SponsorIdentity, SurfacePrivacyMode, SurfaceResponse, TrackOptions, UPDATE_CHECKOUT_MUTATION, UPDATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, UPDATE_ITEM_MUTATION, UPDATE_ITEM_WITH_ORIGIN_MUTATION, UPDATE_SHIPPINGS_BY_SUPPLIER_MUTATION, VIPPS_BUTTON_SCRIPT, VIPPS_BUTTON_TAG, Vio, VioApi, VioApiError, VioConfig, VioItem, VioPlatform, VippsPaymentState, VippsStatusResult, activeCampaignEntry, addItem, autoSlotDisplayName, autoSlotId, buyerRefOf, campaignCandidates, capContentUrl, cartSlicesFrom, checkApplePayAvailability, checkoutAttributionOf, componentKindOf, createCart, createCheckout, createCommerceClient, createPaymentStripe, createPaymentVipps, createVioApi, deleteItem, displayPrice, dominantCampaignOf, ensureVippsButton, entryContextOf, executeCartGraphQL, formatPrice, gatewayHas, getAvailablePaymentMethods, getCart, getCartGraphQLOptions, getCheckout, getCheckoutReference, getCustomerSessionId, getGlobalCurrency, getLineItemsBySupplier, getVippsStatus, isUnknownFeatureError, isUnknownTokenError, landingUrl, lineOriginWire, lineOrigins, normalizeBuyerRef, normalizeOrigin, normalizeScope, normalizeSlotKind, originAndPath, primaryImageUrl, purchaseFromPaymentSuccess, purchaseIdsOf, resetGatewayFeatures, resolveCampaignId, resolveClientContext, resolveContent, resolveLanding, resolveSlotCampaign, sameOrigin, showApplePaySheet, sponsorCampaignEntry, sponsorIdentityFrom, storedLanding, toCampaignId, updateCheckout, updateItem, updateShippingsBySupplier, vippsButtonAttributes, withGatewayFeature } from './core/index.js';
2
2
  import 'graphql-request';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import './chunk-67QESEV2.js';
2
- export { ADD_ITEM_MUTATION, AnalyticsManager, BUYER_REF_MAX_LENGTH, CHECKOUT_ATTRIBUTION_CAPS, CHECKOUT_SPONSOR_STORAGE_KEY, CLIENT_LANDING_URL_MAX_LENGTH, CONTENT_URL_MAX_LENGTH, CREATE_CART_MUTATION, CREATE_CHECKOUT_MUTATION, CREATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, CREATE_PAYMENT_STRIPE_MUTATION, CREATE_PAYMENT_VIPPS_MUTATION, CartManager, CheckoutManager, CommerceClient, Configuration, DELETE_ITEM_MUTATION, GET_AVAILABLE_PAYMENT_METHODS_QUERY, GET_CART_QUERY, GET_CHECKOUT_QUERY, GET_LINE_ITEMS_BY_SUPPLIER_QUERY, GET_VIPPS_STATUS_QUERY, GRAPHQL_INT_MAX, LINE_ORIGIN_CAPS, SDK_VERSION, UPDATE_CHECKOUT_MUTATION, UPDATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, UPDATE_ITEM_MUTATION, UPDATE_ITEM_WITH_ORIGIN_MUTATION, UPDATE_SHIPPINGS_BY_SUPPLIER_MUTATION, VIPPS_BUTTON_SCRIPT, VIPPS_BUTTON_TAG, Vio, VioApi, VioApiError, activeCampaignEntry, addItem, autoSlotDisplayName, autoSlotId, buyerRefOf, campaignCandidates, capContentUrl, cartSlicesFrom, checkApplePayAvailability, checkoutAttributionOf, componentKindOf, createCart, createCheckout, createCommerceClient, createPaymentStripe, createPaymentVipps, createVioApi, deleteItem, displayPrice, dominantCampaignOf, ensureVippsButton, entryContextOf, executeCartGraphQL, formatPrice, gatewayHas, getAvailablePaymentMethods, getCart, getCartGraphQLOptions, getCheckout, getCheckoutReference, getCustomerSessionId, getGlobalCurrency, getLineItemsBySupplier, getVippsStatus, isUnknownFeatureError, isUnknownTokenError, landingUrl, lineOriginWire, lineOrigins, normalizeBuyerRef, normalizeOrigin, normalizeScope, normalizeSlotKind, originAndPath, primaryImageUrl, purchaseFromPaymentSuccess, resetGatewayFeatures, resolveCampaignId, resolveClientContext, resolveContent, resolveLanding, resolveSlotCampaign, sameOrigin, showApplePaySheet, sponsorCampaignEntry, sponsorIdentityFrom, storedLanding, toCampaignId, updateCheckout, updateItem, updateShippingsBySupplier, vippsButtonAttributes, withGatewayFeature } from './chunk-HJRIPCWB.js';
2
+ export { ADD_ITEM_MUTATION, AnalyticsManager, BUYER_REF_MAX_LENGTH, CHECKOUT_ATTRIBUTION_CAPS, CHECKOUT_SPONSOR_STORAGE_KEY, CLIENT_LANDING_URL_MAX_LENGTH, CONTENT_URL_MAX_LENGTH, CREATE_CART_MUTATION, CREATE_CHECKOUT_MUTATION, CREATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, CREATE_PAYMENT_STRIPE_MUTATION, CREATE_PAYMENT_VIPPS_MUTATION, CartManager, CheckoutManager, CommerceClient, Configuration, DELETE_ITEM_MUTATION, GET_AVAILABLE_PAYMENT_METHODS_QUERY, GET_CART_QUERY, GET_CHECKOUT_QUERY, GET_LINE_ITEMS_BY_SUPPLIER_QUERY, GET_VIPPS_STATUS_QUERY, GRAPHQL_INT_MAX, LINE_ORIGIN_CAPS, SDK_VERSION, UPDATE_CHECKOUT_MUTATION, UPDATE_CHECKOUT_WITH_ATTRIBUTION_MUTATION, UPDATE_ITEM_MUTATION, UPDATE_ITEM_WITH_ORIGIN_MUTATION, UPDATE_SHIPPINGS_BY_SUPPLIER_MUTATION, VIPPS_BUTTON_SCRIPT, VIPPS_BUTTON_TAG, Vio, VioApi, VioApiError, activeCampaignEntry, addItem, autoSlotDisplayName, autoSlotId, buyerRefOf, campaignCandidates, capContentUrl, cartSlicesFrom, checkApplePayAvailability, checkoutAttributionOf, componentKindOf, createCart, createCheckout, createCommerceClient, createPaymentStripe, createPaymentVipps, createVioApi, deleteItem, displayPrice, dominantCampaignOf, ensureVippsButton, entryContextOf, executeCartGraphQL, formatPrice, gatewayHas, getAvailablePaymentMethods, getCart, getCartGraphQLOptions, getCheckout, getCheckoutReference, getCustomerSessionId, getGlobalCurrency, getLineItemsBySupplier, getVippsStatus, isUnknownFeatureError, isUnknownTokenError, landingUrl, lineOriginWire, lineOrigins, normalizeBuyerRef, normalizeOrigin, normalizeScope, normalizeSlotKind, originAndPath, primaryImageUrl, purchaseFromPaymentSuccess, purchaseIdsOf, resetGatewayFeatures, resolveCampaignId, resolveClientContext, resolveContent, resolveLanding, resolveSlotCampaign, sameOrigin, showApplePaySheet, sponsorCampaignEntry, sponsorIdentityFrom, storedLanding, toCampaignId, updateCheckout, updateItem, updateShippingsBySupplier, vippsButtonAttributes, withGatewayFeature } from './chunk-AG4G2S2M.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  import * as _lit_react from '@lit/react';
2
- import { V as VioCart$1, a as VioCheckout$1, b as VioProduct$1, c as VioProductCarousel$1, d as VioProductDetail$1 } from '../tokens-CihuCU2l.js';
3
- export { e as VioThemeOverrides, f as VioTokens, g as applyVioTheme } from '../tokens-CihuCU2l.js';
2
+ import { V as VioCart$1, a as VioCheckout$1, b as VioProduct$1, c as VioProductCarousel$1, d as VioProductDetail$1 } from '../tokens-Dok4d21V.js';
3
+ export { e as VioThemeOverrides, f as VioTokens, g as applyVioTheme } from '../tokens-Dok4d21V.js';
4
4
  import 'lit-html';
5
5
  import 'lit';
6
6
 
@@ -1,6 +1,6 @@
1
- import { registerVioElements, VioProduct, VioProductCarousel, VioProductDetail, VioCart, VioCheckout } from '../chunk-GLAKUYQA.js';
2
- export { VioTokens, applyVioTheme } from '../chunk-GLAKUYQA.js';
3
- import '../chunk-HJRIPCWB.js';
1
+ import { registerVioElements, VioProduct, VioProductCarousel, VioProductDetail, VioCart, VioCheckout } from '../chunk-L6YYYKQK.js';
2
+ export { VioTokens, applyVioTheme } from '../chunk-L6YYYKQK.js';
3
+ import '../chunk-AG4G2S2M.js';
4
4
  import * as React from 'react';
5
5
 
6
6
  // node_modules/@lit/react/node/create-component.js