@anker-in/shopify-react 0.1.1-beta.45 → 0.1.1-beta.46
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/dist/hooks/index.js +1 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -2
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/hooks/index.mjs
CHANGED
|
@@ -2249,7 +2249,6 @@ function useBuyNow({ withTrack = true } = {}, swrOptions) {
|
|
|
2249
2249
|
lines: lineItems
|
|
2250
2250
|
});
|
|
2251
2251
|
const memberType = hasPlusMember ? "2" : String(profile?.memberType ?? 0);
|
|
2252
|
-
console.log("customer", customer);
|
|
2253
2252
|
const cartAttributes = getCartAttributes({
|
|
2254
2253
|
profile,
|
|
2255
2254
|
customer,
|
|
@@ -2299,7 +2298,7 @@ function useBuyNow({ withTrack = true } = {}, swrOptions) {
|
|
|
2299
2298
|
}
|
|
2300
2299
|
return resultCart;
|
|
2301
2300
|
},
|
|
2302
|
-
[client, locale, isLoggedIn, cartCookieAdapter, withTrack]
|
|
2301
|
+
[client, locale, isLoggedIn, cartCookieAdapter, withTrack, customer, profile, memberSetting]
|
|
2303
2302
|
);
|
|
2304
2303
|
return useSWRMutation("buy-now", buyNow, swrOptions);
|
|
2305
2304
|
}
|