@dxos/network-manager 0.1.41-next.d517c89 → 0.1.41
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-P7OEI3WM.mjs → chunk-JAQBUAX3.mjs} +11 -7
- package/dist/lib/browser/{chunk-P7OEI3WM.mjs.map → chunk-JAQBUAX3.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 +10 -6
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +10 -6
- package/dist/lib/node/testing/index.cjs.map +3 -3
- package/dist/types/src/transport/memory-transport.d.ts.map +1 -1
- package/package.json +16 -16
- package/src/transport/memory-transport.ts +4 -0
|
@@ -1780,6 +1780,10 @@ var _MemoryTransport = class {
|
|
|
1780
1780
|
payload: {
|
|
1781
1781
|
transportId: this._instanceId.toHex()
|
|
1782
1782
|
}
|
|
1783
|
+
}).catch((err) => {
|
|
1784
|
+
if (!this._destroyed) {
|
|
1785
|
+
this.errors.raise(err);
|
|
1786
|
+
}
|
|
1783
1787
|
});
|
|
1784
1788
|
});
|
|
1785
1789
|
} else {
|
|
@@ -1801,7 +1805,7 @@ var _MemoryTransport = class {
|
|
|
1801
1805
|
this._remoteConnection._remoteInstanceId = this._instanceId;
|
|
1802
1806
|
log9("connected", {}, {
|
|
1803
1807
|
file: "memory-transport.ts",
|
|
1804
|
-
line:
|
|
1808
|
+
line: 106,
|
|
1805
1809
|
scope: this,
|
|
1806
1810
|
callSite: (f, a) => f(...a)
|
|
1807
1811
|
});
|
|
@@ -1819,7 +1823,7 @@ var _MemoryTransport = class {
|
|
|
1819
1823
|
async destroy() {
|
|
1820
1824
|
log9("closing", {}, {
|
|
1821
1825
|
file: "memory-transport.ts",
|
|
1822
|
-
line:
|
|
1826
|
+
line: 127,
|
|
1823
1827
|
scope: this,
|
|
1824
1828
|
callSite: (f, a) => f(...a)
|
|
1825
1829
|
});
|
|
@@ -1828,7 +1832,7 @@ var _MemoryTransport = class {
|
|
|
1828
1832
|
if (this._remoteConnection) {
|
|
1829
1833
|
log9("closing", {}, {
|
|
1830
1834
|
file: "memory-transport.ts",
|
|
1831
|
-
line:
|
|
1835
|
+
line: 132,
|
|
1832
1836
|
scope: this,
|
|
1833
1837
|
callSite: (f, a) => f(...a)
|
|
1834
1838
|
});
|
|
@@ -1841,7 +1845,7 @@ var _MemoryTransport = class {
|
|
|
1841
1845
|
this._remoteConnection = void 0;
|
|
1842
1846
|
log9("closed", {}, {
|
|
1843
1847
|
file: "memory-transport.ts",
|
|
1844
|
-
line:
|
|
1848
|
+
line: 150,
|
|
1845
1849
|
scope: this,
|
|
1846
1850
|
callSite: (f, a) => f(...a)
|
|
1847
1851
|
});
|
|
@@ -1849,7 +1853,7 @@ var _MemoryTransport = class {
|
|
|
1849
1853
|
this.closed.emit();
|
|
1850
1854
|
log9("closed", {}, {
|
|
1851
1855
|
file: "memory-transport.ts",
|
|
1852
|
-
line:
|
|
1856
|
+
line: 154,
|
|
1853
1857
|
scope: this,
|
|
1854
1858
|
callSite: (f, a) => f(...a)
|
|
1855
1859
|
});
|
|
@@ -1859,7 +1863,7 @@ var _MemoryTransport = class {
|
|
|
1859
1863
|
payload
|
|
1860
1864
|
}, {
|
|
1861
1865
|
file: "memory-transport.ts",
|
|
1862
|
-
line:
|
|
1866
|
+
line: 158,
|
|
1863
1867
|
scope: this,
|
|
1864
1868
|
callSite: (f, a) => f(...a)
|
|
1865
1869
|
});
|
|
@@ -2323,4 +2327,4 @@ export {
|
|
|
2323
2327
|
WebRTCTransportProxyFactory,
|
|
2324
2328
|
createTeleportProtocolFactory
|
|
2325
2329
|
};
|
|
2326
|
-
//# sourceMappingURL=chunk-
|
|
2330
|
+
//# sourceMappingURL=chunk-JAQBUAX3.mjs.map
|