x-runtime-lib 0.8.191 → 0.8.192

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
@@ -9885,7 +9885,7 @@ function unwrapTriggerId(e) {
9885
9885
  if (C.length < 1) throw Error("unwrap trigger id failed");
9886
9886
  let w = C[0];
9887
9887
  if (w === "property") {
9888
- if (C.length < 2) throw Error("unwrap trigger id of property failed");
9888
+ if (C.length !== 3) throw Error("unwrap trigger id of property failed");
9889
9889
  return {
9890
9890
  type: w,
9891
9891
  propertyId: C[1],
@@ -10527,7 +10527,8 @@ function useSandbox(e, C, w, E, D, O, k) {
10527
10527
  }
10528
10528
  await L.callFunctionAsync("__triggerEventV1__", makeEventId("elementPropertyChangeEvent", e, toDotString(C)), "", w, E ?? w), O.value?.code.reactivity && triggerReactivity(L, O.value.code.reactivity, makeTriggerId({
10529
10529
  type: "property",
10530
- propertyId: toDotString(C)
10530
+ propertyId: toDotString(C),
10531
+ spec: ""
10531
10532
  }), w, E);
10532
10533
  }
10533
10534
  }
@@ -10542,19 +10543,22 @@ function useSandbox(e, C, w, E, D, O, k) {
10542
10543
  async function W(e, C, w) {
10543
10544
  L.vm && O.value?.code.reactivity && triggerReactivity(L, O.value.code.reactivity, makeTriggerId({
10544
10545
  type: "property",
10545
- propertyId: e
10546
+ propertyId: e,
10547
+ spec: ""
10546
10548
  }), C, w);
10547
10549
  }
10548
10550
  async function G(e, C, w, T) {
10549
10551
  L.vm && O.value?.code.reactivity && triggerReactivity(L, O.value.code.reactivity, makeTriggerId({
10550
10552
  type: "property",
10551
- propertyId: C
10553
+ propertyId: C,
10554
+ spec: ""
10552
10555
  }), w, T);
10553
10556
  }
10554
10557
  async function K(e, C, w) {
10555
10558
  L.vm && (await L.callFunctionAsync("__triggerEventV1__", makeEventId("customPropertyChangeEvent", "globality", e), "", C, w ?? C), O.value?.code.reactivity && triggerReactivity(L, O.value.code.reactivity, makeTriggerId({
10556
10559
  type: "property",
10557
- propertyId: e
10560
+ propertyId: e,
10561
+ spec: ""
10558
10562
  }), C, w), await L.parent.callFunctionAsync("__triggerEventV1__", makeEventId("refPropertyChangeEvent", L.nodeId, e), "", C, w ?? C), await L.parent.callFunctionAsync("__triggerEventV1__", makeEventId("multipleRefPropertyChangeEvent", L.nodeId, e), "", C, w ?? C));
10559
10563
  }
10560
10564
  async function q(e, C, w) {
@@ -32,7 +32,7 @@ export interface View {
32
32
  interface TriggerProperty {
33
33
  type: 'property';
34
34
  propertyId: string;
35
- spec?: string;
35
+ spec: string;
36
36
  }
37
37
  interface TriggerState {
38
38
  type: 'state';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.191",
4
+ "version": "0.8.192",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",