@anker-in/shopify-react 0.1.1-beta.53 → 0.1.1-beta.55
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 +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1204,7 +1204,7 @@ function useCalcGiftsFromLines({
|
|
|
1204
1204
|
attributes: [
|
|
1205
1205
|
{
|
|
1206
1206
|
key: scriptGiveawayKey,
|
|
1207
|
-
value:
|
|
1207
|
+
value: scriptGiveawayKey
|
|
1208
1208
|
}
|
|
1209
1209
|
]
|
|
1210
1210
|
};
|
|
@@ -1371,7 +1371,7 @@ function getCartAttributes({
|
|
|
1371
1371
|
},
|
|
1372
1372
|
{
|
|
1373
1373
|
key: "_member_type",
|
|
1374
|
-
value: memberType ?? String(profile?.memberType)
|
|
1374
|
+
value: memberType ?? String(profile?.memberType ?? 0)
|
|
1375
1375
|
},
|
|
1376
1376
|
{
|
|
1377
1377
|
key: "_user_type",
|
|
@@ -3261,7 +3261,7 @@ function CartProvider({
|
|
|
3261
3261
|
profile,
|
|
3262
3262
|
customer,
|
|
3263
3263
|
cart,
|
|
3264
|
-
memberType: hasPlusMember ? "2" : profile?.memberType
|
|
3264
|
+
memberType: hasPlusMember ? "2" : String(profile?.memberType ?? 0)
|
|
3265
3265
|
});
|
|
3266
3266
|
useRequest(
|
|
3267
3267
|
() => {
|