@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/meta.js CHANGED
@@ -51,7 +51,7 @@ __export(meta_exports, {
51
51
  createCheckoutFromCurrentCart: () => createCheckoutFromCurrentCart2,
52
52
  deleteCurrentCart: () => deleteCurrentCart2,
53
53
  estimateCurrentCartTotals: () => estimateCurrentCartTotals2,
54
- getCurrentCart: () => getCurrentCart,
54
+ getCurrentCart: () => getCurrentCart2,
55
55
  removeCouponFromCurrentCart: () => removeCouponFromCurrentCart2,
56
56
  removeLineItemsFromCurrentCart: () => removeLineItemsFromCurrentCart2,
57
57
  updateCurrentCart: () => updateCurrentCart2,
@@ -178,8 +178,8 @@ function resolveComWixEcomCartApiV1CurrentCartServiceUrl(opts) {
178
178
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
179
179
  }
180
180
  var PACKAGE_NAME = "@wix/auto_sdk_ecom_current-cart";
181
- function currentCartGetCurrentCart(payload) {
182
- function __currentCartGetCurrentCart({ host }) {
181
+ function getCurrentCart(payload) {
182
+ function __getCurrentCart({ host }) {
183
183
  const metadata = {
184
184
  entityFqdn: "wix.ecom.v1.cart",
185
185
  method: "GET",
@@ -225,7 +225,7 @@ function currentCartGetCurrentCart(payload) {
225
225
  };
226
226
  return metadata;
227
227
  }
228
- return __currentCartGetCurrentCart;
228
+ return __getCurrentCart;
229
229
  }
230
230
  function updateCurrentCart(payload) {
231
231
  function __updateCurrentCart({ host }) {
@@ -899,9 +899,9 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
899
899
  })(WebhookIdentityType || {});
900
900
 
901
901
  // src/ecom-v1-cart-current-cart.meta.ts
902
- function getCurrentCart() {
902
+ function getCurrentCart2() {
903
903
  const payload = {};
904
- const getRequestOptions = currentCartGetCurrentCart(payload);
904
+ const getRequestOptions = getCurrentCart(payload);
905
905
  const getUrl = (context) => {
906
906
  const { url } = getRequestOptions(context);
907
907
  return url;