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.
- package/dist/tutuca-cli.js +4 -3
- package/dist/tutuca-dev.js +4 -3
- package/dist/tutuca-dev.min.js +2 -2
- package/dist/tutuca-extra.js +4 -3
- package/dist/tutuca-extra.min.js +2 -2
- package/dist/tutuca.js +4 -3
- package/dist/tutuca.min.js +2 -2
- package/package.json +1 -1
- package/skill/tutuca/core.md +15 -0
package/dist/tutuca-cli.js
CHANGED
|
@@ -5427,7 +5427,8 @@ class ComponentStack {
|
|
|
5427
5427
|
enter() {
|
|
5428
5428
|
return new ComponentStack(this.comps, this);
|
|
5429
5429
|
}
|
|
5430
|
-
registerComponents(comps,
|
|
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,
|
|
9123
|
+
registerComponents(comps, opts) {
|
|
9123
9124
|
const scope = this.compStack.enter();
|
|
9124
|
-
scope.registerComponents(comps,
|
|
9125
|
+
scope.registerComponents(comps, opts);
|
|
9125
9126
|
return scope;
|
|
9126
9127
|
}
|
|
9127
9128
|
_transactNextBatch(maxRunTimeMs = 10) {
|
package/dist/tutuca-dev.js
CHANGED
|
@@ -8346,7 +8346,8 @@ class ComponentStack {
|
|
|
8346
8346
|
enter() {
|
|
8347
8347
|
return new ComponentStack(this.comps, this);
|
|
8348
8348
|
}
|
|
8349
|
-
registerComponents(comps,
|
|
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,
|
|
9442
|
+
registerComponents(comps, opts) {
|
|
9442
9443
|
const scope = this.compStack.enter();
|
|
9443
|
-
scope.registerComponents(comps,
|
|
9444
|
+
scope.registerComponents(comps, opts);
|
|
9444
9445
|
return scope;
|
|
9445
9446
|
}
|
|
9446
9447
|
_transactNextBatch(maxRunTimeMs = 10) {
|