@wix/auto_sdk_ecom_checkout 1.0.147 → 1.0.148
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 +5 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +5 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.mjs +5 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +5 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.js +5 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +31 -1
- package/build/internal/cjs/index.typings.js +5 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.mjs +5 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +31 -1
- package/build/internal/es/index.typings.mjs +5 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1554,6 +1554,7 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
1554
1554
|
ChannelType2["FAIRE_COM"] = "FAIRE_COM";
|
|
1555
1555
|
ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
|
|
1556
1556
|
ChannelType2["STRIPE_AGENTIC_CHECKOUT"] = "STRIPE_AGENTIC_CHECKOUT";
|
|
1557
|
+
ChannelType2["WIX_INVOICES_PLATFORM"] = "WIX_INVOICES_PLATFORM";
|
|
1557
1558
|
return ChannelType2;
|
|
1558
1559
|
})(ChannelType || {});
|
|
1559
1560
|
var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
@@ -2233,7 +2234,8 @@ async function createOrder2(_id, options) {
|
|
|
2233
2234
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2234
2235
|
id: _id,
|
|
2235
2236
|
savePaymentMethod: options?.savePaymentMethod,
|
|
2236
|
-
delayCapture: options?.delayCapture
|
|
2237
|
+
delayCapture: options?.delayCapture,
|
|
2238
|
+
inAppPurchase: options?.inAppPurchase
|
|
2237
2239
|
});
|
|
2238
2240
|
const reqOpts = createOrder(payload);
|
|
2239
2241
|
sideEffects?.onSiteCall?.();
|
|
@@ -2249,7 +2251,8 @@ async function createOrder2(_id, options) {
|
|
|
2249
2251
|
explicitPathsToArguments: {
|
|
2250
2252
|
id: "$[0]",
|
|
2251
2253
|
savePaymentMethod: "$[1].savePaymentMethod",
|
|
2252
|
-
delayCapture: "$[1].delayCapture"
|
|
2254
|
+
delayCapture: "$[1].delayCapture",
|
|
2255
|
+
inAppPurchase: "$[1].inAppPurchase"
|
|
2253
2256
|
},
|
|
2254
2257
|
singleArgumentUnchanged: false
|
|
2255
2258
|
},
|