tutuca 0.9.47 → 0.9.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.
@@ -1710,7 +1710,8 @@ class ComponentStack {
1710
1710
  enter() {
1711
1711
  return new ComponentStack(this.comps, this);
1712
1712
  }
1713
- registerComponents(comps, aliases = {}) {
1713
+ registerComponents(comps, opts) {
1714
+ const { aliases = {} } = opts ?? {};
1714
1715
  for (let i = 0;i < comps.length; i++) {
1715
1716
  const comp = comps[i];
1716
1717
  comp.scope = this.enter();
@@ -2802,9 +2803,9 @@ class App {
2802
2803
  sendAtRoot(name, args, opts) {
2803
2804
  this.transactor.pushSend(new Path([]), name, args, opts);
2804
2805
  }
2805
- registerComponents(comps, aliases) {
2806
+ registerComponents(comps, opts) {
2806
2807
  const scope = this.compStack.enter();
2807
- scope.registerComponents(comps, aliases);
2808
+ scope.registerComponents(comps, opts);
2808
2809
  return scope;
2809
2810
  }
2810
2811
  _transactNextBatch(maxRunTimeMs = 10) {