@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.mjs
CHANGED
|
@@ -2363,7 +2363,6 @@ function useBuyNow({ withTrack = true } = {}, swrOptions) {
|
|
|
2363
2363
|
lines: lineItems
|
|
2364
2364
|
});
|
|
2365
2365
|
const memberType = hasPlusMember ? "2" : String(profile?.memberType ?? 0);
|
|
2366
|
-
console.log("customer", customer);
|
|
2367
2366
|
const cartAttributes = getCartAttributes({
|
|
2368
2367
|
profile,
|
|
2369
2368
|
customer,
|
|
@@ -2413,7 +2412,7 @@ function useBuyNow({ withTrack = true } = {}, swrOptions) {
|
|
|
2413
2412
|
}
|
|
2414
2413
|
return resultCart;
|
|
2415
2414
|
},
|
|
2416
|
-
[client, locale, isLoggedIn, cartCookieAdapter, withTrack]
|
|
2415
|
+
[client, locale, isLoggedIn, cartCookieAdapter, withTrack, customer, profile, memberSetting]
|
|
2417
2416
|
);
|
|
2418
2417
|
return useSWRMutation("buy-now", buyNow, swrOptions);
|
|
2419
2418
|
}
|