@dxos/network-manager 0.1.53-main.b6f5d87 → 0.1.53-main.d095ee3
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-A3FS4AKZ.mjs → chunk-6CP5XM3F.mjs} +6 -1
- package/dist/lib/browser/{chunk-A3FS4AKZ.mjs.map → chunk-6CP5XM3F.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/index.cjs +5 -0
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +5 -0
- package/dist/lib/node/testing/index.cjs.map +3 -3
- package/dist/types/src/connection-log.d.ts.map +1 -1
- package/package.json +17 -17
- package/src/connection-log.ts +6 -0
|
@@ -1367,6 +1367,7 @@ var ConnectionLog = class {
|
|
|
1367
1367
|
this._swarms.set(PublicKey6.from(swarm._instanceId), info);
|
|
1368
1368
|
this.update.emit();
|
|
1369
1369
|
swarm.connectionAdded.on((connection) => {
|
|
1370
|
+
var _a, _b;
|
|
1370
1371
|
const connectionInfo = {
|
|
1371
1372
|
state: ConnectionState.INITIAL,
|
|
1372
1373
|
remotePeerId: connection.remoteId,
|
|
@@ -1385,6 +1386,10 @@ var ConnectionLog = class {
|
|
|
1385
1386
|
});
|
|
1386
1387
|
this.update.emit();
|
|
1387
1388
|
});
|
|
1389
|
+
(_b = (_a = connection.protocol) == null ? void 0 : _a.stats) == null ? void 0 : _b.on((stats) => {
|
|
1390
|
+
connectionInfo.streams = stats;
|
|
1391
|
+
this.update.emit();
|
|
1392
|
+
});
|
|
1388
1393
|
});
|
|
1389
1394
|
}
|
|
1390
1395
|
leftSwarm(swarm) {
|
|
@@ -2380,4 +2385,4 @@ export {
|
|
|
2380
2385
|
WebRTCTransportProxyFactory,
|
|
2381
2386
|
createTeleportProtocolFactory
|
|
2382
2387
|
};
|
|
2383
|
-
//# sourceMappingURL=chunk-
|
|
2388
|
+
//# sourceMappingURL=chunk-6CP5XM3F.mjs.map
|