@dxos/echo-pipeline 0.6.10 → 0.6.11-staging.30cf5ba
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/lib/browser/{chunk-3CRPRK6G.mjs → chunk-AQHC4TVD.mjs} +8 -11
- package/dist/lib/browser/{chunk-3CRPRK6G.mjs.map → chunk-AQHC4TVD.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +1 -1
- package/dist/lib/node/{chunk-JAVQ2J7M.cjs → chunk-76GMYKNO.cjs} +10 -13
- package/dist/lib/node/{chunk-JAVQ2J7M.cjs.map → chunk-76GMYKNO.cjs.map} +3 -3
- package/dist/lib/node/index.cjs +21 -21
- package/dist/lib/node/index.cjs.map +1 -1
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +10 -10
- package/dist/types/src/space/space.d.ts +0 -1
- package/dist/types/src/space/space.d.ts.map +1 -1
- package/package.json +33 -33
- package/src/space/space.ts +1 -5
|
@@ -1055,7 +1055,7 @@ var AuthExtension = class extends RpcExtension {
|
|
|
1055
1055
|
|
|
1056
1056
|
// packages/core/echo/echo-pipeline/src/space/space.ts
|
|
1057
1057
|
import { Event as Event4, scheduleMicroTask, synchronized as synchronized3, trackLeaks as trackLeaks2 } from "@dxos/async";
|
|
1058
|
-
import {
|
|
1058
|
+
import { Resource } from "@dxos/context";
|
|
1059
1059
|
import { invariant as invariant6 } from "@dxos/invariant";
|
|
1060
1060
|
import { log as log7, logInfo } from "@dxos/log";
|
|
1061
1061
|
import { AdmittedFeed as AdmittedFeed2 } from "@dxos/protocols/proto/dxos/halo/credentials";
|
|
@@ -1433,9 +1433,6 @@ var Space = class extends Resource {
|
|
|
1433
1433
|
get key() {
|
|
1434
1434
|
return this._key;
|
|
1435
1435
|
}
|
|
1436
|
-
get isOpen() {
|
|
1437
|
-
return this._lifecycleState === LifecycleState.OPEN;
|
|
1438
|
-
}
|
|
1439
1436
|
get genesisFeedKey() {
|
|
1440
1437
|
return this._genesisFeedKey;
|
|
1441
1438
|
}
|
|
@@ -1457,7 +1454,7 @@ var Space = class extends Resource {
|
|
|
1457
1454
|
async setControlFeed(feed) {
|
|
1458
1455
|
invariant6(!this._controlFeed, "Control feed already set.", {
|
|
1459
1456
|
F: __dxlog_file8,
|
|
1460
|
-
L:
|
|
1457
|
+
L: 154,
|
|
1461
1458
|
S: this,
|
|
1462
1459
|
A: [
|
|
1463
1460
|
"!this._controlFeed",
|
|
@@ -1471,7 +1468,7 @@ var Space = class extends Resource {
|
|
|
1471
1468
|
async setDataFeed(feed) {
|
|
1472
1469
|
invariant6(!this._dataFeed, "Data feed already set.", {
|
|
1473
1470
|
F: __dxlog_file8,
|
|
1474
|
-
L:
|
|
1471
|
+
L: 161,
|
|
1475
1472
|
S: this,
|
|
1476
1473
|
A: [
|
|
1477
1474
|
"!this._dataFeed",
|
|
@@ -1490,7 +1487,7 @@ var Space = class extends Resource {
|
|
|
1490
1487
|
async _open(ctx) {
|
|
1491
1488
|
log7("opening...", void 0, {
|
|
1492
1489
|
F: __dxlog_file8,
|
|
1493
|
-
L:
|
|
1490
|
+
L: 175,
|
|
1494
1491
|
S: this,
|
|
1495
1492
|
C: (f, a) => f(...a)
|
|
1496
1493
|
});
|
|
@@ -1499,7 +1496,7 @@ var Space = class extends Resource {
|
|
|
1499
1496
|
await this.protocol.addFeed(await this._feedProvider(this._genesisFeedKey));
|
|
1500
1497
|
log7("opened", void 0, {
|
|
1501
1498
|
F: __dxlog_file8,
|
|
1502
|
-
L:
|
|
1499
|
+
L: 182,
|
|
1503
1500
|
S: this,
|
|
1504
1501
|
C: (f, a) => f(...a)
|
|
1505
1502
|
});
|
|
@@ -1509,7 +1506,7 @@ var Space = class extends Resource {
|
|
|
1509
1506
|
key: this._key
|
|
1510
1507
|
}, {
|
|
1511
1508
|
F: __dxlog_file8,
|
|
1512
|
-
L:
|
|
1509
|
+
L: 187,
|
|
1513
1510
|
S: this,
|
|
1514
1511
|
C: (f, a) => f(...a)
|
|
1515
1512
|
});
|
|
@@ -1517,7 +1514,7 @@ var Space = class extends Resource {
|
|
|
1517
1514
|
await this._controlPipeline.stop();
|
|
1518
1515
|
log7("closed", void 0, {
|
|
1519
1516
|
F: __dxlog_file8,
|
|
1520
|
-
L:
|
|
1517
|
+
L: 193,
|
|
1521
1518
|
S: this,
|
|
1522
1519
|
C: (f, a) => f(...a)
|
|
1523
1520
|
});
|
|
@@ -2030,4 +2027,4 @@ export {
|
|
|
2030
2027
|
SpaceProtocolSession,
|
|
2031
2028
|
SpaceManager
|
|
2032
2029
|
};
|
|
2033
|
-
//# sourceMappingURL=chunk-
|
|
2030
|
+
//# sourceMappingURL=chunk-AQHC4TVD.mjs.map
|