@dxos/network-manager 0.3.9-main.b7528e7 → 0.3.9-main.c2ac8a5
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-J7KS7JMZ.mjs → chunk-Q5B7EFTV.mjs} +4 -5
- package/dist/lib/browser/{chunk-J7KS7JMZ.mjs.map → chunk-Q5B7EFTV.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-55WTPQV5.cjs → chunk-YLQJ2ALQ.cjs} +7 -8
- package/dist/lib/node/{chunk-55WTPQV5.cjs.map → chunk-YLQJ2ALQ.cjs.map} +3 -3
- package/dist/lib/node/index.cjs +27 -27
- package/dist/lib/node/index.cjs.map +1 -1
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +18 -18
- package/dist/types/src/transport/simplepeer-transport.d.ts.map +1 -1
- package/package.json +17 -17
- package/src/transport/simplepeer-transport.ts +2 -3
|
@@ -3038,8 +3038,8 @@ var SimplePeerTransport = class {
|
|
|
3038
3038
|
if (!rc) {
|
|
3039
3039
|
return "unavailable";
|
|
3040
3040
|
}
|
|
3041
|
-
if (rc.relay) {
|
|
3042
|
-
return `${rc.ip}:${rc.port}/${rc.protocol} relay for
|
|
3041
|
+
if (rc.candidateType === "relay") {
|
|
3042
|
+
return `${rc.ip}:${rc.port}/${rc.protocol} relay for ${rc.relatedAddress}:${rc.relatedPort}`;
|
|
3043
3043
|
}
|
|
3044
3044
|
return `${rc.ip}:${rc.port}/${rc.protocol} ${rc.candidateType}`;
|
|
3045
3045
|
}
|
|
@@ -3053,14 +3053,13 @@ var SimplePeerTransport = class {
|
|
|
3053
3053
|
if (this._closed) {
|
|
3054
3054
|
return;
|
|
3055
3055
|
}
|
|
3056
|
-
this._closed = true;
|
|
3057
3056
|
this._disconnectStreams();
|
|
3058
3057
|
this._peer.destroy();
|
|
3059
3058
|
this._closed = true;
|
|
3060
3059
|
this.closed.emit();
|
|
3061
3060
|
log11("closed", void 0, {
|
|
3062
3061
|
F: __dxlog_file12,
|
|
3063
|
-
L:
|
|
3062
|
+
L: 200,
|
|
3064
3063
|
S: this,
|
|
3065
3064
|
C: (f, a) => f(...a)
|
|
3066
3065
|
});
|
|
@@ -3937,4 +3936,4 @@ export {
|
|
|
3937
3936
|
TcpTransport,
|
|
3938
3937
|
createTeleportProtocolFactory
|
|
3939
3938
|
};
|
|
3940
|
-
//# sourceMappingURL=chunk-
|
|
3939
|
+
//# sourceMappingURL=chunk-Q5B7EFTV.mjs.map
|