@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
|
@@ -1487,6 +1487,7 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
1487
1487
|
ChannelType2["FAIRE_COM"] = "FAIRE_COM";
|
|
1488
1488
|
ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
|
|
1489
1489
|
ChannelType2["STRIPE_AGENTIC_CHECKOUT"] = "STRIPE_AGENTIC_CHECKOUT";
|
|
1490
|
+
ChannelType2["WIX_INVOICES_PLATFORM"] = "WIX_INVOICES_PLATFORM";
|
|
1490
1491
|
return ChannelType2;
|
|
1491
1492
|
})(ChannelType || {});
|
|
1492
1493
|
var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
@@ -2166,7 +2167,8 @@ async function createOrder2(_id, options) {
|
|
|
2166
2167
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
2167
2168
|
id: _id,
|
|
2168
2169
|
savePaymentMethod: options?.savePaymentMethod,
|
|
2169
|
-
delayCapture: options?.delayCapture
|
|
2170
|
+
delayCapture: options?.delayCapture,
|
|
2171
|
+
inAppPurchase: options?.inAppPurchase
|
|
2170
2172
|
});
|
|
2171
2173
|
const reqOpts = createOrder(payload);
|
|
2172
2174
|
sideEffects?.onSiteCall?.();
|
|
@@ -2182,7 +2184,8 @@ async function createOrder2(_id, options) {
|
|
|
2182
2184
|
explicitPathsToArguments: {
|
|
2183
2185
|
id: "$[0]",
|
|
2184
2186
|
savePaymentMethod: "$[1].savePaymentMethod",
|
|
2185
|
-
delayCapture: "$[1].delayCapture"
|
|
2187
|
+
delayCapture: "$[1].delayCapture",
|
|
2188
|
+
inAppPurchase: "$[1].inAppPurchase"
|
|
2186
2189
|
},
|
|
2187
2190
|
singleArgumentUnchanged: false
|
|
2188
2191
|
},
|