@anker-in/shopify-react 0.1.1-beta.52 → 0.1.1-beta.54
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 +2 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/provider/index.js +2 -2
- package/dist/provider/index.js.map +1 -1
- package/dist/provider/index.mjs +2 -2
- package/dist/provider/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/hooks/index.mjs
CHANGED
|
@@ -1247,7 +1247,7 @@ function getCartAttributes({
|
|
|
1247
1247
|
},
|
|
1248
1248
|
{
|
|
1249
1249
|
key: "_member_type",
|
|
1250
|
-
value: memberType ?? String(profile?.memberType)
|
|
1250
|
+
value: memberType ?? String(profile?.memberType ?? 0)
|
|
1251
1251
|
},
|
|
1252
1252
|
{
|
|
1253
1253
|
key: "_user_type",
|
|
@@ -2231,7 +2231,7 @@ function useBuyNow({ withTrack = true } = {}, swrOptions) {
|
|
|
2231
2231
|
fbqTrackConfig,
|
|
2232
2232
|
customAttributes,
|
|
2233
2233
|
metafieldIdentifiers,
|
|
2234
|
-
redirectToCheckout
|
|
2234
|
+
redirectToCheckout = true
|
|
2235
2235
|
} = arg;
|
|
2236
2236
|
if (!lineItems || lineItems.length === 0) {
|
|
2237
2237
|
return;
|