@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.js
CHANGED
|
@@ -1212,7 +1212,7 @@ function useCalcGiftsFromLines({
|
|
|
1212
1212
|
attributes: [
|
|
1213
1213
|
{
|
|
1214
1214
|
key: scriptGiveawayKey,
|
|
1215
|
-
value:
|
|
1215
|
+
value: scriptGiveawayKey
|
|
1216
1216
|
}
|
|
1217
1217
|
]
|
|
1218
1218
|
};
|
|
@@ -1379,7 +1379,7 @@ function getCartAttributes({
|
|
|
1379
1379
|
},
|
|
1380
1380
|
{
|
|
1381
1381
|
key: "_member_type",
|
|
1382
|
-
value: memberType ?? String(profile?.memberType)
|
|
1382
|
+
value: memberType ?? String(profile?.memberType ?? 0)
|
|
1383
1383
|
},
|
|
1384
1384
|
{
|
|
1385
1385
|
key: "_user_type",
|
|
@@ -3269,7 +3269,7 @@ function CartProvider({
|
|
|
3269
3269
|
profile,
|
|
3270
3270
|
customer,
|
|
3271
3271
|
cart,
|
|
3272
|
-
memberType: hasPlusMember ? "2" : profile?.memberType
|
|
3272
|
+
memberType: hasPlusMember ? "2" : String(profile?.memberType ?? 0)
|
|
3273
3273
|
});
|
|
3274
3274
|
ahooks.useRequest(
|
|
3275
3275
|
() => {
|