@dxos/network-manager 0.1.55-main.ff36828 → 0.1.55
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-HDCPX2MD.mjs → chunk-IBLQYMBY.mjs} +14 -14
- package/dist/lib/browser/{chunk-HDCPX2MD.mjs.map → chunk-IBLQYMBY.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 +2 -2
- package/dist/lib/node/index.cjs +13 -13
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +12 -12
- 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 +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection-log.d.ts","sourceRoot":"","sources":["../../../src/connection-log.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,SAAS,EAAkB,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"connection-log.d.ts","sourceRoot":"","sources":["../../../src/connection-log.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,SAAS,EAAkB,MAAM,2CAA2C,CAAC;AAItF,OAAO,EAAmB,KAAK,EAAE,MAAM,SAAS,CAAC;AAGjD,oBAAY,SAAS;IACnB,wBAAwB,6BAA6B;IACrD,cAAc,mBAAmB;IACjC,+BAA+B,oCAAoC;IACnE,6BAA6B,kCAAkC;IAC/D,kBAAkB,uBAAuB;CAC1C;AAED,qBAAa,aAAa;IACxB;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAwD;IAEhF,QAAQ,CAAC,MAAM,cAAe;IAE9B,YAAY,CAAC,OAAO,EAAE,SAAS;IAI/B,IAAI,MAAM,IAAI,SAAS,EAAE,CAExB;IAED,WAAW,CAAC,KAAK,EAAE,KAAK;IAkExB,SAAS,CAAC,KAAK,EAAE,KAAK;CAIvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/network-manager",
|
|
3
|
-
"version": "0.1.55
|
|
3
|
+
"version": "0.1.55",
|
|
4
4
|
"description": "Network Manager",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -26,21 +26,21 @@
|
|
|
26
26
|
"tiny-invariant": "^1.3.1",
|
|
27
27
|
"ws": "^7.4.4",
|
|
28
28
|
"xor-distance": "^2.0.0",
|
|
29
|
-
"@dxos/async": "0.1.55
|
|
30
|
-
"@dxos/codec-protobuf": "0.1.55
|
|
31
|
-
"@dxos/context": "0.1.55
|
|
32
|
-
"@dxos/credentials": "0.1.55
|
|
33
|
-
"@dxos/crypto": "0.1.55
|
|
34
|
-
"@dxos/debug": "0.1.55
|
|
35
|
-
"@dxos/errors": "0.1.55
|
|
36
|
-
"@dxos/keys": "0.1.55
|
|
37
|
-
"@dxos/log": "0.1.55
|
|
38
|
-
"@dxos/messaging": "0.1.55
|
|
39
|
-
"@dxos/node-std": "0.1.55
|
|
40
|
-
"@dxos/protocols": "0.1.55
|
|
41
|
-
"@dxos/rpc": "0.1.55
|
|
42
|
-
"@dxos/teleport": "0.1.55
|
|
43
|
-
"@dxos/util": "0.1.55
|
|
29
|
+
"@dxos/async": "0.1.55",
|
|
30
|
+
"@dxos/codec-protobuf": "0.1.55",
|
|
31
|
+
"@dxos/context": "0.1.55",
|
|
32
|
+
"@dxos/credentials": "0.1.55",
|
|
33
|
+
"@dxos/crypto": "0.1.55",
|
|
34
|
+
"@dxos/debug": "0.1.55",
|
|
35
|
+
"@dxos/errors": "0.1.55",
|
|
36
|
+
"@dxos/keys": "0.1.55",
|
|
37
|
+
"@dxos/log": "0.1.55",
|
|
38
|
+
"@dxos/messaging": "0.1.55",
|
|
39
|
+
"@dxos/node-std": "0.1.55",
|
|
40
|
+
"@dxos/protocols": "0.1.55",
|
|
41
|
+
"@dxos/rpc": "0.1.55",
|
|
42
|
+
"@dxos/teleport": "0.1.55",
|
|
43
|
+
"@dxos/util": "0.1.55"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@swc-node/register": "1.5.4",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"earljs": "~0.1.10",
|
|
51
51
|
"fast-check": "~3.3.0",
|
|
52
52
|
"typescript": "^5.0.4",
|
|
53
|
-
"@dxos/signal": "0.1.55
|
|
53
|
+
"@dxos/signal": "0.1.55"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
package/src/connection-log.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { Event } from '@dxos/async';
|
|
|
6
6
|
import { raise } from '@dxos/debug';
|
|
7
7
|
import { PublicKey } from '@dxos/keys';
|
|
8
8
|
import { SwarmInfo, ConnectionInfo } from '@dxos/protocols/proto/dxos/devtools/swarm';
|
|
9
|
+
import { MuxerStats } from '@dxos/teleport';
|
|
9
10
|
import { ComplexMap } from '@dxos/util';
|
|
10
11
|
|
|
11
12
|
import { ConnectionState, Swarm } from './swarm';
|
|
@@ -68,8 +69,8 @@ export class ConnectionLog {
|
|
|
68
69
|
this.update.emit();
|
|
69
70
|
});
|
|
70
71
|
|
|
71
|
-
(connection.protocol as WireProtocol & { stats: Event<
|
|
72
|
-
connectionInfo.streams = stats;
|
|
72
|
+
(connection.protocol as WireProtocol & { stats: Event<MuxerStats> })?.stats?.on((stats) => {
|
|
73
|
+
connectionInfo.streams = stats.channels;
|
|
73
74
|
this.update.emit();
|
|
74
75
|
});
|
|
75
76
|
|