x-runtime-lib 0.8.65 → 0.8.67

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.
@@ -1 +1 @@
1
- export declare const base = "\nvar __env__ = 'dev'\nvar __mode__ = 'editor'\n\nfunction __getEnvV1__() {\n return __env__\n}\n\nvar __pointerPosX__ = 0\nvar __pointerPosY__ = 0\n";
1
+ export declare const base = "\nvar __env__ = 'dev'\nvar __mode__ = 'editor'\n\nfunction __getEnvV1__() {\n return __env__\n}\n";
@@ -36,7 +36,7 @@ export declare class Sandbox {
36
36
  setVariable(varName: string, value: any): void;
37
37
  run(): void;
38
38
  runCode(code: string): void;
39
- callFunction(funcName: string, ...params: any): any;
39
+ callFunction(funcName: string, ...params: any): void;
40
40
  private nodes;
41
41
  syncNodes(data: Data | undefined): void;
42
42
  getElementPropertyInner(node: any, propertyKeys: PropertyKeys): any;
@@ -58,7 +58,7 @@ export declare class Sandbox {
58
58
  } | undefined;
59
59
  callCustomMethod(key: string, inputs: {
60
60
  [key: string]: any;
61
- }): any;
61
+ }): void;
62
62
  private states;
63
63
  resetStates(): void;
64
64
  getState(stateId: string): any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.65",
4
+ "version": "0.8.67",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",