x-runtime-lib 0.8.53 → 0.8.55

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.
@@ -54,10 +54,6 @@ export declare class Sandbox {
54
54
  setVariable(varName: string, value: any): void;
55
55
  run(): void;
56
56
  runCode(code: string): void;
57
- callFunction(funcName: string, params?: any[]): void;
58
- triggerEventUpV1(eventKey: string, params: any[]): void;
59
- triggerEventDownV1(childId: string, eventId: string, params: any[]): void;
60
- callMethodUpV1(methodKey: string, params: any[]): void;
61
- callMethodDownV1(childId: string, methodId: string, params: any[]): void;
57
+ callFunction(funcName: string, ...params: any): void;
62
58
  }
63
59
  export {};
@@ -1,7 +1,7 @@
1
1
  export type SandboxKind = 'root' | 'reference' | 'multipleRef' | 'slot';
2
2
  export type PropertyKind = 'elementProperty' | 'referenceProperty' | 'multipleRefProperty' | 'customProperty' | 'elementSlotProperty' | 'customSlotProperty';
3
- export declare function isLocaleOfPropertyKind(kind: PropertyKind | ''): kind is "elementProperty" | "elementSlotProperty";
3
+ export declare function isLocaleOfPropertyKind(kind: PropertyKind | ''): boolean;
4
4
  export type MethodKind = 'elementMethod' | 'referenceMethod' | 'multipleRefMethod' | 'customMethod' | 'elementSlotMethod' | 'customSlotMethod';
5
- export declare function isLocaleOfMethodKind(kind: MethodKind | ''): kind is "elementMethod" | "elementSlotMethod";
5
+ export declare function isLocaleOfMethodKind(kind: MethodKind | ''): boolean;
6
6
  export type EventKind = 'elementEvent' | 'referenceEvent' | 'multipleRefEvent' | 'customEvent' | 'elementSlotEvent' | 'customSlotEvent' | 'elementPropertyChangeEvent' | 'referencePropertyChangeEvent' | 'multipleRefPropertyChangeEvent' | 'customPropertyChangeEvent' | 'elementSlotPropertyChangeEvent' | 'customSlotPropertyChangeEvent' | 'stateChangeEvent';
7
- export declare function isLocaleOfEventKind(kind: EventKind | ''): kind is "elementEvent" | "elementSlotEvent" | "elementPropertyChangeEvent" | "elementSlotPropertyChangeEvent";
7
+ export declare function isLocaleOfEventKind(kind: EventKind | ''): boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.53",
4
+ "version": "0.8.55",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",