create-moost 0.6.17 → 0.6.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-moost",
3
- "version": "0.6.17",
3
+ "version": "0.6.18",
4
4
  "description": "create-moost",
5
5
  "keywords": [
6
6
  "composables",
@@ -44,16 +44,16 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@prostojs/rewrite": "^0.2.3",
47
- "@wooksjs/event-cli": "^0.7.15",
47
+ "@wooksjs/event-cli": "^0.7.16",
48
48
  "prompts": "^2.4.2",
49
- "moost": "^0.6.17",
50
- "@moostjs/event-cli": "^0.6.17"
49
+ "@moostjs/event-cli": "^0.6.18",
50
+ "moost": "^0.6.18"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/prompts": "^2.4.9",
54
54
  "vite": "^8.0.10",
55
55
  "vitest": "3.2.4",
56
- "@moostjs/vite": "^0.6.17"
56
+ "@moostjs/vite": "^0.6.18"
57
57
  },
58
58
  "scripts": {
59
59
  "pub": "pnpm publish --access public",
@@ -74,11 +74,11 @@ export class AppController {
74
74
 
75
75
  if (typeof wfState === "object") {
76
76
  // Resume an existing workflow with the provided state and input
77
- return this.wf.resume<TWfExampleInput>(wfState as TWfState, input);
77
+ return this.wf.resume<TWfExampleInput>(wfState as TWfState, { input });
78
78
  }
79
79
 
80
80
  // Start a new workflow with the provided input
81
- return this.wf.start<TWfExampleInput>("wf-example", {}, input);
81
+ return this.wf.start<TWfExampleInput>("wf-example", {}, { input });
82
82
  }
83
83
 
84
84
  /**