@vio-live/web-sdk 0.37.0 → 0.37.1
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.
- package/CHANGELOG.md +17 -0
- package/dist/{chunk-LDA7RI43.js → chunk-2OHYZI3P.js} +67 -16
- package/dist/chunk-2OHYZI3P.js.map +1 -0
- package/dist/{chunk-KVI56NGO.js → chunk-GUXBD7KR.js} +14 -6
- package/dist/chunk-GUXBD7KR.js.map +1 -0
- package/dist/core/index.d.ts +10 -3
- package/dist/core/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +3 -3
- package/dist/{tokens-ChbmD8wb.d.ts → tokens-NBVn1pWS.d.ts} +24 -0
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-KVI56NGO.js.map +0 -1
- package/dist/chunk-LDA7RI43.js.map +0 -1
|
@@ -3969,7 +3969,7 @@ async function prepareApplePay(config) {
|
|
|
3969
3969
|
}
|
|
3970
3970
|
|
|
3971
3971
|
// src/core/version.ts
|
|
3972
|
-
var SDK_VERSION = "0.37.
|
|
3972
|
+
var SDK_VERSION = "0.37.1";
|
|
3973
3973
|
|
|
3974
3974
|
// src/core/checkout/payments/stripe-embedded.ts
|
|
3975
3975
|
var CREATE_PAYMENT_INTENT_STRIPE_MUTATION = `
|
|
@@ -6298,9 +6298,17 @@ var CheckoutManager = class _CheckoutManager extends EventTarget {
|
|
|
6298
6298
|
resumeKustom();
|
|
6299
6299
|
}
|
|
6300
6300
|
}
|
|
6301
|
-
/**
|
|
6302
|
-
|
|
6303
|
-
|
|
6301
|
+
/**
|
|
6302
|
+
* Re-read a Kustom order — used on the confirmation return trip. The order
|
|
6303
|
+
* id is Kustom's, so it says nothing of whose it is: `checkoutId` (Vio's,
|
|
6304
|
+
* from the return URL) does. The sponsor and channel this tab remembered for
|
|
6305
|
+
* that checkout win over the open checkout's, as for Qliro and Walley —
|
|
6306
|
+
* without them a return with no cart left (the order already completed it)
|
|
6307
|
+
* read with the platform key and was refused (QA, 2026-10-29).
|
|
6308
|
+
*/
|
|
6309
|
+
async getKustomOrder(orderId, sponsorId, checkoutId) {
|
|
6310
|
+
const checkout = checkoutId || void 0;
|
|
6311
|
+
const opts = await this.gqlOptions(this.sponsorIdOfCheckout(checkout) ?? sponsorId ?? this.state?.sponsorId, checkout);
|
|
6304
6312
|
return getKustomOrder(orderId, opts);
|
|
6305
6313
|
}
|
|
6306
6314
|
/** Render a Kustom html_snippet (e.g. the confirmation receipt) into a container. */
|
|
@@ -10361,5 +10369,5 @@ function vippsButtonAttributes(verb = "buy", opts = {}) {
|
|
|
10361
10369
|
}
|
|
10362
10370
|
|
|
10363
10371
|
export { ADD_ITEM_MUTATION, ADYEN_RETURN_METHOD, ADYEN_RETURN_QUERY_KEYS, AdyenOriginError, 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, CTA_ID_PATTERN, CTA_LOCATIONS, CTA_TEXT_MAX_LENGTH, CTA_VARIANT_PATTERN, CartManager, CheckoutManager, CommerceClient, Configuration, DELETE_ITEM_MUTATION, DETAIL_SECTION_IDS, ESSENTIAL_DETAIL_SECTIONS, GET_AVAILABLE_PAYMENT_METHODS_QUERY, GET_CART_QUERY, GET_CHECKOUT_QUERY, GET_LINE_ITEMS_BY_SUPPLIER_QUERY, GET_VIPPS_STATUS_QUERY, GRAPHQL_INT_MAX, INTERNAL_KEY, INTERNAL_PARAM, KUSTOM_RETURN_QUERY_KEYS, 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, __decorateClass, activeCampaignEntry, addItem, adyenReturnOutcome, adyenReturnParams, autoSlotDisplayName, autoSlotId, buyerRefOf, campaignCandidates, capContentUrl, cartSlicesFrom, checkApplePayAvailability, checkoutAttributionOf, checkoutSponsorOf, componentKindOf, copyAppliedLayout, createCart, createCheckout, createCommerceClient, createPaymentStripe, createPaymentVipps, createVioApi, ctaContextOf, ctaText, currentGlobalDescriptionLabel, defaultDetailLayout, deleteItem, displayPrice, dominantCampaignOf, effectiveDetailSections, ensureVippsButton, entryContextOf, executeCartGraphQL, formatPrice, gatewayHas, gatewayHasBuyerRef, getAvailablePaymentMethods, getCart, getCartGraphQLOptions, getCheckout, getCheckoutReference, getCustomerSessionId, getGlobalCountryCode, getGlobalCurrency, getLineItemsBySupplier, getVippsStatus, isCtaId, isUnknownFeatureError, isUnknownTokenError, isValidPhone, kustomReturnOutcome, landingUrl, layoutOriginOf, layoutSignature, lineOriginWire, lineOrigins, nexiReturnPaymentId, normalizeBuyerRef, normalizeDetailLayout, normalizeOrigin, normalizeScope, normalizeSlotId, normalizeSlotKind, onGlobalDetailLayoutChange, originAndPath, primaryImageUrl, purchaseFromPaymentSuccess, purchaseIdsOf, readInternal, readNexiPending, rememberedCheckoutSponsor, resetGatewayFeatures, resolveCampaignId, resolveClientContext, resolveContent, resolveDetailLayout, resolveInternal, resolveLanding, resolveSlotCampaign, sameOrigin, shippingDescriptionOf, showApplePaySheet, sponsorCampaignEntry, sponsorIdentityFrom, storageGet, storedLanding, toCampaignId, updateCheckout, updateItem, updateShippingsBySupplier, vippsButtonAttributes, withGatewayFeature, writeInternal };
|
|
10364
|
-
//# sourceMappingURL=chunk-
|
|
10365
|
-
//# sourceMappingURL=chunk-
|
|
10372
|
+
//# sourceMappingURL=chunk-GUXBD7KR.js.map
|
|
10373
|
+
//# sourceMappingURL=chunk-GUXBD7KR.js.map
|