tutuca 0.9.47 → 0.9.48

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.
@@ -5427,7 +5427,8 @@ class ComponentStack {
5427
5427
  enter() {
5428
5428
  return new ComponentStack(this.comps, this);
5429
5429
  }
5430
- registerComponents(comps, aliases2 = {}) {
5430
+ registerComponents(comps, opts) {
5431
+ const { aliases: aliases2 = {} } = opts ?? {};
5431
5432
  for (let i = 0;i < comps.length; i++) {
5432
5433
  const comp = comps[i];
5433
5434
  comp.scope = this.enter();
@@ -9119,9 +9120,9 @@ class App {
9119
9120
  sendAtRoot(name, args, opts) {
9120
9121
  this.transactor.pushSend(new Path([]), name, args, opts);
9121
9122
  }
9122
- registerComponents(comps, aliases2) {
9123
+ registerComponents(comps, opts) {
9123
9124
  const scope = this.compStack.enter();
9124
- scope.registerComponents(comps, aliases2);
9125
+ scope.registerComponents(comps, opts);
9125
9126
  return scope;
9126
9127
  }
9127
9128
  _transactNextBatch(maxRunTimeMs = 10) {
@@ -8346,7 +8346,8 @@ class ComponentStack {
8346
8346
  enter() {
8347
8347
  return new ComponentStack(this.comps, this);
8348
8348
  }
8349
- registerComponents(comps, aliases2 = {}) {
8349
+ registerComponents(comps, opts) {
8350
+ const { aliases: aliases2 = {} } = opts ?? {};
8350
8351
  for (let i = 0;i < comps.length; i++) {
8351
8352
  const comp = comps[i];
8352
8353
  comp.scope = this.enter();
@@ -9438,9 +9439,9 @@ class App {
9438
9439
  sendAtRoot(name, args, opts) {
9439
9440
  this.transactor.pushSend(new Path([]), name, args, opts);
9440
9441
  }
9441
- registerComponents(comps, aliases2) {
9442
+ registerComponents(comps, opts) {
9442
9443
  const scope = this.compStack.enter();
9443
- scope.registerComponents(comps, aliases2);
9444
+ scope.registerComponents(comps, opts);
9444
9445
  return scope;
9445
9446
  }
9446
9447
  _transactNextBatch(maxRunTimeMs = 10) {