@anker-in/shopify-react 0.1.1-beta.45 → 0.1.1-beta.47
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 +4 -4
package/dist/index.js
CHANGED
|
@@ -2371,7 +2371,6 @@ function useBuyNow({ withTrack = true } = {}, swrOptions) {
|
|
|
2371
2371
|
lines: lineItems
|
|
2372
2372
|
});
|
|
2373
2373
|
const memberType = hasPlusMember ? "2" : String(profile?.memberType ?? 0);
|
|
2374
|
-
console.log("customer", customer);
|
|
2375
2374
|
const cartAttributes = getCartAttributes({
|
|
2376
2375
|
profile,
|
|
2377
2376
|
customer,
|
|
@@ -2421,7 +2420,7 @@ function useBuyNow({ withTrack = true } = {}, swrOptions) {
|
|
|
2421
2420
|
}
|
|
2422
2421
|
return resultCart;
|
|
2423
2422
|
},
|
|
2424
|
-
[client, locale, isLoggedIn, cartCookieAdapter, withTrack]
|
|
2423
|
+
[client, locale, isLoggedIn, cartCookieAdapter, withTrack, customer, profile, memberSetting]
|
|
2425
2424
|
);
|
|
2426
2425
|
return useSWRMutation__default.default("buy-now", buyNow, swrOptions);
|
|
2427
2426
|
}
|