@dxos/echo-pipeline 0.6.8-main.3be982f → 0.6.8-staging.77f93a3
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-NE5LORNQ.mjs → chunk-MTWHS5HU.mjs} +12 -9
- package/dist/lib/browser/{chunk-NE5LORNQ.mjs.map → chunk-MTWHS5HU.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 +4 -2
- package/dist/lib/browser/testing/index.mjs.map +2 -2
- package/dist/lib/node/{chunk-IHR4UMVA.cjs → chunk-H2O5VAFU.cjs} +15 -12
- package/dist/lib/node/{chunk-IHR4UMVA.cjs.map → chunk-H2O5VAFU.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 +13 -11
- package/dist/lib/node/testing/index.cjs.map +2 -2
- package/dist/types/src/space/space-protocol.d.ts +1 -0
- package/dist/types/src/space/space-protocol.d.ts.map +1 -1
- package/dist/types/src/testing/test-agent-builder.d.ts.map +1 -1
- package/package.json +33 -33
- package/src/space/space-protocol.test.ts +2 -0
- package/src/space/space-protocol.ts +5 -1
- package/src/testing/test-agent-builder.ts +2 -0
|
@@ -1674,7 +1674,7 @@ var SpaceProtocol = class {
|
|
|
1674
1674
|
key: feed.key
|
|
1675
1675
|
}, {
|
|
1676
1676
|
F: __dxlog_file10,
|
|
1677
|
-
L:
|
|
1677
|
+
L: 128,
|
|
1678
1678
|
S: this,
|
|
1679
1679
|
C: (f, a) => f(...a)
|
|
1680
1680
|
});
|
|
@@ -1693,21 +1693,24 @@ var SpaceProtocol = class {
|
|
|
1693
1693
|
await this.blobSync.open();
|
|
1694
1694
|
log8("starting...", void 0, {
|
|
1695
1695
|
F: __dxlog_file10,
|
|
1696
|
-
L:
|
|
1696
|
+
L: 149,
|
|
1697
1697
|
S: this,
|
|
1698
1698
|
C: (f, a) => f(...a)
|
|
1699
1699
|
});
|
|
1700
1700
|
const topic = await this._topic;
|
|
1701
1701
|
this._connection = await this._networkManager.joinSwarm({
|
|
1702
1702
|
protocolProvider: this._createProtocolProvider(credentials),
|
|
1703
|
-
|
|
1703
|
+
peerInfo: {
|
|
1704
|
+
peerKey: this._swarmIdentity.peerKey.toHex(),
|
|
1705
|
+
identityKey: this._swarmIdentity.identityKey.toHex()
|
|
1706
|
+
},
|
|
1704
1707
|
topic,
|
|
1705
1708
|
topology: this._topology,
|
|
1706
1709
|
label: `swarm ${topic.truncate()} for space ${this._spaceKey.truncate()}`
|
|
1707
1710
|
});
|
|
1708
1711
|
log8("started", void 0, {
|
|
1709
1712
|
F: __dxlog_file10,
|
|
1710
|
-
L:
|
|
1713
|
+
L: 162,
|
|
1711
1714
|
S: this,
|
|
1712
1715
|
C: (f, a) => f(...a)
|
|
1713
1716
|
});
|
|
@@ -1720,14 +1723,14 @@ var SpaceProtocol = class {
|
|
|
1720
1723
|
if (this._connection) {
|
|
1721
1724
|
log8("stopping...", void 0, {
|
|
1722
1725
|
F: __dxlog_file10,
|
|
1723
|
-
L:
|
|
1726
|
+
L: 173,
|
|
1724
1727
|
S: this,
|
|
1725
1728
|
C: (f, a) => f(...a)
|
|
1726
1729
|
});
|
|
1727
1730
|
await this._connection.close();
|
|
1728
1731
|
log8("stopped", void 0, {
|
|
1729
1732
|
F: __dxlog_file10,
|
|
1730
|
-
L:
|
|
1733
|
+
L: 175,
|
|
1731
1734
|
S: this,
|
|
1732
1735
|
C: (f, a) => f(...a)
|
|
1733
1736
|
});
|
|
@@ -1803,7 +1806,7 @@ var SpaceProtocolSession = class {
|
|
|
1803
1806
|
onAuthSuccess: () => {
|
|
1804
1807
|
log8("Peer authenticated", void 0, {
|
|
1805
1808
|
F: __dxlog_file10,
|
|
1806
|
-
L:
|
|
1809
|
+
L: 286,
|
|
1807
1810
|
S: this,
|
|
1808
1811
|
C: (f, a) => f(...a)
|
|
1809
1812
|
});
|
|
@@ -1823,7 +1826,7 @@ var SpaceProtocolSession = class {
|
|
|
1823
1826
|
async close() {
|
|
1824
1827
|
log8("close", void 0, {
|
|
1825
1828
|
F: __dxlog_file10,
|
|
1826
|
-
L:
|
|
1829
|
+
L: 305,
|
|
1827
1830
|
S: this,
|
|
1828
1831
|
C: (f, a) => f(...a)
|
|
1829
1832
|
});
|
|
@@ -2025,4 +2028,4 @@ export {
|
|
|
2025
2028
|
SpaceProtocolSession,
|
|
2026
2029
|
SpaceManager
|
|
2027
2030
|
};
|
|
2028
|
-
//# sourceMappingURL=chunk-
|
|
2031
|
+
//# sourceMappingURL=chunk-MTWHS5HU.mjs.map
|