@dxos/echo-pipeline 0.1.57 → 0.1.58-main.0e9c99e

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.
@@ -63,7 +63,7 @@ var import_invariant = require("@dxos/invariant");
63
63
  var import_log = require("@dxos/log");
64
64
  var import_service = require("@dxos/protocols/proto/dxos/echo/service");
65
65
  var import_util = require("@dxos/util");
66
- var __dxlog_file = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/db-host/data-service-host.ts";
66
+ var __dxlog_file = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/db-host/data-service-host.ts";
67
67
  var DataServiceHost = class {
68
68
  constructor(_itemManager, _itemDemuxer, _flush, _writeStream) {
69
69
  this._itemManager = _itemManager;
@@ -342,7 +342,7 @@ var import_invariant2 = require("@dxos/invariant");
342
342
  var import_keys2 = require("@dxos/keys");
343
343
  var import_log2 = require("@dxos/log");
344
344
  var import_util2 = require("@dxos/util");
345
- var __dxlog_file2 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/db-host/data-service.ts";
345
+ var __dxlog_file2 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/db-host/data-service.ts";
346
346
  var DataServiceSubscriptions = class {
347
347
  constructor() {
348
348
  this._spaces = new import_util2.ComplexMap(import_keys2.PublicKey.hash);
@@ -445,7 +445,6 @@ var DataServiceImpl = class {
445
445
  // packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts
446
446
  var import_crc_32 = __toESM(require("crc-32"));
447
447
  var import_async2 = require("@dxos/async");
448
- var import_errors = require("@dxos/errors");
449
448
  var import_invariant3 = require("@dxos/invariant");
450
449
  var import_keys3 = require("@dxos/keys");
451
450
  var import_log3 = require("@dxos/log");
@@ -462,7 +461,7 @@ function _ts_decorate2(decorators, target, key, desc) {
462
461
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
463
462
  return c > 3 && r && Object.defineProperty(target, key, r), r;
464
463
  }
465
- var __dxlog_file3 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts";
464
+ var __dxlog_file3 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts";
466
465
  var emptyEchoMetadata = () => ({
467
466
  version: import_protocols3.STORAGE_VERSION,
468
467
  spaces: [],
@@ -508,12 +507,12 @@ var MetadataStore = class {
508
507
  name: file.filename
509
508
  }, {
510
509
  F: __dxlog_file3,
511
- L: 82,
510
+ L: 81,
512
511
  S: this,
513
512
  C: (f, a) => f(...a)
514
513
  });
515
514
  if (fileLength < dataSize + 8) {
516
- throw new import_errors.DataCorruptionError("Metadata size is smaller than expected.", {
515
+ throw new import_protocols3.DataCorruptionError("Metadata size is smaller than expected.", {
517
516
  fileLength,
518
517
  dataSize
519
518
  });
@@ -521,7 +520,7 @@ var MetadataStore = class {
521
520
  const data = await file.read(8, dataSize);
522
521
  const calculatedChecksum = import_crc_32.default.buf(data);
523
522
  if (calculatedChecksum !== checksum) {
524
- throw new import_errors.DataCorruptionError("Metadata checksum is invalid.");
523
+ throw new import_protocols3.DataCorruptionError("Metadata checksum is invalid.");
525
524
  }
526
525
  return codec2.decode(data);
527
526
  } finally {
@@ -541,7 +540,7 @@ var MetadataStore = class {
541
540
  checksum
542
541
  }, {
543
542
  F: __dxlog_file3,
544
- L: 114,
543
+ L: 113,
545
544
  S: this,
546
545
  C: (f, a) => f(...a)
547
546
  });
@@ -573,7 +572,7 @@ var MetadataStore = class {
573
572
  err
574
573
  }, {
575
574
  F: __dxlog_file3,
576
- L: 145,
575
+ L: 144,
577
576
  S: this,
578
577
  C: (f, a) => f(...a)
579
578
  });
@@ -590,7 +589,7 @@ var MetadataStore = class {
590
589
  err
591
590
  }, {
592
591
  F: __dxlog_file3,
593
- L: 157,
592
+ L: 156,
594
593
  S: this,
595
594
  C: (f, a) => f(...a)
596
595
  });
@@ -620,7 +619,7 @@ var MetadataStore = class {
620
619
  err
621
620
  }, {
622
621
  F: __dxlog_file3,
623
- L: 186,
622
+ L: 185,
624
623
  S: this,
625
624
  C: (f, a) => f(...a)
626
625
  });
@@ -641,7 +640,7 @@ var MetadataStore = class {
641
640
  const space = this.spaces.find((space2) => space2.key === spaceKey);
642
641
  (0, import_invariant3.invariant)(space, "Space not found", {
643
642
  F: __dxlog_file3,
644
- L: 208,
643
+ L: 207,
645
644
  S: this,
646
645
  A: [
647
646
  "space",
@@ -665,7 +664,7 @@ var MetadataStore = class {
665
664
  async clear() {
666
665
  (0, import_log3.log)("clearing all metadata", void 0, {
667
666
  F: __dxlog_file3,
668
- L: 227,
667
+ L: 226,
669
668
  S: this,
670
669
  C: (f, a) => f(...a)
671
670
  });
@@ -678,7 +677,7 @@ var MetadataStore = class {
678
677
  async setIdentityRecord(record) {
679
678
  (0, import_invariant3.invariant)(!this._metadata.identity, "Cannot overwrite existing identity in metadata", {
680
679
  F: __dxlog_file3,
681
- L: 237,
680
+ L: 236,
682
681
  S: this,
683
682
  A: [
684
683
  "!this._metadata.identity",
@@ -692,7 +691,7 @@ var MetadataStore = class {
692
691
  async addSpace(record) {
693
692
  (0, import_invariant3.invariant)(!(this._metadata.spaces ?? []).find((space) => space.key === record.key), "Cannot overwrite existing space in metadata", {
694
693
  F: __dxlog_file3,
695
- L: 245,
694
+ L: 244,
696
695
  S: this,
697
696
  A: [
698
697
  "!(this._metadata.spaces ?? []).find((space) => space.key === record.key)",
@@ -756,7 +755,7 @@ var import_invariant4 = require("@dxos/invariant");
756
755
  var import_log4 = require("@dxos/log");
757
756
  var import_protocols4 = require("@dxos/protocols");
758
757
  var import_teleport = require("@dxos/teleport");
759
- var __dxlog_file4 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/space/auth.ts";
758
+ var __dxlog_file4 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/space/auth.ts";
760
759
  var AuthExtension = class extends import_teleport.RpcExtension {
761
760
  constructor(_authParams) {
762
761
  super({
@@ -893,7 +892,7 @@ var valueEncoding = (0, import_hypercore.createCodecEncoding)(codec);
893
892
 
894
893
  // packages/core/echo/echo-pipeline/src/common/feeds.ts
895
894
  var import_invariant5 = require("@dxos/invariant");
896
- var __dxlog_file5 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/common/feeds.ts";
895
+ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/common/feeds.ts";
897
896
  var createMappedFeedWriter = (mapper, writer) => {
898
897
  (0, import_invariant5.invariant)(mapper, void 0, {
899
898
  F: __dxlog_file5,
@@ -921,7 +920,7 @@ var createMappedFeedWriter = (mapper, writer) => {
921
920
  // packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts
922
921
  var import_invariant6 = require("@dxos/invariant");
923
922
  var import_log5 = require("@dxos/log");
924
- var __dxlog_file6 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts";
923
+ var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts";
925
924
  var createMessageSelector = (timeframeClock) => {
926
925
  return (messages) => {
927
926
  for (let i = 0; i < messages.length; i++) {
@@ -963,7 +962,7 @@ function _ts_decorate3(decorators, target, key, desc) {
963
962
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
964
963
  return c > 3 && r && Object.defineProperty(target, key, r), r;
965
964
  }
966
- var __dxlog_file7 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts";
965
+ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts";
967
966
  var mapFeedIndexesToTimeframe = (indexes) => new import_timeframe.Timeframe(indexes.map(({ feedKey, index }) => [
968
967
  feedKey,
969
968
  index
@@ -1053,7 +1052,7 @@ function _ts_decorate4(decorators, target, key, desc) {
1053
1052
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1054
1053
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1055
1054
  }
1056
- var __dxlog_file8 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts";
1055
+ var __dxlog_file8 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts";
1057
1056
  var PipelineState = class {
1058
1057
  // prettier-ignore
1059
1058
  constructor(_feeds, _timeframeClock) {
@@ -1469,7 +1468,7 @@ function _ts_decorate5(decorators, target, key, desc) {
1469
1468
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1470
1469
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1471
1470
  }
1472
- var __dxlog_file9 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/space/control-pipeline.ts";
1471
+ var __dxlog_file9 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/space/control-pipeline.ts";
1473
1472
  var TIMEFRAME_SAVE_DEBOUNCE_INTERVAL = 500;
1474
1473
  var CONTROL_PIPELINE_SNAPSHOT_DELAY = 1e4;
1475
1474
  var USE_SNAPSHOTS = true;
@@ -1711,9 +1710,9 @@ var import_async7 = require("@dxos/async");
1711
1710
  var import_context6 = require("@dxos/context");
1712
1711
  var import_credentials3 = require("@dxos/credentials");
1713
1712
  var import_echo_db3 = require("@dxos/echo-db");
1714
- var import_errors2 = require("@dxos/errors");
1715
1713
  var import_invariant8 = require("@dxos/invariant");
1716
1714
  var import_log9 = require("@dxos/log");
1715
+ var import_protocols6 = require("@dxos/protocols");
1717
1716
  var import_timeframe4 = require("@dxos/timeframe");
1718
1717
  var import_tracing2 = require("@dxos/tracing");
1719
1718
  var import_util6 = require("@dxos/util");
@@ -1727,7 +1726,7 @@ function _ts_decorate6(decorators, target, key, desc) {
1727
1726
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1728
1727
  return c > 3 && r && Object.defineProperty(target, key, r), r;
1729
1728
  }
1730
- var __dxlog_file10 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/space/data-pipeline.ts";
1729
+ var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/space/data-pipeline.ts";
1731
1730
  var MESSAGES_PER_SNAPSHOT = 10;
1732
1731
  var AUTOMATIC_SNAPSHOT_DEBOUNCE_INTERVAL = 5e3;
1733
1732
  var TIMEFRAME_SAVE_DEBOUNCE_INTERVAL2 = 5e3;
@@ -1785,7 +1784,7 @@ var DataPipeline = class DataPipeline2 {
1785
1784
  write: (data, options) => {
1786
1785
  (0, import_invariant8.invariant)(this._pipeline, "Pipeline is not initialized.", {
1787
1786
  F: __dxlog_file10,
1788
- L: 154,
1787
+ L: 153,
1789
1788
  S: this,
1790
1789
  A: [
1791
1790
  "this._pipeline",
@@ -1794,7 +1793,7 @@ var DataPipeline = class DataPipeline2 {
1794
1793
  });
1795
1794
  (0, import_invariant8.invariant)(this.currentEpoch, "Epoch is not initialized.", {
1796
1795
  F: __dxlog_file10,
1797
- L: 155,
1796
+ L: 154,
1798
1797
  S: this,
1799
1798
  A: [
1800
1799
  "this.currentEpoch",
@@ -1820,7 +1819,7 @@ var DataPipeline = class DataPipeline2 {
1820
1819
  }
1821
1820
  (0, import_log9.log)("close", void 0, {
1822
1821
  F: __dxlog_file10,
1823
- L: 179,
1822
+ L: 178,
1824
1823
  S: this,
1825
1824
  C: (f, a) => f(...a)
1826
1825
  });
@@ -1835,7 +1834,7 @@ var DataPipeline = class DataPipeline2 {
1835
1834
  } catch (err) {
1836
1835
  import_log9.log.catch(err, void 0, {
1837
1836
  F: __dxlog_file10,
1838
- L: 192,
1837
+ L: 191,
1839
1838
  S: this,
1840
1839
  C: (f, a) => f(...a)
1841
1840
  });
@@ -1860,7 +1859,7 @@ var DataPipeline = class DataPipeline2 {
1860
1859
  let messageCounter = 0;
1861
1860
  (0, import_invariant8.invariant)(this._pipeline, "Pipeline is not initialized.", {
1862
1861
  F: __dxlog_file10,
1863
- L: 217,
1862
+ L: 216,
1864
1863
  S: this,
1865
1864
  A: [
1866
1865
  "this._pipeline",
@@ -1876,7 +1875,7 @@ var DataPipeline = class DataPipeline2 {
1876
1875
  seq
1877
1876
  }, {
1878
1877
  F: __dxlog_file10,
1879
- L: 223,
1878
+ L: 222,
1880
1879
  S: this,
1881
1880
  C: (f, a) => f(...a)
1882
1881
  });
@@ -1888,7 +1887,7 @@ var DataPipeline = class DataPipeline2 {
1888
1887
  feedKey
1889
1888
  }, {
1890
1889
  F: __dxlog_file10,
1891
- L: 229,
1890
+ L: 228,
1892
1891
  S: this,
1893
1892
  C: (f, a) => f(...a)
1894
1893
  });
@@ -1911,7 +1910,7 @@ var DataPipeline = class DataPipeline2 {
1911
1910
  spaceKey: this._params.spaceKey.toHex()
1912
1911
  }, {
1913
1912
  F: __dxlog_file10,
1914
- L: 246,
1913
+ L: 245,
1915
1914
  S: this,
1916
1915
  C: (f, a) => f(...a)
1917
1916
  });
@@ -1920,7 +1919,7 @@ var DataPipeline = class DataPipeline2 {
1920
1919
  } catch (err) {
1921
1920
  import_log9.log.catch(err, void 0, {
1922
1921
  F: __dxlog_file10,
1923
- L: 256,
1922
+ L: 255,
1924
1923
  S: this,
1925
1924
  C: (f, a) => f(...a)
1926
1925
  });
@@ -1935,7 +1934,7 @@ var DataPipeline = class DataPipeline2 {
1935
1934
  _createSnapshot() {
1936
1935
  (0, import_invariant8.invariant)(this.databaseHost, "Database backend is not initialized.", {
1937
1936
  F: __dxlog_file10,
1938
- L: 270,
1937
+ L: 269,
1939
1938
  S: this,
1940
1939
  A: [
1941
1940
  "this.databaseHost",
@@ -1964,7 +1963,7 @@ var DataPipeline = class DataPipeline2 {
1964
1963
  } catch (err) {
1965
1964
  import_log9.log.warn("Failed to cache properties", err, {
1966
1965
  F: __dxlog_file10,
1967
- L: 299,
1966
+ L: 298,
1968
1967
  S: this,
1969
1968
  C: (f, a) => f(...a)
1970
1969
  });
@@ -1990,17 +1989,17 @@ var DataPipeline = class DataPipeline2 {
1990
1989
  await this._epochCtx?.dispose();
1991
1990
  const ctx = new import_context6.Context({
1992
1991
  onError: (err) => {
1993
- if (err instanceof import_errors2.CancelledError) {
1992
+ if (err instanceof import_protocols6.CancelledError) {
1994
1993
  (0, import_log9.log)("Epoch processing cancelled.", void 0, {
1995
1994
  F: __dxlog_file10,
1996
- L: 335,
1995
+ L: 334,
1997
1996
  S: this,
1998
1997
  C: (f, a) => f(...a)
1999
1998
  });
2000
1999
  } else {
2001
2000
  import_log9.log.catch(err, void 0, {
2002
2001
  F: __dxlog_file10,
2003
- L: 337,
2002
+ L: 336,
2004
2003
  S: this,
2005
2004
  C: (f, a) => f(...a)
2006
2005
  });
@@ -2020,7 +2019,7 @@ var DataPipeline = class DataPipeline2 {
2020
2019
  async _processEpoch(ctx, epoch) {
2021
2020
  (0, import_invariant8.invariant)(this._isOpen, "Space is closed.", {
2022
2021
  F: __dxlog_file10,
2023
- L: 356,
2022
+ L: 355,
2024
2023
  S: this,
2025
2024
  A: [
2026
2025
  "this._isOpen",
@@ -2029,7 +2028,7 @@ var DataPipeline = class DataPipeline2 {
2029
2028
  });
2030
2029
  (0, import_invariant8.invariant)(this._pipeline, void 0, {
2031
2030
  F: __dxlog_file10,
2032
- L: 357,
2031
+ L: 356,
2033
2032
  S: this,
2034
2033
  A: [
2035
2034
  "this._pipeline",
@@ -2041,7 +2040,7 @@ var DataPipeline = class DataPipeline2 {
2041
2040
  epoch: (0, import_log9.omit)(epoch, "proof")
2042
2041
  }, {
2043
2042
  F: __dxlog_file10,
2044
- L: 360,
2043
+ L: 359,
2045
2044
  S: this,
2046
2045
  C: (f, a) => f(...a)
2047
2046
  });
@@ -2051,7 +2050,7 @@ var DataPipeline = class DataPipeline2 {
2051
2050
  }
2052
2051
  (0, import_log9.log)("restarting pipeline from epoch", void 0, {
2053
2052
  F: __dxlog_file10,
2054
- L: 366,
2053
+ L: 365,
2055
2054
  S: this,
2056
2055
  C: (f, a) => f(...a)
2057
2056
  });
@@ -2062,7 +2061,7 @@ var DataPipeline = class DataPipeline2 {
2062
2061
  async waitUntilTimeframe(timeframe) {
2063
2062
  (0, import_invariant8.invariant)(this._pipeline, "Pipeline is not initialized.", {
2064
2063
  F: __dxlog_file10,
2065
- L: 373,
2064
+ L: 372,
2066
2065
  S: this,
2067
2066
  A: [
2068
2067
  "this._pipeline",
@@ -2074,7 +2073,7 @@ var DataPipeline = class DataPipeline2 {
2074
2073
  async createEpoch() {
2075
2074
  (0, import_invariant8.invariant)(this._pipeline, void 0, {
2076
2075
  F: __dxlog_file10,
2077
- L: 379,
2076
+ L: 378,
2078
2077
  S: this,
2079
2078
  A: [
2080
2079
  "this._pipeline",
@@ -2083,7 +2082,7 @@ var DataPipeline = class DataPipeline2 {
2083
2082
  });
2084
2083
  (0, import_invariant8.invariant)(this.currentEpoch, void 0, {
2085
2084
  F: __dxlog_file10,
2086
- L: 380,
2085
+ L: 379,
2087
2086
  S: this,
2088
2087
  A: [
2089
2088
  "this.currentEpoch",
@@ -2114,7 +2113,7 @@ var DataPipeline = class DataPipeline2 {
2114
2113
  } catch (err) {
2115
2114
  import_log9.log.catch(err, void 0, {
2116
2115
  F: __dxlog_file10,
2117
- L: 410,
2116
+ L: 409,
2118
2117
  S: this,
2119
2118
  C: (f, a) => f(...a)
2120
2119
  });
@@ -2156,7 +2155,7 @@ function _ts_decorate7(decorators, target, key, desc) {
2156
2155
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2157
2156
  return c > 3 && r && Object.defineProperty(target, key, r), r;
2158
2157
  }
2159
- var __dxlog_file11 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/space/space.ts";
2158
+ var __dxlog_file11 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/space/space.ts";
2160
2159
  var Space = class Space2 {
2161
2160
  constructor(params) {
2162
2161
  this._addFeedLock = new import_async8.Lock();
@@ -2399,7 +2398,7 @@ var import_async9 = require("@dxos/async");
2399
2398
  var import_debug4 = require("@dxos/debug");
2400
2399
  var import_keys7 = require("@dxos/keys");
2401
2400
  var import_log12 = require("@dxos/log");
2402
- var import_protocols6 = require("@dxos/protocols");
2401
+ var import_protocols7 = require("@dxos/protocols");
2403
2402
  var import_util9 = require("@dxos/util");
2404
2403
 
2405
2404
  // packages/core/echo/echo-pipeline/src/space/space-protocol.ts
@@ -2421,7 +2420,7 @@ function _ts_decorate8(decorators, target, key, desc) {
2421
2420
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2422
2421
  return c > 3 && r && Object.defineProperty(target, key, r), r;
2423
2422
  }
2424
- var __dxlog_file12 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/space/space-protocol.ts";
2423
+ var __dxlog_file12 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/space/space-protocol.ts";
2425
2424
  var MOCK_AUTH_PROVIDER = async (nonce) => Buffer.from("mock");
2426
2425
  var MOCK_AUTH_VERIFIER = async (nonce, credential) => true;
2427
2426
  var SpaceProtocol = class {
@@ -2619,7 +2618,7 @@ function _ts_decorate9(decorators, target, key, desc) {
2619
2618
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2620
2619
  return c > 3 && r && Object.defineProperty(target, key, r), r;
2621
2620
  }
2622
- var __dxlog_file13 = "/mnt/ramdisk/work/packages/core/echo/echo-pipeline/src/space/space-manager.ts";
2621
+ var __dxlog_file13 = "/home/runner/work/dxos/dxos/packages/core/echo/echo-pipeline/src/space/space-manager.ts";
2623
2622
  var SpaceManager = class SpaceManager2 {
2624
2623
  constructor({ feedStore, networkManager, modelFactory, metadataStore, snapshotStore, blobStore }) {
2625
2624
  this._spaces = new import_util9.ComplexMap(import_keys7.PublicKey.hash);
@@ -2643,7 +2642,7 @@ var SpaceManager = class SpaceManager2 {
2643
2642
  ].map((space) => space.close()));
2644
2643
  }
2645
2644
  async constructSpace({ metadata, swarmIdentity, onNetworkConnection, onAuthFailure, memberKey }) {
2646
- import_log12.log.trace("dxos.echo.space-manager.construct-space", import_protocols6.trace.begin({
2645
+ import_log12.log.trace("dxos.echo.space-manager.construct-space", import_protocols7.trace.begin({
2647
2646
  id: this._instanceId
2648
2647
  }), {
2649
2648
  F: __dxlog_file13,
@@ -2681,7 +2680,7 @@ var SpaceManager = class SpaceManager2 {
2681
2680
  memberKey
2682
2681
  });
2683
2682
  this._spaces.set(space.key, space);
2684
- import_log12.log.trace("dxos.echo.space-manager.construct-space", import_protocols6.trace.end({
2683
+ import_log12.log.trace("dxos.echo.space-manager.construct-space", import_protocols7.trace.end({
2685
2684
  id: this._instanceId
2686
2685
  }), {
2687
2686
  F: __dxlog_file13,