@scopetickets/checkout 0.6.0 → 0.6.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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6320,7 +6320,7 @@ function param(value) {
|
|
|
6320
6320
|
}
|
|
6321
6321
|
|
|
6322
6322
|
// src/version.ts
|
|
6323
|
-
var CHECKOUT_VERSION = "0.6.
|
|
6323
|
+
var CHECKOUT_VERSION = "0.6.1";
|
|
6324
6324
|
|
|
6325
6325
|
// src/data/useCheckoutEvents.ts
|
|
6326
6326
|
function useCheckoutEvents(observed, { applicationKey, inventories, onEvent, logger = browserLogger }) {
|
|
@@ -8340,7 +8340,7 @@ function cartLines(items, context = {}) {
|
|
|
8340
8340
|
// ../checkout-core/src/domain/promo.ts
|
|
8341
8341
|
function promoSaved(cart, currency) {
|
|
8342
8342
|
if (currency === void 0) return null;
|
|
8343
|
-
const saved = cart.
|
|
8343
|
+
const saved = cart.PromoSavingAmount;
|
|
8344
8344
|
if (typeof saved !== "number" || !Number.isFinite(saved) || saved <= 0) return null;
|
|
8345
8345
|
return formatMoney(saved, currency);
|
|
8346
8346
|
}
|