@dxos/echo-pipeline 0.4.9-main.95b3f2d → 0.4.9-main.9fa1362

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.
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_WS67FBKB_exports = {};
30
- __export(chunk_WS67FBKB_exports, {
29
+ var chunk_7VZVCCNF_exports = {};
30
+ __export(chunk_7VZVCCNF_exports, {
31
31
  AuthExtension: () => AuthExtension,
32
32
  AuthStatus: () => AuthStatus,
33
33
  DataServiceImpl: () => DataServiceImpl,
@@ -49,7 +49,7 @@ __export(chunk_WS67FBKB_exports, {
49
49
  startAfter: () => startAfter,
50
50
  valueEncoding: () => valueEncoding
51
51
  });
52
- module.exports = __toCommonJS(chunk_WS67FBKB_exports);
52
+ module.exports = __toCommonJS(chunk_7VZVCCNF_exports);
53
53
  var import_hypercore = require("@dxos/hypercore");
54
54
  var import_protocols = require("@dxos/protocols");
55
55
  var import_invariant = require("@dxos/invariant");
@@ -1457,7 +1457,7 @@ var Space = class {
1457
1457
  this._isOpen = false;
1458
1458
  (0, import_invariant6.invariant)(params.spaceKey && params.feedProvider, void 0, {
1459
1459
  F: __dxlog_file8,
1460
- L: 74,
1460
+ L: 72,
1461
1461
  S: this,
1462
1462
  A: [
1463
1463
  "params.spaceKey && params.feedProvider",
@@ -1490,7 +1490,7 @@ var Space = class {
1490
1490
  credential
1491
1491
  }, {
1492
1492
  F: __dxlog_file8,
1493
- L: 101,
1493
+ L: 99,
1494
1494
  S: this,
1495
1495
  C: (f, a) => f(...a)
1496
1496
  });
@@ -1529,7 +1529,7 @@ var Space = class {
1529
1529
  async setControlFeed(feed) {
1530
1530
  (0, import_invariant6.invariant)(!this._controlFeed, "Control feed already set.", {
1531
1531
  F: __dxlog_file8,
1532
- L: 148,
1532
+ L: 146,
1533
1533
  S: this,
1534
1534
  A: [
1535
1535
  "!this._controlFeed",
@@ -1543,7 +1543,7 @@ var Space = class {
1543
1543
  async setDataFeed(feed) {
1544
1544
  (0, import_invariant6.invariant)(!this._dataFeed, "Data feed already set.", {
1545
1545
  F: __dxlog_file8,
1546
- L: 155,
1546
+ L: 153,
1547
1547
  S: this,
1548
1548
  A: [
1549
1549
  "!this._dataFeed",
@@ -1568,7 +1568,7 @@ var Space = class {
1568
1568
  async open(ctx) {
1569
1569
  (0, import_log6.log)("opening...", void 0, {
1570
1570
  F: __dxlog_file8,
1571
- L: 176,
1571
+ L: 174,
1572
1572
  S: this,
1573
1573
  C: (f, a) => f(...a)
1574
1574
  });
@@ -1580,7 +1580,7 @@ var Space = class {
1580
1580
  this._isOpen = true;
1581
1581
  (0, import_log6.log)("opened", void 0, {
1582
1582
  F: __dxlog_file8,
1583
- L: 186,
1583
+ L: 184,
1584
1584
  S: this,
1585
1585
  C: (f, a) => f(...a)
1586
1586
  });
@@ -1590,7 +1590,7 @@ var Space = class {
1590
1590
  key: this._key
1591
1591
  }, {
1592
1592
  F: __dxlog_file8,
1593
- L: 191,
1593
+ L: 189,
1594
1594
  S: this,
1595
1595
  C: (f, a) => f(...a)
1596
1596
  });
@@ -1602,7 +1602,7 @@ var Space = class {
1602
1602
  this._isOpen = false;
1603
1603
  (0, import_log6.log)("closed", void 0, {
1604
1604
  F: __dxlog_file8,
1605
- L: 201,
1605
+ L: 199,
1606
1606
  S: this,
1607
1607
  C: (f, a) => f(...a)
1608
1608
  });
@@ -1844,12 +1844,11 @@ function _ts_decorate7(decorators, target, key, desc) {
1844
1844
  }
1845
1845
  var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/space/space-manager.ts";
1846
1846
  var SpaceManager = class {
1847
- constructor({ feedStore, networkManager, modelFactory, metadataStore, snapshotStore, blobStore }) {
1847
+ constructor({ feedStore, networkManager, metadataStore, snapshotStore, blobStore }) {
1848
1848
  this._spaces = new import_util6.ComplexMap(import_keys6.PublicKey.hash);
1849
1849
  this._instanceId = import_keys6.PublicKey.random().toHex();
1850
1850
  this._feedStore = feedStore;
1851
1851
  this._networkManager = networkManager;
1852
- this._modelFactory = modelFactory;
1853
1852
  this._metadataStore = metadataStore;
1854
1853
  this._snapshotStore = snapshotStore;
1855
1854
  this._blobStore = blobStore;
@@ -1870,7 +1869,7 @@ var SpaceManager = class {
1870
1869
  id: this._instanceId
1871
1870
  }), {
1872
1871
  F: __dxlog_file10,
1873
- L: 100,
1872
+ L: 89,
1874
1873
  S: this,
1875
1874
  C: (f, a) => f(...a)
1876
1875
  });
@@ -1878,7 +1877,7 @@ var SpaceManager = class {
1878
1877
  spaceKey: metadata.genesisFeedKey
1879
1878
  }, {
1880
1879
  F: __dxlog_file10,
1881
- L: 101,
1880
+ L: 90,
1882
1881
  S: this,
1883
1882
  C: (f, a) => f(...a)
1884
1883
  });
@@ -1898,7 +1897,6 @@ var SpaceManager = class {
1898
1897
  protocol,
1899
1898
  genesisFeed,
1900
1899
  feedProvider: (feedKey, opts) => this._feedStore.openFeed(feedKey, opts),
1901
- modelFactory: this._modelFactory,
1902
1900
  metadataStore: this._metadataStore,
1903
1901
  snapshotManager,
1904
1902
  memberKey
@@ -1908,7 +1906,7 @@ var SpaceManager = class {
1908
1906
  id: this._instanceId
1909
1907
  }), {
1910
1908
  F: __dxlog_file10,
1911
- L: 129,
1909
+ L: 117,
1912
1910
  S: this,
1913
1911
  C: (f, a) => f(...a)
1914
1912
  });
@@ -1947,4 +1945,4 @@ SpaceManager = _ts_decorate7([
1947
1945
  startAfter,
1948
1946
  valueEncoding
1949
1947
  });
1950
- //# sourceMappingURL=chunk-WS67FBKB.cjs.map
1948
+ //# sourceMappingURL=chunk-7VZVCCNF.cjs.map