@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.js
CHANGED
|
@@ -2258,7 +2258,6 @@ function useBuyNow({ withTrack = true } = {}, swrOptions) {
|
|
|
2258
2258
|
lines: lineItems
|
|
2259
2259
|
});
|
|
2260
2260
|
const memberType = hasPlusMember ? "2" : String(profile?.memberType ?? 0);
|
|
2261
|
-
console.log("customer", customer);
|
|
2262
2261
|
const cartAttributes = getCartAttributes({
|
|
2263
2262
|
profile,
|
|
2264
2263
|
customer,
|
|
@@ -2308,7 +2307,7 @@ function useBuyNow({ withTrack = true } = {}, swrOptions) {
|
|
|
2308
2307
|
}
|
|
2309
2308
|
return resultCart;
|
|
2310
2309
|
},
|
|
2311
|
-
[client, locale, isLoggedIn, cartCookieAdapter, withTrack]
|
|
2310
|
+
[client, locale, isLoggedIn, cartCookieAdapter, withTrack, customer, profile, memberSetting]
|
|
2312
2311
|
);
|
|
2313
2312
|
return useSWRMutation__default.default("buy-now", buyNow, swrOptions);
|
|
2314
2313
|
}
|