@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.js
CHANGED
|
@@ -1256,7 +1256,7 @@ function getCartAttributes({
|
|
|
1256
1256
|
},
|
|
1257
1257
|
{
|
|
1258
1258
|
key: "_member_type",
|
|
1259
|
-
value: memberType ?? String(profile?.memberType)
|
|
1259
|
+
value: memberType ?? String(profile?.memberType ?? 0)
|
|
1260
1260
|
},
|
|
1261
1261
|
{
|
|
1262
1262
|
key: "_user_type",
|
|
@@ -2240,7 +2240,7 @@ function useBuyNow({ withTrack = true } = {}, swrOptions) {
|
|
|
2240
2240
|
fbqTrackConfig,
|
|
2241
2241
|
customAttributes,
|
|
2242
2242
|
metafieldIdentifiers,
|
|
2243
|
-
redirectToCheckout
|
|
2243
|
+
redirectToCheckout = true
|
|
2244
2244
|
} = arg;
|
|
2245
2245
|
if (!lineItems || lineItems.length === 0) {
|
|
2246
2246
|
return;
|