x-runtime-lib 0.8.47 → 0.8.49

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/dist/index.js CHANGED
@@ -8370,7 +8370,7 @@ function _c(t) {
8370
8370
  function p(u, m) {
8371
8371
  const d = t.pseudoToNative(u), h = t.pseudoToNative(m);
8372
8372
  window.setTimeout(() => {
8373
- t.callFunction(`__timeoutCallbackV1__(${d})`);
8373
+ t.callFunction("__timeoutCallbackV1__", [d]);
8374
8374
  }, h);
8375
8375
  }
8376
8376
  function y(u, m) {
@@ -8379,12 +8379,12 @@ function _c(t) {
8379
8379
  m(), t.run();
8380
8380
  }, d);
8381
8381
  }
8382
- function f(u, ...m) {
8383
- const d = t.pseudoToNative(u), h = t.pseudoToNative([...m]);
8382
+ function f(u, m) {
8383
+ const d = t.pseudoToNative(u), h = t.pseudoToNative(m);
8384
8384
  t.parent?.callFunction(d, h);
8385
8385
  }
8386
- function c(u, m, ...d) {
8387
- const h = t.pseudoToNative(u), x = t.pseudoToNative(m), g = t.pseudoToNative([...d]);
8386
+ function c(u, m, d) {
8387
+ const h = t.pseudoToNative(u), x = t.pseudoToNative(m), g = t.pseudoToNative(d);
8388
8388
  t.children[h]?.callFunction(x, g);
8389
8389
  }
8390
8390
  t.bindNativeFunction("__parseKeysV1__", e), t.bindNativeFunction("__parseJsonV1__", i), t.bindNativeFunction("__jsonStringifyV1__", o), t.bindNativeFunction("__consoleLogV1__", s), t.bindNativeFunction("__debugTraceV1__", r), t.bindNativeFunction("__messageV1__", a), t.bindNativeFunction("__timeoutV1__", p), t.bindAsyncFunction("__delayV1__", y), t.bindNativeFunction("__callFunctionUpV1__", f), t.bindNativeFunction("__callFunctionDownV1__", c);
@@ -2,5 +2,5 @@ export type PropertyKind = 'elementProperty' | 'referenceProperty' | 'multipleRe
2
2
  export declare function isLocaleOfPropertyKind(kind: PropertyKind | ''): kind is "elementProperty" | "elementSlotProperty";
3
3
  export type MethodKind = 'elementMethod' | 'referenceMethod' | 'multipleRefMethod' | 'customMethod' | 'elementSlotMethod' | 'customSlotMethod';
4
4
  export declare function isLocaleOfMethodKind(kind: MethodKind | ''): kind is "elementMethod" | "elementSlotMethod";
5
- export type EventKind = 'elementEvent' | 'referenceEvent' | 'multipleRefEvent' | 'customEvent' | 'elementPropertyChangeEvent' | 'customPropertyChangeEvent' | 'stateChangeEvent';
5
+ export type EventKind = 'elementEvent' | 'referenceEvent' | 'multipleRefEvent' | 'customEvent' | 'elementPropertyChangeEvent' | 'referencePropertyChangeEvent' | 'multipleRefPropertyChangeEvent' | 'customPropertyChangeEvent' | 'stateChangeEvent';
6
6
  export declare function isLocaleOfEventKind(kind: EventKind | ''): kind is "elementEvent" | "elementPropertyChangeEvent";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.47",
4
+ "version": "0.8.49",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",