@evolu/react 8.0.2 → 8.2.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.
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/package.json +8 -8
- package/src/index.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { parseMnemonic } from "@evolu/common-web";
|
|
2
1
|
export * from "@evolu/common/public";
|
|
3
2
|
export declare const
|
|
4
3
|
/**
|
|
@@ -30,6 +29,6 @@ export declare const
|
|
|
30
29
|
*
|
|
31
30
|
* const evolu = E.createEvolu(Database);
|
|
32
31
|
*/
|
|
33
|
-
createEvolu: <T extends import("@evolu/common").EvoluSchema, I>(schema: import("@effect/schema/Schema").Schema<T, I
|
|
32
|
+
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
33
|
export * from "@evolu/common-react";
|
|
35
34
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,cAAc,sBAAsB,CAAC;AASrC,eAAO;AACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,WAAW,wMAC8D,CAAC;AAE5E,cAAc,qBAAqB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import { EvoluFactoryWeb } from "@evolu/common-web";
|
|
|
3
3
|
import * as Effect from "effect/Effect";
|
|
4
4
|
import * as Layer from "effect/Layer";
|
|
5
5
|
import { flushSync } from "react-dom";
|
|
6
|
-
export { parseMnemonic } from "@evolu/common-web";
|
|
7
6
|
export * from "@evolu/common/public";
|
|
8
7
|
const EvoluFactoryWebReact = EvoluFactoryWeb.pipe(Layer.provide(Layer.succeed(FlushSync, flushSync)));
|
|
9
8
|
// JSDoc doesn't support destructured parameters, so we must copy-paste
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evolu/react",
|
|
3
|
-
"version": "8.0
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "Evolu for React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"evolu",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"eslint": "^8.57.0",
|
|
34
34
|
"react-dom": "^18.3.1",
|
|
35
35
|
"typescript": "^5.4.5",
|
|
36
|
-
"vitest": "^
|
|
37
|
-
"@evolu/common": "5.
|
|
38
|
-
"@evolu/common-react": "8.0
|
|
39
|
-
"@evolu/common-web": "8.0
|
|
36
|
+
"vitest": "^2.0.0",
|
|
37
|
+
"@evolu/common": "5.4.0",
|
|
38
|
+
"@evolu/common-react": "8.1.0",
|
|
39
|
+
"@evolu/common-web": "8.2.0",
|
|
40
40
|
"@evolu/tsconfig": "0.0.2",
|
|
41
41
|
"eslint-config-evolu": "1.0.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@evolu/common": "^5.
|
|
45
|
-
"@evolu/common-react": "^8.0
|
|
46
|
-
"@evolu/common-web": "^8.0
|
|
44
|
+
"@evolu/common": "^5.4.0",
|
|
45
|
+
"@evolu/common-react": "^8.1.0",
|
|
46
|
+
"@evolu/common-web": "^8.2.0",
|
|
47
47
|
"react-dom": "^18.2.0"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
package/src/index.ts
CHANGED
|
@@ -4,7 +4,6 @@ import * as Effect from "effect/Effect";
|
|
|
4
4
|
import * as Layer from "effect/Layer";
|
|
5
5
|
import { flushSync } from "react-dom";
|
|
6
6
|
|
|
7
|
-
export { parseMnemonic } from "@evolu/common-web";
|
|
8
7
|
export * from "@evolu/common/public";
|
|
9
8
|
|
|
10
9
|
const EvoluFactoryWebReact = EvoluFactoryWeb.pipe(
|