void-fate 1.3.0 → 1.3.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/README.md CHANGED
@@ -6,7 +6,23 @@ Void adapter for [fate](https://github.com/nkzw-tech/fate).
6
6
  client wrapper needed to use fate in a Void app without keeping adapter glue in
7
7
  application code.
8
8
 
9
- ## Install
9
+ ## New Project
10
+
11
+ For a new Void app, start from the Void template:
12
+
13
+ ```sh
14
+ vp create fate my-app --template void
15
+ ```
16
+
17
+ Use Vue instead of React with:
18
+
19
+ ```sh
20
+ vp create fate my-app --template void --framework vue
21
+ ```
22
+
23
+ ## Existing Project
24
+
25
+ For an existing Void project, add the packages directly:
10
26
 
11
27
  ```sh
12
28
  pnpm add @nkzw/fate react-fate void-fate void
package/lib/server.mjs CHANGED
@@ -24,7 +24,8 @@ function createVoidFateLive(_options = {}) {
24
24
  });
25
25
  };
26
26
  const publishConnection = (procedure, args, type, options = {}) => {
27
- publish(args ? liveConnectionTopic(procedure, args) : liveGlobalConnectionTopic(procedure), {
27
+ const topic = args ? liveConnectionTopic(procedure, args) : liveGlobalConnectionTopic(procedure);
28
+ publish(topic, {
28
29
  cursor: options.cursor,
29
30
  id: options.id,
30
31
  node: options.node,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "void-fate",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Void adapter for fate.",
5
5
  "homepage": "https://github.com/nkzw-tech/fate",
6
6
  "license": "MIT",
@@ -37,14 +37,14 @@
37
37
  }
38
38
  },
39
39
  "dependencies": {
40
- "@nkzw/fate": "^1.0.3",
41
- "react-fate": "^1.0.3"
40
+ "@nkzw/fate": "^1.3.1",
41
+ "react-fate": "^1.3.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@types/react": "^19.2.16",
44
+ "@types/react": "^19.2.17",
45
45
  "react": "^19.2.7",
46
- "vite": "npm:@voidzero-dev/vite-plus-core@0.1.24",
47
- "void": "^0.9.0"
46
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.2.4",
47
+ "void": "^0.10.10"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@nkzw/fate": "^1.0.0-rc.0",