@wix/auto_sdk_ecom_current-cart 1.0.132 → 1.0.133

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.
@@ -124,8 +124,8 @@ function resolveComWixEcomCartApiV1CurrentCartServiceUrl(opts) {
124
124
  return resolveUrl(Object.assign(opts, { domainToMappings }));
125
125
  }
126
126
  var PACKAGE_NAME = "@wix/auto_sdk_ecom_current-cart";
127
- function getCurrentCart(payload) {
128
- function __getCurrentCart({ host }) {
127
+ function currentCartGetCurrentCart(payload) {
128
+ function __currentCartGetCurrentCart({ host }) {
129
129
  const metadata = {
130
130
  entityFqdn: "wix.ecom.v1.cart",
131
131
  method: "GET",
@@ -171,7 +171,7 @@ function getCurrentCart(payload) {
171
171
  };
172
172
  return metadata;
173
173
  }
174
- return __getCurrentCart;
174
+ return __currentCartGetCurrentCart;
175
175
  }
176
176
  function updateCurrentCart(payload) {
177
177
  function __updateCurrentCart({ host }) {
@@ -850,10 +850,10 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
850
850
  WebhookIdentityType2["APP"] = "APP";
851
851
  return WebhookIdentityType2;
852
852
  })(WebhookIdentityType || {});
853
- async function getCurrentCart2() {
853
+ async function getCurrentCart() {
854
854
  const { httpClient, sideEffects } = arguments[0];
855
855
  const payload = renameKeysFromSDKRequestToRESTRequest({});
856
- const reqOpts = getCurrentCart(payload);
856
+ const reqOpts = currentCartGetCurrentCart(payload);
857
857
  sideEffects?.onSiteCall?.();
858
858
  try {
859
859
  const result = await httpClient.request(reqOpts);
@@ -1332,7 +1332,7 @@ export {
1332
1332
  createCheckoutFromCurrentCart2 as createCheckoutFromCurrentCart,
1333
1333
  deleteCurrentCart2 as deleteCurrentCart,
1334
1334
  estimateCurrentCartTotals2 as estimateCurrentCartTotals,
1335
- getCurrentCart2 as getCurrentCart,
1335
+ getCurrentCart,
1336
1336
  removeCouponFromCurrentCart2 as removeCouponFromCurrentCart,
1337
1337
  removeLineItemsFromCurrentCart2 as removeLineItemsFromCurrentCart,
1338
1338
  updateCurrentCart2 as updateCurrentCart,