void-fate 1.0.2 → 1.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.
- package/lib/react.d.mts +1 -2
- package/lib/server.d.mts +4 -5
- package/package.json +8 -8
package/lib/react.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
2
|
|
|
4
3
|
//#region src/react.d.ts
|
|
5
4
|
type VoidFateClientProps = {
|
|
@@ -27,6 +26,6 @@ declare function VoidFateClient({
|
|
|
27
26
|
rpcPath,
|
|
28
27
|
url,
|
|
29
28
|
userId
|
|
30
|
-
}: VoidFateClientProps):
|
|
29
|
+
}: VoidFateClientProps): import("react").JSX.Element;
|
|
31
30
|
//#endregion
|
|
32
31
|
export { VoidFateClient, VoidFateClientProps };
|
package/lib/server.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FateServer, LiveEventBus } from "@nkzw/fate/server";
|
|
2
|
-
import * as _$void from "void";
|
|
3
2
|
|
|
4
3
|
//#region src/server.d.ts
|
|
5
4
|
type VoidEnv = Record<string, unknown>;
|
|
@@ -31,12 +30,12 @@ declare const defaultVoidFateRpcPath = "/fate";
|
|
|
31
30
|
declare const defaultVoidFateLivePath = "/fate-live";
|
|
32
31
|
declare function createVoidFateLive(_options?: VoidFateLiveOptions): VoidFateLive;
|
|
33
32
|
declare function defineVoidFateRoute<AdapterContext>(server: FateServer<unknown, AdapterContext>, live: VoidFateLive, options: VoidFateRouteOptions): {
|
|
34
|
-
GET:
|
|
35
|
-
POST:
|
|
33
|
+
GET: import("void").TypedHandler<{}, never>;
|
|
34
|
+
POST: import("void").TypedHandler<{}, never>;
|
|
36
35
|
};
|
|
37
36
|
declare function defineVoidFateLiveRoute(stream: VoidFateLiveStream): {
|
|
38
|
-
GET:
|
|
39
|
-
POST:
|
|
37
|
+
GET: import("void").TypedHandler<{}, never>;
|
|
38
|
+
POST: import("void").TypedHandler<{}, never>;
|
|
40
39
|
};
|
|
41
40
|
//#endregion
|
|
42
41
|
export { VoidFateLive, VoidFateLiveOptions, VoidFateLiveStream, VoidFateRouteOptions, createVoidFateLive, defaultVoidFateLivePath, defaultVoidFateRpcPath, defineVoidFateLiveRoute, defineVoidFateRoute };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "void-fate",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Void adapter for fate.",
|
|
5
5
|
"homepage": "https://github.com/nkzw-tech/fate",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,20 +37,20 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@nkzw/fate": "^1.0.
|
|
41
|
-
"react-fate": "^1.0.
|
|
40
|
+
"@nkzw/fate": "^1.0.3",
|
|
41
|
+
"react-fate": "^1.0.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@types/react": "^19.2.
|
|
45
|
-
"react": "^19.2.
|
|
46
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.
|
|
47
|
-
"void": "^0.
|
|
44
|
+
"@types/react": "^19.2.16",
|
|
45
|
+
"react": "^19.2.7",
|
|
46
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.24",
|
|
47
|
+
"void": "^0.9.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@nkzw/fate": "^1.0.0-rc.0",
|
|
51
51
|
"react": "^19.2.0",
|
|
52
52
|
"react-fate": "^1.0.0-rc.0",
|
|
53
|
-
"void": "^0.7.
|
|
53
|
+
"void": "^0.7.13"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "vp pack -d lib --target=node24 src/index.ts src/react.tsx src/server.ts"
|