@wix/auto_sdk_ecom_current-cart 1.0.131 → 1.0.132
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 +9 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +6 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +6 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +9 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +6 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +6 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +9 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +6 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +6 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +9 -9
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +6 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +6 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -117,8 +117,8 @@ function resolveComWixEcomCartApiV1CurrentCartServiceUrl(opts) {
|
|
|
117
117
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
118
118
|
}
|
|
119
119
|
var PACKAGE_NAME = "@wix/auto_sdk_ecom_current-cart";
|
|
120
|
-
function
|
|
121
|
-
function
|
|
120
|
+
function getCurrentCart(payload) {
|
|
121
|
+
function __getCurrentCart({ host }) {
|
|
122
122
|
const metadata = {
|
|
123
123
|
entityFqdn: "wix.ecom.v1.cart",
|
|
124
124
|
method: "GET",
|
|
@@ -164,7 +164,7 @@ function currentCartGetCurrentCart(payload) {
|
|
|
164
164
|
};
|
|
165
165
|
return metadata;
|
|
166
166
|
}
|
|
167
|
-
return
|
|
167
|
+
return __getCurrentCart;
|
|
168
168
|
}
|
|
169
169
|
function updateCurrentCart(payload) {
|
|
170
170
|
function __updateCurrentCart({ host }) {
|
|
@@ -838,9 +838,9 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
838
838
|
})(WebhookIdentityType || {});
|
|
839
839
|
|
|
840
840
|
// src/ecom-v1-cart-current-cart.meta.ts
|
|
841
|
-
function
|
|
841
|
+
function getCurrentCart2() {
|
|
842
842
|
const payload = {};
|
|
843
|
-
const getRequestOptions =
|
|
843
|
+
const getRequestOptions = getCurrentCart(payload);
|
|
844
844
|
const getUrl = (context) => {
|
|
845
845
|
const { url } = getRequestOptions(context);
|
|
846
846
|
return url;
|
|
@@ -1032,7 +1032,7 @@ export {
|
|
|
1032
1032
|
createCheckoutFromCurrentCart2 as createCheckoutFromCurrentCart,
|
|
1033
1033
|
deleteCurrentCart2 as deleteCurrentCart,
|
|
1034
1034
|
estimateCurrentCartTotals2 as estimateCurrentCartTotals,
|
|
1035
|
-
getCurrentCart,
|
|
1035
|
+
getCurrentCart2 as getCurrentCart,
|
|
1036
1036
|
removeCouponFromCurrentCart2 as removeCouponFromCurrentCart,
|
|
1037
1037
|
removeLineItemsFromCurrentCart2 as removeLineItemsFromCurrentCart,
|
|
1038
1038
|
updateCurrentCart2 as updateCurrentCart,
|