@metapages/metapage 1.8.22 → 1.8.23

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
@@ -3097,7 +3097,8 @@ class ee extends Nn {
3097
3097
  }
3098
3098
  setState(e) {
3099
3099
  this._state = C(e, (s) => s), this.getMetaframeIds().forEach((s) => {
3100
- this.getMetaframe(s).setInputs(this._state.metaframes.inputs[s]), this.getMetaframe(s).setOutputs(this._state.metaframes.outputs[s]);
3100
+ var n, i;
3101
+ (n = this.getMetaframe(s)) == null || n.setInputs(this._state.metaframes.inputs[s]), (i = this.getMetaframe(s)) == null || i.setOutputs(this._state.metaframes.outputs[s]);
3101
3102
  }), this.listenerCount($.State) > 0 && ge !== this._state && this.emit($.State, this._state);
3102
3103
  }
3103
3104
  getStateMetaframes() {
@@ -3180,7 +3181,8 @@ class ee extends Nn {
3180
3181
  return this._metaframes;
3181
3182
  }
3182
3183
  getMetaframe(e) {
3183
- return this == null ? void 0 : this._metaframes[e];
3184
+ var s;
3185
+ return (s = this == null ? void 0 : this._metaframes) == null ? void 0 : s[e];
3184
3186
  }
3185
3187
  addMetaframe(e, s) {
3186
3188
  if (!e)