@anker-in/shopify-react 0.1.1-beta.5 → 0.1.1-beta.6
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.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- 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-BTb1ZIF-.d.ts → index-AJXjqRBR.d.ts} +1 -1
- package/dist/{index-eFsqDs13.d.mts → index-B9HdNo3a.d.mts} +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -2756,10 +2756,10 @@ function useAddPlusMemberProductsToCart({
|
|
|
2756
2756
|
if (selectedPlusMemberMode === "annual" /* ANNUAL */ && hasAnnualPlus) {
|
|
2757
2757
|
return void 0;
|
|
2758
2758
|
}
|
|
2759
|
-
if (profile
|
|
2759
|
+
if (profile?.isMonthlyPlus && selectedPlusMemberMode === "monthly" /* MONTHLY */) {
|
|
2760
2760
|
return void 0;
|
|
2761
2761
|
}
|
|
2762
|
-
if (!profile
|
|
2762
|
+
if (!profile?.isAnnualPlus && selectedPlusMemberMode === "annual" /* ANNUAL */) {
|
|
2763
2763
|
return void 0;
|
|
2764
2764
|
}
|
|
2765
2765
|
return selectedPlusMemberProduct;
|