@wix/auto_sdk_ecom_current-cart 1.0.130 → 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/es/meta.mjs CHANGED
@@ -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 currentCartGetCurrentCart(payload) {
121
- function __currentCartGetCurrentCart({ host }) {
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 __currentCartGetCurrentCart;
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 getCurrentCart() {
841
+ function getCurrentCart2() {
842
842
  const payload = {};
843
- const getRequestOptions = currentCartGetCurrentCart(payload);
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,