@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.
@@ -51,7 +51,7 @@ __export(index_typings_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,
@@ -182,8 +182,8 @@ function resolveComWixEcomCartApiV1CurrentCartServiceUrl(opts) {
182
182
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
183
183
  }
184
184
  var PACKAGE_NAME = "@wix/auto_sdk_ecom_current-cart";
185
- function currentCartGetCurrentCart(payload) {
186
- function __currentCartGetCurrentCart({ host }) {
185
+ function getCurrentCart(payload) {
186
+ function __getCurrentCart({ host }) {
187
187
  const metadata = {
188
188
  entityFqdn: "wix.ecom.v1.cart",
189
189
  method: "GET",
@@ -229,7 +229,7 @@ function currentCartGetCurrentCart(payload) {
229
229
  };
230
230
  return metadata;
231
231
  }
232
- return __currentCartGetCurrentCart;
232
+ return __getCurrentCart;
233
233
  }
234
234
  function updateCurrentCart(payload) {
235
235
  function __updateCurrentCart({ host }) {
@@ -908,10 +908,10 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
908
908
  WebhookIdentityType2["APP"] = "APP";
909
909
  return WebhookIdentityType2;
910
910
  })(WebhookIdentityType || {});
911
- async function getCurrentCart() {
911
+ async function getCurrentCart2() {
912
912
  const { httpClient, sideEffects } = arguments[0];
913
913
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({});
914
- const reqOpts = currentCartGetCurrentCart(payload);
914
+ const reqOpts = getCurrentCart(payload);
915
915
  sideEffects?.onSiteCall?.();
916
916
  try {
917
917
  const result = await httpClient.request(reqOpts);