@dxos/echo-pipeline 0.4.9-main.7750cb2 → 0.4.9-main.8437471

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.
@@ -1141,7 +1141,7 @@ var AuthExtension = class extends RpcExtension {
1141
1141
  };
1142
1142
 
1143
1143
  // packages/core/echo/echo-pipeline/src/space/space.ts
1144
- import { Event as Event4, synchronized as synchronized3, trackLeaks as trackLeaks2, Mutex } from "@dxos/async";
1144
+ import { Event as Event4, Mutex, synchronized as synchronized3, trackLeaks as trackLeaks2 } from "@dxos/async";
1145
1145
  import { invariant as invariant6 } from "@dxos/invariant";
1146
1146
  import { log as log7, logInfo } from "@dxos/log";
1147
1147
  import { AdmittedFeed as AdmittedFeed2 } from "@dxos/protocols/proto/dxos/halo/credentials";
@@ -1429,7 +1429,7 @@ var Space = class {
1429
1429
  this._isOpen = false;
1430
1430
  invariant6(params.spaceKey && params.feedProvider, void 0, {
1431
1431
  F: __dxlog_file8,
1432
- L: 74,
1432
+ L: 72,
1433
1433
  S: this,
1434
1434
  A: [
1435
1435
  "params.spaceKey && params.feedProvider",
@@ -1462,7 +1462,7 @@ var Space = class {
1462
1462
  credential
1463
1463
  }, {
1464
1464
  F: __dxlog_file8,
1465
- L: 101,
1465
+ L: 99,
1466
1466
  S: this,
1467
1467
  C: (f, a) => f(...a)
1468
1468
  });
@@ -1501,7 +1501,7 @@ var Space = class {
1501
1501
  async setControlFeed(feed) {
1502
1502
  invariant6(!this._controlFeed, "Control feed already set.", {
1503
1503
  F: __dxlog_file8,
1504
- L: 148,
1504
+ L: 146,
1505
1505
  S: this,
1506
1506
  A: [
1507
1507
  "!this._controlFeed",
@@ -1515,7 +1515,7 @@ var Space = class {
1515
1515
  async setDataFeed(feed) {
1516
1516
  invariant6(!this._dataFeed, "Data feed already set.", {
1517
1517
  F: __dxlog_file8,
1518
- L: 155,
1518
+ L: 153,
1519
1519
  S: this,
1520
1520
  A: [
1521
1521
  "!this._dataFeed",
@@ -1540,7 +1540,7 @@ var Space = class {
1540
1540
  async open(ctx) {
1541
1541
  log7("opening...", void 0, {
1542
1542
  F: __dxlog_file8,
1543
- L: 176,
1543
+ L: 174,
1544
1544
  S: this,
1545
1545
  C: (f, a) => f(...a)
1546
1546
  });
@@ -1552,7 +1552,7 @@ var Space = class {
1552
1552
  this._isOpen = true;
1553
1553
  log7("opened", void 0, {
1554
1554
  F: __dxlog_file8,
1555
- L: 186,
1555
+ L: 184,
1556
1556
  S: this,
1557
1557
  C: (f, a) => f(...a)
1558
1558
  });
@@ -1562,7 +1562,7 @@ var Space = class {
1562
1562
  key: this._key
1563
1563
  }, {
1564
1564
  F: __dxlog_file8,
1565
- L: 191,
1565
+ L: 189,
1566
1566
  S: this,
1567
1567
  C: (f, a) => f(...a)
1568
1568
  });
@@ -1574,7 +1574,7 @@ var Space = class {
1574
1574
  this._isOpen = false;
1575
1575
  log7("closed", void 0, {
1576
1576
  F: __dxlog_file8,
1577
- L: 201,
1577
+ L: 199,
1578
1578
  S: this,
1579
1579
  C: (f, a) => f(...a)
1580
1580
  });
@@ -1836,12 +1836,11 @@ function _ts_decorate7(decorators, target, key, desc) {
1836
1836
  }
1837
1837
  var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/space/space-manager.ts";
1838
1838
  var SpaceManager = class {
1839
- constructor({ feedStore, networkManager, modelFactory, metadataStore, snapshotStore, blobStore }) {
1839
+ constructor({ feedStore, networkManager, metadataStore, snapshotStore, blobStore }) {
1840
1840
  this._spaces = new ComplexMap4(PublicKey6.hash);
1841
1841
  this._instanceId = PublicKey6.random().toHex();
1842
1842
  this._feedStore = feedStore;
1843
1843
  this._networkManager = networkManager;
1844
- this._modelFactory = modelFactory;
1845
1844
  this._metadataStore = metadataStore;
1846
1845
  this._snapshotStore = snapshotStore;
1847
1846
  this._blobStore = blobStore;
@@ -1862,7 +1861,7 @@ var SpaceManager = class {
1862
1861
  id: this._instanceId
1863
1862
  }), {
1864
1863
  F: __dxlog_file10,
1865
- L: 100,
1864
+ L: 89,
1866
1865
  S: this,
1867
1866
  C: (f, a) => f(...a)
1868
1867
  });
@@ -1870,7 +1869,7 @@ var SpaceManager = class {
1870
1869
  spaceKey: metadata.genesisFeedKey
1871
1870
  }, {
1872
1871
  F: __dxlog_file10,
1873
- L: 101,
1872
+ L: 90,
1874
1873
  S: this,
1875
1874
  C: (f, a) => f(...a)
1876
1875
  });
@@ -1890,7 +1889,6 @@ var SpaceManager = class {
1890
1889
  protocol,
1891
1890
  genesisFeed,
1892
1891
  feedProvider: (feedKey, opts) => this._feedStore.openFeed(feedKey, opts),
1893
- modelFactory: this._modelFactory,
1894
1892
  metadataStore: this._metadataStore,
1895
1893
  snapshotManager,
1896
1894
  memberKey
@@ -1900,7 +1898,7 @@ var SpaceManager = class {
1900
1898
  id: this._instanceId
1901
1899
  }), {
1902
1900
  F: __dxlog_file10,
1903
- L: 129,
1901
+ L: 117,
1904
1902
  S: this,
1905
1903
  C: (f, a) => f(...a)
1906
1904
  });
@@ -1939,4 +1937,4 @@ export {
1939
1937
  SpaceProtocolSession,
1940
1938
  SpaceManager
1941
1939
  };
1942
- //# sourceMappingURL=chunk-P3HBH2ZU.mjs.map
1940
+ //# sourceMappingURL=chunk-RTEEJ723.mjs.map