x-runtime-lib 0.8.200 → 0.8.201

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10844,7 +10844,7 @@ var PromiseManager = class {
10844
10844
  }
10845
10845
  async triggerCustomEvent(e, p, m) {
10846
10846
  if (!this.isValidOfCustomEvent(m)) throw Error("invalid custom event");
10847
- await this.callFunctionAsync("__triggerEventInner__", e, p), this.parent && (await this.parent.triggerEvent(makeEventId("refEvent", this.nodeId, m), p), await this.parent.triggerEvent(makeEventId("multipleRefEvent", this.nodeId, m), p, this.instance));
10847
+ await this.callFunctionAsync("__triggerEventInner__", e, p), this.parent && (this.instance ? await this.parent.triggerEvent(makeEventId("multipleRefEvent", this.nodeId, m), p, this.instance) : await this.parent.triggerEvent(makeEventId("refEvent", this.nodeId, m), p));
10848
10848
  }
10849
10849
  async triggerCustomPropertyChangeEvent(e, p, m) {
10850
10850
  if (!this.isValidOfCustomProperty(m)) throw Error("invalid custom property");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.200",
4
+ "version": "0.8.201",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",