@dxos/network-manager 0.3.4 → 0.3.5-main.0b69ff7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"memory-transport.d.ts","sourceRoot":"","sources":["../../../../src/transport/memory-transport.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAW,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI1C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAGpE,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAkB3F,eAAO,MAAM,sBAAsB,EAAE,gBAEpC,CAAC;AAEF;;GAEG;AACH,qBAAa,eAAgB,YAAW,SAAS;IAuBnC,OAAO,CAAC,QAAQ,CAAC,OAAO;IArBpC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAA8D;IAElG,SAAgB,MAAM,cAAqB;IAC3C,SAAgB,SAAS,cAAqB;IAC9C,SAAgB,MAAM,cAAqB;IAG3C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAsB;IAElD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IAEpD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA6C;IAC5E,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA6C;IAE5E,OAAO,CAAC,UAAU,CAAS;IAG3B,OAAO,CAAC,iBAAiB,CAAa;IAEtC,OAAO,CAAC,iBAAiB,CAAC,CAAkB;gBAEf,OAAO,EAAE,gBAAgB;IA4DhD,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IA+B9B,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,MAAM;CAY3B"}
1
+ {"version":3,"file":"memory-transport.d.ts","sourceRoot":"","sources":["../../../../src/transport/memory-transport.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAW,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI1C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,uCAAuC,CAAC;AAGpE,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAkB3F,eAAO,MAAM,sBAAsB,EAAE,gBAEpC,CAAC;AAEF;;GAEG;AACH,qBAAa,eAAgB,YAAW,SAAS;IAuBnC,OAAO,CAAC,QAAQ,CAAC,OAAO;IArBpC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAA8D;IAElG,SAAgB,MAAM,cAAqB;IAC3C,SAAgB,SAAS,cAAqB;IAC9C,SAAgB,MAAM,cAAqB;IAG3C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAsB;IAElD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IAEpD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA6C;IAC5E,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA6C;IAE5E,OAAO,CAAC,UAAU,CAAS;IAG3B,OAAO,CAAC,iBAAiB,CAAa;IAEtC,OAAO,CAAC,iBAAiB,CAAC,CAAkB;gBAEf,OAAO,EAAE,gBAAgB;IA4DhD,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAkC9B,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,MAAM;CAY3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/network-manager",
3
- "version": "0.3.4",
3
+ "version": "0.3.5-main.0b69ff7",
4
4
  "description": "Network Manager",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -31,21 +31,21 @@
31
31
  "tiny-invariant": "^1.3.1",
32
32
  "ws": "^7.4.4",
33
33
  "xor-distance": "^2.0.0",
34
- "@dxos/async": "0.3.4",
35
- "@dxos/codec-protobuf": "0.3.4",
36
- "@dxos/context": "0.3.4",
37
- "@dxos/credentials": "0.3.4",
38
- "@dxos/crypto": "0.3.4",
39
- "@dxos/debug": "0.3.4",
40
- "@dxos/invariant": "0.3.4",
41
- "@dxos/keys": "0.3.4",
42
- "@dxos/log": "0.3.4",
43
- "@dxos/messaging": "0.3.4",
44
- "@dxos/node-std": "0.3.4",
45
- "@dxos/protocols": "0.3.4",
46
- "@dxos/rpc": "0.3.4",
47
- "@dxos/teleport": "0.3.4",
48
- "@dxos/util": "0.3.4"
34
+ "@dxos/async": "0.3.5-main.0b69ff7",
35
+ "@dxos/context": "0.3.5-main.0b69ff7",
36
+ "@dxos/codec-protobuf": "0.3.5-main.0b69ff7",
37
+ "@dxos/credentials": "0.3.5-main.0b69ff7",
38
+ "@dxos/crypto": "0.3.5-main.0b69ff7",
39
+ "@dxos/debug": "0.3.5-main.0b69ff7",
40
+ "@dxos/invariant": "0.3.5-main.0b69ff7",
41
+ "@dxos/keys": "0.3.5-main.0b69ff7",
42
+ "@dxos/node-std": "0.3.5-main.0b69ff7",
43
+ "@dxos/protocols": "0.3.5-main.0b69ff7",
44
+ "@dxos/log": "0.3.5-main.0b69ff7",
45
+ "@dxos/messaging": "0.3.5-main.0b69ff7",
46
+ "@dxos/teleport": "0.3.5-main.0b69ff7",
47
+ "@dxos/util": "0.3.5-main.0b69ff7",
48
+ "@dxos/rpc": "0.3.5-main.0b69ff7"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@swc-node/register": "1.5.4",
@@ -55,7 +55,7 @@
55
55
  "earljs": "~0.1.10",
56
56
  "fast-check": "~3.3.0",
57
57
  "typescript": "^5.2.2",
58
- "@dxos/signal": "0.3.4"
58
+ "@dxos/signal": "0.3.5-main.0b69ff7"
59
59
  },
60
60
  "publishConfig": {
61
61
  "access": "public"
@@ -138,8 +138,11 @@ export class MemoryTransport implements Transport {
138
138
  // code .unpipe(this._incomingDelay)
139
139
  // code .unpipe(this._stream);
140
140
 
141
- this._outgoingDelay.unpipe();
142
- this._incomingDelay.unpipe();
141
+ this.options.stream.unpipe(this._incomingDelay);
142
+ this._incomingDelay.unpipe(this._remoteConnection.options.stream);
143
+ this._remoteConnection.options.stream.unpipe(this._outgoingDelay);
144
+ this._outgoingDelay.unpipe(this.options.stream);
145
+ this.options.stream.unpipe(this._outgoingDelay);
143
146
 
144
147
  this._remoteConnection.closed.emit();
145
148
  this._remoteConnection._remoteConnection = undefined;