@noya-app/noya-multiplayer-react 0.1.80 → 0.1.82

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": "@noya-app/noya-multiplayer-react",
3
- "version": "0.1.80",
3
+ "version": "0.1.82",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -11,10 +11,10 @@
11
11
  "dev": "npm run build -- --watch"
12
12
  },
13
13
  "dependencies": {
14
- "@noya-app/state-manager": "0.1.63",
14
+ "@noya-app/state-manager": "0.1.65",
15
15
  "@noya-app/emitter": "0.1.0",
16
16
  "@noya-app/observable": "0.1.12",
17
- "@noya-app/task-runner": "0.1.6",
17
+ "@noya-app/task-runner": "0.1.7",
18
18
  "@noya-app/react-utils": "0.1.30",
19
19
  "react-inspector": "6.0.2"
20
20
  },
@@ -319,6 +319,11 @@ export function usePipelineManager() {
319
319
  return noyaManager.pipelineManager;
320
320
  }
321
321
 
322
+ export function useScriptEvaluator() {
323
+ const { noyaManager } = useAnyNoyaStateContext();
324
+ return noyaManager.scriptEvaluatorManager;
325
+ }
326
+
322
327
  export function useNoyaUserManager() {
323
328
  const { noyaManager } = useAnyNoyaStateContext();
324
329
  return noyaManager.userManager;