@namiml/expo-sdk 3.4.3-dev.202606120301 → 3.4.3-dev.202606121502
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/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/utils/rendering.ts +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@namiml/expo-sdk",
|
|
3
|
-
"version": "3.4.3-dev.
|
|
3
|
+
"version": "3.4.3-dev.202606121502",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Nami Expo SDK — paywall and subscription management for Expo apps",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"prepublishOnly": "yarn clean && yarn build:prod"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@namiml/expo-nami-iap": "3.4.3-dev.
|
|
33
|
-
"@namiml/sdk-core": "3.4.3-dev.
|
|
32
|
+
"@namiml/expo-nami-iap": "3.4.3-dev.202606121502",
|
|
33
|
+
"@namiml/sdk-core": "3.4.3-dev.202606121502",
|
|
34
34
|
"react-native-qrcode-svg": "^6.3.21",
|
|
35
35
|
"react-native-safe-area-context": "^5.6.0",
|
|
36
36
|
"react-native-svg": "^15.15.4"
|
package/src/utils/rendering.ts
CHANGED
|
@@ -208,13 +208,14 @@ function testObjectMatches(
|
|
|
208
208
|
return !value?.includes?.(expected);
|
|
209
209
|
}
|
|
210
210
|
if (operator === 'set') {
|
|
211
|
+
const present = value != null && value !== '' && !value.toString().match(LIQUID_VARIABLE_REGEX);
|
|
211
212
|
if (typeof expected === 'boolean') {
|
|
212
|
-
return
|
|
213
|
+
return present === expected;
|
|
213
214
|
}
|
|
214
|
-
return
|
|
215
|
+
return present;
|
|
215
216
|
}
|
|
216
217
|
if (operator === 'notSet') {
|
|
217
|
-
return
|
|
218
|
+
return value == null || value === '' || !!value.toString().match(LIQUID_VARIABLE_REGEX);
|
|
218
219
|
}
|
|
219
220
|
if (operator === 'gt') return value > expected;
|
|
220
221
|
if (operator === 'gte') return value >= expected;
|