@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
package/build/es/index.mjs
CHANGED
|
@@ -1497,6 +1497,7 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
1497
1497
|
ChannelType2["FAIRE_COM"] = "FAIRE_COM";
|
|
1498
1498
|
ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
|
|
1499
1499
|
ChannelType2["STRIPE_AGENTIC_CHECKOUT"] = "STRIPE_AGENTIC_CHECKOUT";
|
|
1500
|
+
ChannelType2["WIX_INVOICES_PLATFORM"] = "WIX_INVOICES_PLATFORM";
|
|
1500
1501
|
return ChannelType2;
|
|
1501
1502
|
})(ChannelType || {});
|
|
1502
1503
|
var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
@@ -2176,7 +2177,8 @@ async function createOrder2(_id, options) {
|
|
|
2176
2177
|
const payload = renameKeysFromSDKRequestToRESTRequest({
|
|
2177
2178
|
id: _id,
|
|
2178
2179
|
savePaymentMethod: options?.savePaymentMethod,
|
|
2179
|
-
delayCapture: options?.delayCapture
|
|
2180
|
+
delayCapture: options?.delayCapture,
|
|
2181
|
+
inAppPurchase: options?.inAppPurchase
|
|
2180
2182
|
});
|
|
2181
2183
|
const reqOpts = createOrder(payload);
|
|
2182
2184
|
sideEffects?.onSiteCall?.();
|
|
@@ -2192,7 +2194,8 @@ async function createOrder2(_id, options) {
|
|
|
2192
2194
|
explicitPathsToArguments: {
|
|
2193
2195
|
id: "$[0]",
|
|
2194
2196
|
savePaymentMethod: "$[1].savePaymentMethod",
|
|
2195
|
-
delayCapture: "$[1].delayCapture"
|
|
2197
|
+
delayCapture: "$[1].delayCapture",
|
|
2198
|
+
inAppPurchase: "$[1].inAppPurchase"
|
|
2196
2199
|
},
|
|
2197
2200
|
singleArgumentUnchanged: false
|
|
2198
2201
|
},
|