@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@namiml/expo-sdk",
3
- "version": "3.4.3-dev.202606120301",
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.202606120301",
33
- "@namiml/sdk-core": "3.4.3-dev.202606120301",
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"
@@ -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 !!value && (!(value.toString().match(LIQUID_VARIABLE_REGEX)) === expected);
213
+ return present === expected;
213
214
  }
214
- return !!value && !value.toString().match(LIQUID_VARIABLE_REGEX);
215
+ return present;
215
216
  }
216
217
  if (operator === 'notSet') {
217
- return !value || !!value.toString().match(LIQUID_VARIABLE_REGEX);
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;