@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
|
@@ -1568,6 +1568,7 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
1568
1568
|
ChannelType2["FAIRE_COM"] = "FAIRE_COM";
|
|
1569
1569
|
ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
|
|
1570
1570
|
ChannelType2["STRIPE_AGENTIC_CHECKOUT"] = "STRIPE_AGENTIC_CHECKOUT";
|
|
1571
|
+
ChannelType2["WIX_INVOICES_PLATFORM"] = "WIX_INVOICES_PLATFORM";
|
|
1571
1572
|
return ChannelType2;
|
|
1572
1573
|
})(ChannelType || {});
|
|
1573
1574
|
var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
@@ -2247,7 +2248,8 @@ async function createOrder2(_id, options) {
|
|
|
2247
2248
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2248
2249
|
id: _id,
|
|
2249
2250
|
savePaymentMethod: options?.savePaymentMethod,
|
|
2250
|
-
delayCapture: options?.delayCapture
|
|
2251
|
+
delayCapture: options?.delayCapture,
|
|
2252
|
+
inAppPurchase: options?.inAppPurchase
|
|
2251
2253
|
});
|
|
2252
2254
|
const reqOpts = createOrder(payload);
|
|
2253
2255
|
sideEffects?.onSiteCall?.();
|
|
@@ -2263,7 +2265,8 @@ async function createOrder2(_id, options) {
|
|
|
2263
2265
|
explicitPathsToArguments: {
|
|
2264
2266
|
id: "$[0]",
|
|
2265
2267
|
savePaymentMethod: "$[1].savePaymentMethod",
|
|
2266
|
-
delayCapture: "$[1].delayCapture"
|
|
2268
|
+
delayCapture: "$[1].delayCapture",
|
|
2269
|
+
inAppPurchase: "$[1].inAppPurchase"
|
|
2267
2270
|
},
|
|
2268
2271
|
singleArgumentUnchanged: false
|
|
2269
2272
|
},
|