@anker-in/shopify-react 1.3.0-beta.3 → 1.3.0-beta.5

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.
@@ -5,7 +5,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
5
5
  import Decimal3 from 'decimal.js';
6
6
  import { btoaID, atobID } from '@anker-in/shopify-core';
7
7
  import useSWR from 'swr';
8
- import useSWRMutation5 from 'swr/mutation';
8
+ import useSWRMutation6 from 'swr/mutation';
9
9
  import { useRequest, useDebounceEffect } from 'ahooks';
10
10
 
11
11
  // src/provider/context.ts
@@ -787,7 +787,7 @@ function useRemoveCartLines(options) {
787
787
  },
788
788
  [client, locale, cartCookieAdapter, mutateCart, metafieldIdentifiers]
789
789
  );
790
- return useSWRMutation5("remove-cart-lines", removeLines, options);
790
+ return useSWRMutation6("remove-cart-lines", removeLines, options);
791
791
  }
792
792
 
793
793
  // src/hooks/cart/feature/use-auto-remove-free-gifts.ts
@@ -1308,7 +1308,7 @@ function useUpdateCartAttributes({
1308
1308
  },
1309
1309
  [client, locale, cartCookieAdapter, mutate, metafieldIdentifiers, disabled]
1310
1310
  );
1311
- return useSWRMutation5("update-cart-attributes", updateAttributes, swrOptions);
1311
+ return useSWRMutation6("update-cart-attributes", updateAttributes, swrOptions);
1312
1312
  }
1313
1313
  var CartContext = createContext(null);
1314
1314
  function AutoRemoveGiftsHandler({