@wix/auto_sdk_ecom_checkout 1.0.50 → 1.0.51
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/build/cjs/index.js +8 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +22 -0
- package/build/cjs/index.typings.js +8 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +12 -0
- package/build/es/index.mjs +8 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +22 -0
- package/build/es/index.typings.mjs +8 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +12 -0
- package/build/internal/cjs/index.js +8 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +11 -6
- package/build/internal/cjs/index.typings.js +8 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +12 -0
- package/build/internal/es/index.mjs +8 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +11 -6
- package/build/internal/es/index.typings.mjs +8 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +12 -0
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1555,7 +1555,8 @@ async function createCheckout2(options) {
|
|
|
1555
1555
|
customLineItems: options?.customLineItems,
|
|
1556
1556
|
channelType: options?.channelType,
|
|
1557
1557
|
giftCardCode: options?.giftCardCode,
|
|
1558
|
-
overrideCheckoutUrl: options?.overrideCheckoutUrl
|
|
1558
|
+
overrideCheckoutUrl: options?.overrideCheckoutUrl,
|
|
1559
|
+
giftCardRedeemAmount: options?.giftCardRedeemAmount
|
|
1559
1560
|
}),
|
|
1560
1561
|
[
|
|
1561
1562
|
{
|
|
@@ -1636,7 +1637,8 @@ async function createCheckout2(options) {
|
|
|
1636
1637
|
customLineItems: "$[0].customLineItems",
|
|
1637
1638
|
channelType: "$[0].channelType",
|
|
1638
1639
|
giftCardCode: "$[0].giftCardCode",
|
|
1639
|
-
overrideCheckoutUrl: "$[0].overrideCheckoutUrl"
|
|
1640
|
+
overrideCheckoutUrl: "$[0].overrideCheckoutUrl",
|
|
1641
|
+
giftCardRedeemAmount: "$[0].giftCardRedeemAmount"
|
|
1640
1642
|
},
|
|
1641
1643
|
singleArgumentUnchanged: false
|
|
1642
1644
|
},
|
|
@@ -1801,7 +1803,8 @@ async function updateCheckout2(_id, checkout, options) {
|
|
|
1801
1803
|
giftCardCode: options?.giftCardCode,
|
|
1802
1804
|
overrideCheckoutUrl: options?.overrideCheckoutUrl,
|
|
1803
1805
|
lineItems: options?.lineItems,
|
|
1804
|
-
customLineItems: options?.customLineItems
|
|
1806
|
+
customLineItems: options?.customLineItems,
|
|
1807
|
+
giftCardRedeemAmount: options?.giftCardRedeemAmount
|
|
1805
1808
|
}),
|
|
1806
1809
|
[
|
|
1807
1810
|
{
|
|
@@ -1881,7 +1884,8 @@ async function updateCheckout2(_id, checkout, options) {
|
|
|
1881
1884
|
giftCardCode: "$[2].giftCardCode",
|
|
1882
1885
|
overrideCheckoutUrl: "$[2].overrideCheckoutUrl",
|
|
1883
1886
|
lineItems: "$[2].lineItems",
|
|
1884
|
-
customLineItems: "$[2].customLineItems"
|
|
1887
|
+
customLineItems: "$[2].customLineItems",
|
|
1888
|
+
giftCardRedeemAmount: "$[2].giftCardRedeemAmount"
|
|
1885
1889
|
},
|
|
1886
1890
|
singleArgumentUnchanged: false
|
|
1887
1891
|
},
|