@hot-updater/postgres 0.29.8 → 0.30.1

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/postgres",
3
3
  "type": "module",
4
- "version": "0.29.8",
4
+ "version": "0.30.1",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.mjs",
@@ -31,8 +31,8 @@
31
31
  "dependencies": {
32
32
  "kysely": "^0.28.5",
33
33
  "pg": "^8.13.1",
34
- "@hot-updater/core": "0.29.8",
35
- "@hot-updater/plugin-core": "0.29.8"
34
+ "@hot-updater/core": "0.30.1",
35
+ "@hot-updater/plugin-core": "0.30.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@electric-sql/pglite": "^0.2.15",
@@ -40,8 +40,8 @@
40
40
  "@types/pg": "^8.11.10",
41
41
  "camelcase-keys": "^9.1.3",
42
42
  "pg-minify": "^1.6.5",
43
- "@hot-updater/js": "0.29.8",
44
- "@hot-updater/test-utils": "0.29.8"
43
+ "@hot-updater/js": "0.30.1",
44
+ "@hot-updater/test-utils": "0.30.1"
45
45
  },
46
46
  "inlinedDependencies": {
47
47
  "camelcase": "8.0.0",
@@ -209,9 +209,10 @@ BEGIN
209
209
  END IF;
210
210
 
211
211
  IF normalized_target_cohorts IS NOT NULL
212
- AND array_length(normalized_target_cohorts, 1) > 0 THEN
213
- RETURN normalized_cohort IS NOT NULL
214
- AND normalized_cohort = ANY(normalized_target_cohorts);
212
+ AND array_length(normalized_target_cohorts, 1) > 0
213
+ AND normalized_cohort IS NOT NULL
214
+ AND normalized_cohort = ANY(normalized_target_cohorts) THEN
215
+ RETURN TRUE;
215
216
  END IF;
216
217
 
217
218
  IF normalized_rollout_count <= 0 THEN