@evolu/react-native 15.0.0-next.1 → 15.0.0-next.2
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/src/Task.d.ts +2 -2
- package/dist/src/Task.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/Task.ts +3 -3
package/dist/src/Task.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @module
|
|
5
5
|
*/
|
|
6
|
-
import { type CreateRun, type
|
|
6
|
+
import { type CreateRun, type RunDefaultDeps } from "@evolu/common";
|
|
7
7
|
/**
|
|
8
8
|
* Creates {@link Run} for React Native with global error handling.
|
|
9
9
|
*
|
|
@@ -27,5 +27,5 @@ import { type CreateRun, type RunDeps } from "@evolu/common";
|
|
|
27
27
|
*
|
|
28
28
|
* @group React Native Run
|
|
29
29
|
*/
|
|
30
|
-
export declare const createRun: CreateRun<
|
|
30
|
+
export declare const createRun: CreateRun<RunDefaultDeps>;
|
|
31
31
|
//# sourceMappingURL=Task.d.ts.map
|
package/dist/src/Task.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAGL,KAAK,SAAS,EAEd,KAAK,
|
|
1
|
+
{"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAGL,KAAK,SAAS,EAEd,KAAK,cAAc,EACpB,MAAM,eAAe,CAAC;AAEvB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,SAAS,EAAE,SAAS,CAAC,cAAc,CA4B/C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evolu/react-native",
|
|
3
|
-
"version": "15.0.0-next.
|
|
3
|
+
"version": "15.0.0-next.2",
|
|
4
4
|
"description": "Evolu for React Native and Expo",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"evolu",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"react-native-sensitive-info": "6.0.0-rc.11",
|
|
101
101
|
"react-native-svg": "15.15.3",
|
|
102
102
|
"typescript": "^6",
|
|
103
|
-
"@evolu/common": "8.0.0-next.
|
|
103
|
+
"@evolu/common": "8.0.0-next.5",
|
|
104
104
|
"@evolu/react": "11.0.0-next.0",
|
|
105
105
|
"@evolu/typescript-config": "0.0.2"
|
|
106
106
|
},
|
package/src/Task.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
createUnknownError,
|
|
10
10
|
type CreateRun,
|
|
11
11
|
type Run,
|
|
12
|
-
type
|
|
12
|
+
type RunDefaultDeps,
|
|
13
13
|
} from "@evolu/common";
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -35,9 +35,9 @@ import {
|
|
|
35
35
|
*
|
|
36
36
|
* @group React Native Run
|
|
37
37
|
*/
|
|
38
|
-
export const createRun: CreateRun<
|
|
38
|
+
export const createRun: CreateRun<RunDefaultDeps> = <D>(
|
|
39
39
|
deps?: D,
|
|
40
|
-
): Run<
|
|
40
|
+
): Run<RunDefaultDeps & D> => {
|
|
41
41
|
const run = createCommonRun(deps);
|
|
42
42
|
|
|
43
43
|
const console = run.deps.console.child("global");
|