@evolu/react-native 9.0.0 → 9.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"SqliteLive.d.ts","sourceRoot":"","sources":["../src/SqliteLive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,MAAM,EAKP,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAGtC,eAAO,MAAM,UAAU,oCA0BtB,CAAC"}
1
+ {"version":3,"file":"SqliteLive.d.ts","sourceRoot":"","sources":["../src/SqliteLive.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,MAAM,EAKP,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAGtC,eAAO,MAAM,UAAU,oCAiCtB,CAAC"}
@@ -18,5 +18,9 @@ export const SqliteLive = Layer.effect(Sqlite, Effect.gen(function* () {
18
18
  }),
19
19
  // RN doesn't need the "last" mode because there are no tabs.
20
20
  transaction: () => mutex.withPermits(1),
21
+ export: () => Effect.sync(() => {
22
+ throw new Error("expo-sqlite/next does not support serializeSync");
23
+ return db.serializeSync();
24
+ }),
21
25
  });
22
26
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evolu/react-native",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "description": "Evolu for React Native",
5
5
  "keywords": [
6
6
  "evolu",
@@ -39,14 +39,14 @@
39
39
  "expo-sqlite": "~13.4.0",
40
40
  "react-native": "0.73.6",
41
41
  "typescript": "^5.4.5",
42
- "vitest": "^1.5.2",
43
- "@evolu/common": "5.0.0",
44
- "@evolu/common-react": "8.0.0",
42
+ "vitest": "^1.6.0",
43
+ "@evolu/common": "5.0.3",
44
+ "@evolu/common-react": "8.0.3",
45
45
  "@evolu/tsconfig": "0.0.2",
46
46
  "eslint-config-evolu": "1.0.0"
47
47
  },
48
48
  "peerDependencies": {
49
- "@evolu/common-react": "^8.0.0",
49
+ "@evolu/common-react": "^8.0.3",
50
50
  "expo": "^50.0.14",
51
51
  "expo-sqlite": "~13.4.0",
52
52
  "react-native": "^0.73.6"
package/src/SqliteLive.ts CHANGED
@@ -32,8 +32,15 @@ export const SqliteLive = Layer.effect(
32
32
  );
33
33
  return { rows: [], changes };
34
34
  }),
35
+
35
36
  // RN doesn't need the "last" mode because there are no tabs.
36
37
  transaction: () => mutex.withPermits(1),
38
+
39
+ export: () =>
40
+ Effect.sync(() => {
41
+ throw new Error("expo-sqlite/next does not support serializeSync");
42
+ return db.serializeSync();
43
+ }),
37
44
  });
38
45
  }),
39
46
  );