@dxos/network-manager 0.5.9-main.eacfffa → 0.5.9-next.728078d

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.
@@ -59,14 +59,8 @@ var Connection = class {
59
59
  this._protocol = _protocol;
60
60
  this._transportFactory = _transportFactory;
61
61
  this._callbacks = _callbacks;
62
- this._ctx = new Context(void 0, {
63
- F: __dxlog_file,
64
- L: 100
65
- });
66
- this.connectedTimeoutContext = new Context(void 0, {
67
- F: __dxlog_file,
68
- L: 101
69
- });
62
+ this._ctx = new Context();
63
+ this.connectedTimeoutContext = new Context();
70
64
  this._protocolClosed = new Trigger();
71
65
  this._transportClosed = new Trigger();
72
66
  this._state = "CREATED";
@@ -615,10 +609,7 @@ var __dxlog_file2 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-mana
615
609
  var SwarmMessage = schema.getCodecForType("dxos.mesh.swarm.SwarmMessage");
616
610
  var SwarmMessenger = class {
617
611
  constructor({ sendMessage, onSignal, onOffer, topic }) {
618
- this._ctx = new Context2(void 0, {
619
- F: __dxlog_file2,
620
- L: 33
621
- });
612
+ this._ctx = new Context2();
622
613
  this._offerRecords = new ComplexMap((key) => key.toHex());
623
614
  this._sendMessage = sendMessage;
624
615
  this._onSignal = onSignal;
@@ -896,10 +887,7 @@ var Peer = class {
896
887
  this._callbacks = _callbacks;
897
888
  this._availableAfter = 0;
898
889
  this.availableToConnect = true;
899
- this._ctx = new Context3(void 0, {
900
- F: __dxlog_file3,
901
- L: 79
902
- });
890
+ this._ctx = new Context3();
903
891
  this.advertizing = false;
904
892
  this.initiating = false;
905
893
  this.connectionDisplaced = new Event2();
@@ -1373,10 +1361,7 @@ var Swarm = class {
1373
1361
  this._label = _label;
1374
1362
  this._connectionLimiter = _connectionLimiter;
1375
1363
  this._initiationDelay = _initiationDelay;
1376
- this._ctx = new Context4(void 0, {
1377
- F: __dxlog_file4,
1378
- L: 39
1379
- });
1364
+ this._ctx = new Context4();
1380
1365
  this._listeningHandle = void 0;
1381
1366
  this._peers = new ComplexMap2(PublicKey4.hash);
1382
1367
  this._instanceId = PublicKey4.random().toHex();
@@ -1680,10 +1665,7 @@ var Swarm = class {
1680
1665
  }
1681
1666
  // For debug purposes
1682
1667
  async goOnline() {
1683
- this._ctx = new Context4(void 0, {
1684
- F: __dxlog_file4,
1685
- L: 253
1686
- });
1668
+ this._ctx = new Context4();
1687
1669
  }
1688
1670
  _getOrCreatePeer(peerId) {
1689
1671
  let peer = this._peers.get(peerId);
@@ -1934,10 +1916,7 @@ var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-mana
1934
1916
  var MAX_CONCURRENT_INITIATING_CONNECTIONS = 50;
1935
1917
  var ConnectionLimiter = class {
1936
1918
  constructor({ maxConcurrentInitConnections = MAX_CONCURRENT_INITIATING_CONNECTIONS } = {}) {
1937
- this._ctx = new Context5(void 0, {
1938
- F: __dxlog_file6,
1939
- L: 23
1940
- });
1919
+ this._ctx = new Context5();
1941
1920
  /**
1942
1921
  * Queue of promises to resolve when initiating connections amount is below the limit.
1943
1922
  */
@@ -3330,10 +3309,7 @@ var SimplePeerTransportProxy = class {
3330
3309
  constructor(_options) {
3331
3310
  this._options = _options;
3332
3311
  this._proxyId = PublicKey12.random();
3333
- this._ctx = new Context6(void 0, {
3334
- F: __dxlog_file14,
3335
- L: 37
3336
- });
3312
+ this._ctx = new Context6();
3337
3313
  this._timeoutCount = 0;
3338
3314
  this.closed = new Event9();
3339
3315
  this.connected = new Event9();
@@ -4087,4 +4063,4 @@ export {
4087
4063
  TcpTransport,
4088
4064
  createTeleportProtocolFactory
4089
4065
  };
4090
- //# sourceMappingURL=chunk-VCGCTQ7O.mjs.map
4066
+ //# sourceMappingURL=chunk-DF5W3U6V.mjs.map