@evolu/react-native 11.0.0 → 11.1.0

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":"dbFactory.d.ts","sourceRoot":"","sources":["../src/dbFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAGZ,aAAa,EACb,WAAW,EAKZ,MAAM,eAAe,CAAC;AAGvB,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAOtC,eAAO,MAAM,mBAAmB,oEAG/B,CAAC;AAEF,eAAO,MAAM,eAAe,wCAE1B,CAAC;AAEH,eAAO,MAAM,iBAAiB,0CAE5B,CAAC;AAEH,eAAO,MAAM,uBAAuB,yCAsBnC,CAAC"}
1
+ {"version":3,"file":"dbFactory.d.ts","sourceRoot":"","sources":["../src/dbFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAGZ,aAAa,EACb,WAAW,EAKZ,MAAM,eAAe,CAAC;AAGvB,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAMtC,eAAO,MAAM,mBAAmB,oEAK/B,CAAC;AAEF,eAAO,MAAM,eAAe,wCAE1B,CAAC;AAEH,eAAO,MAAM,iBAAiB,0CAE5B,CAAC;AAEH,eAAO,MAAM,uBAAuB,yCAsBnC,CAAC"}
package/dist/dbFactory.js CHANGED
@@ -5,8 +5,11 @@ import * as Layer from "effect/Layer";
5
5
  import { customAlphabet, nanoid } from "nanoid/index.browser.js";
6
6
  import { AppStateLive, SyncLockLive } from "./PlatformLive.js";
7
7
  import { SqliteLive } from "./SqliteLive.js";
8
+ export const NanoIdGeneratorLive = createNanoIdGeneratorLive(
8
9
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
9
- export const NanoIdGeneratorLive = createNanoIdGeneratorLive(customAlphabet, nanoid);
10
+ customAlphabet,
11
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
12
+ nanoid);
10
13
  export const SyncFactoryLive = Layer.succeed(SyncFactory, {
11
14
  createSync: Effect.provide(createSync, SecretBox.Live),
12
15
  });
@@ -30,5 +30,5 @@ export declare const
30
30
  *
31
31
  * const evolu = E.createEvolu(Database);
32
32
  */
33
- createEvolu: <T extends import("@evolu/common").EvoluSchema, I>(schema: import("@effect/schema/Schema").Schema<T, I, never>, config?: Partial<import("@evolu/common").EvoluConfig<T>> | undefined) => import("@evolu/common").Evolu<T>;
33
+ createEvolu: <T extends import("@evolu/common").EvoluSchema, I>(schema: import("@effect/schema/Schema").Schema<T, I>, config?: Partial<import("@evolu/common").EvoluConfig<T>>) => import("@evolu/common").Evolu<T>;
34
34
  //# sourceMappingURL=index.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../src/index.native.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AAQrC,eAAO;AACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,WAAW,2NACiE,CAAC"}
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../src/index.native.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AAQrC,eAAO;AACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,WAAW,wMACiE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evolu/react-native",
3
- "version": "11.0.0",
3
+ "version": "11.1.0",
4
4
  "description": "Evolu for React Native",
5
5
  "keywords": [
6
6
  "evolu",
@@ -34,15 +34,15 @@
34
34
  "expo-sqlite": "^14.0.3",
35
35
  "react-native": "^0.74.1",
36
36
  "typescript": "^5.4.5",
37
- "vitest": "^1.6.0",
38
- "@evolu/common": "5.2.2",
39
- "@evolu/react": "8.1.0",
40
- "@evolu/common-react": "8.0.5",
37
+ "vitest": "^2.0.0",
38
+ "@evolu/common": "5.4.0",
39
+ "@evolu/common-react": "8.1.0",
40
+ "@evolu/react": "8.2.0",
41
41
  "@evolu/tsconfig": "0.0.2",
42
42
  "eslint-config-evolu": "1.0.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "@evolu/common-react": "^8.0.5",
45
+ "@evolu/common-react": "^8.1.0",
46
46
  "expo": "^51.0.0",
47
47
  "expo-sqlite": "^14.0.3",
48
48
  "react-native": "^0.74.1"
package/src/dbFactory.ts CHANGED
@@ -18,9 +18,10 @@ import { customAlphabet, nanoid } from "nanoid/index.browser.js";
18
18
  import { AppStateLive, SyncLockLive } from "./PlatformLive.js";
19
19
  import { SqliteLive } from "./SqliteLive.js";
20
20
 
21
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
22
21
  export const NanoIdGeneratorLive = createNanoIdGeneratorLive(
22
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
23
23
  customAlphabet,
24
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
24
25
  nanoid,
25
26
  );
26
27