@dxos/client-services 0.4.9 → 0.4.10-main.7ab08e9

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.
Files changed (30) hide show
  1. package/dist/lib/browser/{chunk-RQ33OGAG.mjs → chunk-LAJ3V2AH.mjs} +108 -38
  2. package/dist/lib/browser/{chunk-RQ33OGAG.mjs.map → chunk-LAJ3V2AH.mjs.map} +3 -3
  3. package/dist/lib/browser/index.mjs +48 -20
  4. package/dist/lib/browser/index.mjs.map +3 -3
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/packlets/testing/index.mjs +1 -1
  7. package/dist/lib/node/{chunk-CBSM4HU4.cjs → chunk-ZVSJIOW6.cjs} +116 -46
  8. package/dist/lib/node/chunk-ZVSJIOW6.cjs.map +7 -0
  9. package/dist/lib/node/index.cjs +85 -57
  10. package/dist/lib/node/index.cjs.map +3 -3
  11. package/dist/lib/node/meta.json +1 -1
  12. package/dist/lib/node/packlets/testing/index.cjs +6 -6
  13. package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
  14. package/dist/types/src/packlets/spaces/data-space.d.ts.map +1 -1
  15. package/dist/types/src/packlets/vault/shared-worker-connection.d.ts +5 -5
  16. package/dist/types/src/packlets/vault/shared-worker-connection.d.ts.map +1 -1
  17. package/dist/types/src/packlets/vault/worker-runtime.d.ts +2 -0
  18. package/dist/types/src/packlets/vault/worker-runtime.d.ts.map +1 -1
  19. package/dist/types/src/packlets/vault/worker-session.d.ts +2 -0
  20. package/dist/types/src/packlets/vault/worker-session.d.ts.map +1 -1
  21. package/dist/types/src/version.d.ts +1 -1
  22. package/dist/types/src/version.d.ts.map +1 -1
  23. package/package.json +34 -34
  24. package/src/packlets/services/service-host.ts +5 -2
  25. package/src/packlets/spaces/data-space.ts +51 -2
  26. package/src/packlets/vault/shared-worker-connection.ts +3 -8
  27. package/src/packlets/vault/worker-runtime.ts +27 -2
  28. package/src/packlets/vault/worker-session.ts +6 -0
  29. package/src/version.ts +1 -5
  30. package/dist/lib/node/chunk-CBSM4HU4.cjs.map +0 -7
@@ -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_CBSM4HU4_exports = {};
30
- __export(chunk_CBSM4HU4_exports, {
29
+ var chunk_ZVSJIOW6_exports = {};
30
+ __export(chunk_ZVSJIOW6_exports, {
31
31
  ClientRpcServer: () => ClientRpcServer,
32
32
  ClientServicesHost: () => ClientServicesHost,
33
33
  DataSpace: () => DataSpace,
@@ -60,7 +60,7 @@ __export(chunk_CBSM4HU4_exports, {
60
60
  subscribeToSpaces: () => subscribeToSpaces,
61
61
  subscribeToSwarmInfo: () => subscribeToSwarmInfo
62
62
  });
63
- module.exports = __toCommonJS(chunk_CBSM4HU4_exports);
63
+ module.exports = __toCommonJS(chunk_ZVSJIOW6_exports);
64
64
  var import_async = require("@dxos/async");
65
65
  var import_codec_protobuf = require("@dxos/codec-protobuf");
66
66
  var import_feed_store = require("@dxos/feed-store");
@@ -158,7 +158,9 @@ var import_async10 = require("@dxos/async");
158
158
  var import_client_protocol3 = require("@dxos/client-protocol");
159
159
  var import_context7 = require("@dxos/context");
160
160
  var import_debug3 = require("@dxos/debug");
161
+ var import_echo_db = require("@dxos/echo-db");
161
162
  var import_echo_pipeline = require("@dxos/echo-pipeline");
163
+ var import_echo_pipeline2 = require("@dxos/echo-pipeline");
162
164
  var import_invariant10 = require("@dxos/invariant");
163
165
  var import_keys7 = require("@dxos/keys");
164
166
  var import_log8 = require("@dxos/log");
@@ -203,7 +205,7 @@ var import_async15 = require("@dxos/async");
203
205
  var import_context10 = require("@dxos/context");
204
206
  var import_credentials15 = require("@dxos/credentials");
205
207
  var import_debug6 = require("@dxos/debug");
206
- var import_echo_pipeline2 = require("@dxos/echo-pipeline");
208
+ var import_echo_pipeline3 = require("@dxos/echo-pipeline");
207
209
  var import_feed_store4 = require("@dxos/feed-store");
208
210
  var import_indexing = require("@dxos/indexing");
209
211
  var import_invariant14 = require("@dxos/invariant");
@@ -229,7 +231,7 @@ var import_util8 = require("@dxos/util");
229
231
  var import_async16 = require("@dxos/async");
230
232
  var import_client_protocol5 = require("@dxos/client-protocol");
231
233
  var import_context11 = require("@dxos/context");
232
- var import_echo_pipeline3 = require("@dxos/echo-pipeline");
234
+ var import_echo_pipeline4 = require("@dxos/echo-pipeline");
233
235
  var import_echo_schema = require("@dxos/echo-schema");
234
236
  var import_indexing2 = require("@dxos/indexing");
235
237
  var import_invariant16 = require("@dxos/invariant");
@@ -2884,7 +2886,7 @@ var getPlatform = () => {
2884
2886
  };
2885
2887
  }
2886
2888
  };
2887
- var DXOS_VERSION = "0.4.9";
2889
+ var DXOS_VERSION = "0.4.10-main.7ab08e9";
2888
2890
  var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/services/diagnostics.ts";
2889
2891
  var DEFAULT_TIMEOUT = 1e3;
2890
2892
  var createDiagnostics = async (clientServices, serviceContext, config) => {
@@ -3326,7 +3328,7 @@ var DataSpace = class {
3326
3328
  state: import_services9.SpaceState[this._state]
3327
3329
  }, {
3328
3330
  F: __dxlog_file12,
3329
- L: 132,
3331
+ L: 140,
3330
3332
  S: this,
3331
3333
  C: (f, a) => f(...a)
3332
3334
  });
@@ -3376,7 +3378,7 @@ var DataSpace = class {
3376
3378
  state: import_services9.SpaceState[this._state]
3377
3379
  }, {
3378
3380
  F: __dxlog_file12,
3379
- L: 190,
3381
+ L: 198,
3380
3382
  S: this,
3381
3383
  C: (f, a) => f(...a)
3382
3384
  });
@@ -3394,7 +3396,7 @@ var DataSpace = class {
3394
3396
  state: import_services9.SpaceState[this._state]
3395
3397
  }, {
3396
3398
  F: __dxlog_file12,
3397
- L: 204,
3399
+ L: 212,
3398
3400
  S: this,
3399
3401
  C: (f, a) => f(...a)
3400
3402
  });
@@ -3426,7 +3428,7 @@ var DataSpace = class {
3426
3428
  if (err instanceof import_protocols8.CancelledError || err instanceof import_context7.ContextDisposedError) {
3427
3429
  (0, import_log8.log)("data pipeline initialization cancelled", err, {
3428
3430
  F: __dxlog_file12,
3429
- L: 237,
3431
+ L: 245,
3430
3432
  S: this,
3431
3433
  C: (f, a) => f(...a)
3432
3434
  });
@@ -3434,7 +3436,7 @@ var DataSpace = class {
3434
3436
  }
3435
3437
  import_log8.log.error("Error initializing data pipeline", err, {
3436
3438
  F: __dxlog_file12,
3437
- L: 241,
3439
+ L: 249,
3438
3440
  S: this,
3439
3441
  C: (f, a) => f(...a)
3440
3442
  });
@@ -3443,7 +3445,7 @@ var DataSpace = class {
3443
3445
  state: import_services9.SpaceState[this._state]
3444
3446
  }, {
3445
3447
  F: __dxlog_file12,
3446
- L: 243,
3448
+ L: 251,
3447
3449
  S: this,
3448
3450
  C: (f, a) => f(...a)
3449
3451
  });
@@ -3463,7 +3465,7 @@ var DataSpace = class {
3463
3465
  state: import_services9.SpaceState[this._state]
3464
3466
  }, {
3465
3467
  F: __dxlog_file12,
3466
- L: 259,
3468
+ L: 267,
3467
3469
  S: this,
3468
3470
  C: (f, a) => f(...a)
3469
3471
  });
@@ -3473,7 +3475,7 @@ var DataSpace = class {
3473
3475
  await (0, import_context7.cancelWithContext)(this._ctx, this.automergeSpaceState.ensureEpochInitialized());
3474
3476
  (0, import_log8.log)("data pipeline ready", void 0, {
3475
3477
  F: __dxlog_file12,
3476
- L: 271,
3478
+ L: 279,
3477
3479
  S: this,
3478
3480
  C: (f, a) => f(...a)
3479
3481
  });
@@ -3483,7 +3485,7 @@ var DataSpace = class {
3483
3485
  state: import_services9.SpaceState[this._state]
3484
3486
  }, {
3485
3487
  F: __dxlog_file12,
3486
- L: 275,
3488
+ L: 283,
3487
3489
  S: this,
3488
3490
  C: (f, a) => f(...a)
3489
3491
  });
@@ -3499,7 +3501,7 @@ var DataSpace = class {
3499
3501
  await this._createWritableFeeds();
3500
3502
  (0, import_log8.log)("writable feeds created", void 0, {
3501
3503
  F: __dxlog_file12,
3502
- L: 291,
3504
+ L: 299,
3503
3505
  S: this,
3504
3506
  C: (f, a) => f(...a)
3505
3507
  });
@@ -3562,7 +3564,7 @@ var DataSpace = class {
3562
3564
  rootUrl
3563
3565
  }, {
3564
3566
  F: __dxlog_file12,
3565
- L: 357,
3567
+ L: 365,
3566
3568
  S: this,
3567
3569
  C: (f, a) => f(...a)
3568
3570
  });
@@ -3594,7 +3596,7 @@ var DataSpace = class {
3594
3596
  err
3595
3597
  }, {
3596
3598
  F: __dxlog_file12,
3597
- L: 380,
3599
+ L: 388,
3598
3600
  S: this,
3599
3601
  C: (f, a) => f(...a)
3600
3602
  });
@@ -3649,13 +3651,73 @@ var DataSpace = class {
3649
3651
  const newRoot = this._automergeHost.repo.create(rootHandle.docSync());
3650
3652
  (0, import_invariant10.invariant)(typeof newRoot.url === "string" && newRoot.url.length > 0, void 0, {
3651
3653
  F: __dxlog_file12,
3652
- L: 430,
3654
+ L: 438,
3655
+ S: this,
3656
+ A: [
3657
+ "typeof newRoot.url === 'string' && newRoot.url.length > 0",
3658
+ ""
3659
+ ]
3660
+ });
3661
+ epoch = {
3662
+ previousId: this._automergeSpaceState.lastEpoch?.id,
3663
+ number: (this._automergeSpaceState.lastEpoch?.subject.assertion.number ?? -1) + 1,
3664
+ timeframe: this._automergeSpaceState.lastEpoch?.subject.assertion.timeframe ?? new import_timeframe2.Timeframe(),
3665
+ automergeRoot: newRoot.url
3666
+ };
3667
+ }
3668
+ break;
3669
+ case import_services9.CreateEpochRequest.Migration.FRAGMENT_AUTOMERGE_ROOT:
3670
+ {
3671
+ import_log8.log.info("Fragmenting", void 0, {
3672
+ F: __dxlog_file12,
3673
+ L: 450,
3674
+ S: this,
3675
+ C: (f, a) => f(...a)
3676
+ });
3677
+ const currentRootUrl = this._automergeSpaceState.rootUrl;
3678
+ const rootHandle = this._automergeHost.repo.find(currentRootUrl);
3679
+ await (0, import_context7.cancelWithContext)(this._ctx, (0, import_async10.asyncTimeout)(rootHandle.whenReady(), 1e4));
3680
+ const objects = Object.entries(rootHandle.docSync().objects);
3681
+ const properties = objects.find(([_, value]) => value.system.type?.itemId === import_echo_db.TYPE_PROPERTIES);
3682
+ const otherObjects = objects.filter(([key]) => key !== properties?.[0]);
3683
+ (0, import_invariant10.invariant)(properties, "Properties not found", {
3684
+ F: __dxlog_file12,
3685
+ L: 460,
3686
+ S: this,
3687
+ A: [
3688
+ "properties",
3689
+ "'Properties not found'"
3690
+ ]
3691
+ });
3692
+ const newSpaceDoc = {
3693
+ ...rootHandle.docSync(),
3694
+ objects: Object.fromEntries([
3695
+ properties
3696
+ ])
3697
+ };
3698
+ const newRoot = this._automergeHost.repo.create(newSpaceDoc);
3699
+ (0, import_invariant10.invariant)(typeof newRoot.url === "string" && newRoot.url.length > 0, void 0, {
3700
+ F: __dxlog_file12,
3701
+ L: 465,
3653
3702
  S: this,
3654
3703
  A: [
3655
3704
  "typeof newRoot.url === 'string' && newRoot.url.length > 0",
3656
3705
  ""
3657
3706
  ]
3658
3707
  });
3708
+ const docLoader = new import_echo_pipeline2.AutomergeDocumentLoaderImpl(this.key, this._automergeHost.repo);
3709
+ await docLoader.loadSpaceRootDocHandle(this._ctx, {
3710
+ rootUrl: newRoot.url
3711
+ });
3712
+ otherObjects.forEach(([key, value]) => {
3713
+ const handle = docLoader.createDocumentForObject(key);
3714
+ handle.change((doc) => {
3715
+ (0, import_util4.assignDeep)(doc, [
3716
+ "objects",
3717
+ key
3718
+ ], value);
3719
+ });
3720
+ });
3659
3721
  epoch = {
3660
3722
  previousId: this._automergeSpaceState.lastEpoch?.id,
3661
3723
  number: (this._automergeSpaceState.lastEpoch?.subject.assertion.number ?? -1) + 1,
@@ -3705,7 +3767,7 @@ var DataSpace = class {
3705
3767
  state: import_services9.SpaceState[this._state]
3706
3768
  }, {
3707
3769
  F: __dxlog_file12,
3708
- L: 482,
3770
+ L: 531,
3709
3771
  S: this,
3710
3772
  C: (f, a) => f(...a)
3711
3773
  });
@@ -4463,8 +4525,8 @@ var ServiceContext = class {
4463
4525
  this.initialized = new import_async15.Trigger();
4464
4526
  this._handlerFactories = /* @__PURE__ */ new Map();
4465
4527
  this._instanceId = import_keys10.PublicKey.random().toHex();
4466
- this.metadataStore = new import_echo_pipeline2.MetadataStore(storage.createDirectory("metadata"));
4467
- this.snapshotStore = new import_echo_pipeline2.SnapshotStore(storage.createDirectory("snapshots"));
4528
+ this.metadataStore = new import_echo_pipeline3.MetadataStore(storage.createDirectory("metadata"));
4529
+ this.snapshotStore = new import_echo_pipeline3.SnapshotStore(storage.createDirectory("snapshots"));
4468
4530
  this.blobStore = new import_teleport_extension_object_sync.BlobStore(storage.createDirectory("blobs"));
4469
4531
  this.keyring = new import_keyring.Keyring(storage.createDirectory("keyring"));
4470
4532
  this.feedStore = new import_feed_store4.FeedStore({
@@ -4472,12 +4534,12 @@ var ServiceContext = class {
4472
4534
  root: storage.createDirectory("feeds"),
4473
4535
  signer: this.keyring,
4474
4536
  hypercore: {
4475
- valueEncoding: import_echo_pipeline2.valueEncoding,
4537
+ valueEncoding: import_echo_pipeline3.valueEncoding,
4476
4538
  stats: true
4477
4539
  }
4478
4540
  })
4479
4541
  });
4480
- this.spaceManager = new import_echo_pipeline2.SpaceManager({
4542
+ this.spaceManager = new import_echo_pipeline3.SpaceManager({
4481
4543
  feedStore: this.feedStore,
4482
4544
  networkManager: this.networkManager,
4483
4545
  blobStore: this.blobStore,
@@ -4488,7 +4550,7 @@ var ServiceContext = class {
4488
4550
  this.indexMetadata = new import_indexing.IndexMetadataStore({
4489
4551
  directory: storage.createDirectory("index-metadata")
4490
4552
  });
4491
- this.automergeHost = new import_echo_pipeline2.AutomergeHost({
4553
+ this.automergeHost = new import_echo_pipeline3.AutomergeHost({
4492
4554
  directory: storage.createDirectory("automerge"),
4493
4555
  metadata: this.indexMetadata
4494
4556
  });
@@ -5226,13 +5288,21 @@ var ClientServicesHost = class {
5226
5288
  this._storage = createStorageObjects(config.get("runtime.client.storage", {})).storage;
5227
5289
  }
5228
5290
  }
5291
+ if (!options.signalManager) {
5292
+ import_log14.log.warn("running signaling without telemetry metadata.", void 0, {
5293
+ F: __dxlog_file18,
5294
+ L: 191,
5295
+ S: this,
5296
+ C: (f, a) => f(...a)
5297
+ });
5298
+ }
5229
5299
  const { connectionLog = true, transportFactory = (0, import_network_manager2.createSimplePeerTransportFactory)({
5230
5300
  iceServers: this._config?.get("runtime.services.ice")
5231
5301
  }), signalManager = new import_messaging.WebsocketSignalManager(this._config?.get("runtime.services.signaling") ?? []) } = options;
5232
5302
  this._signalManager = signalManager;
5233
5303
  (0, import_invariant16.invariant)(!this._networkManager, "network manager already set", {
5234
5304
  F: __dxlog_file18,
5235
- L: 199,
5305
+ L: 202,
5236
5306
  S: this,
5237
5307
  A: [
5238
5308
  "!this._networkManager",
@@ -5246,7 +5316,7 @@ var ClientServicesHost = class {
5246
5316
  });
5247
5317
  (0, import_log14.log)("initialized", void 0, {
5248
5318
  F: __dxlog_file18,
5249
- L: 206,
5319
+ L: 209,
5250
5320
  S: this,
5251
5321
  C: (f, a) => f(...a)
5252
5322
  });
@@ -5260,13 +5330,13 @@ var ClientServicesHost = class {
5260
5330
  id: traceId
5261
5331
  }), {
5262
5332
  F: __dxlog_file18,
5263
- L: 217,
5333
+ L: 220,
5264
5334
  S: this,
5265
5335
  C: (f, a) => f(...a)
5266
5336
  });
5267
5337
  (0, import_invariant16.invariant)(this._config, "config not set", {
5268
5338
  F: __dxlog_file18,
5269
- L: 219,
5339
+ L: 222,
5270
5340
  S: this,
5271
5341
  A: [
5272
5342
  "this._config",
@@ -5275,7 +5345,7 @@ var ClientServicesHost = class {
5275
5345
  });
5276
5346
  (0, import_invariant16.invariant)(this._storage, "storage not set", {
5277
5347
  F: __dxlog_file18,
5278
- L: 220,
5348
+ L: 223,
5279
5349
  S: this,
5280
5350
  A: [
5281
5351
  "this._storage",
@@ -5284,7 +5354,7 @@ var ClientServicesHost = class {
5284
5354
  });
5285
5355
  (0, import_invariant16.invariant)(this._signalManager, "signal manager not set", {
5286
5356
  F: __dxlog_file18,
5287
- L: 221,
5357
+ L: 224,
5288
5358
  S: this,
5289
5359
  A: [
5290
5360
  "this._signalManager",
@@ -5293,7 +5363,7 @@ var ClientServicesHost = class {
5293
5363
  });
5294
5364
  (0, import_invariant16.invariant)(this._networkManager, "network manager not set", {
5295
5365
  F: __dxlog_file18,
5296
- L: 222,
5366
+ L: 225,
5297
5367
  S: this,
5298
5368
  A: [
5299
5369
  "this._networkManager",
@@ -5305,7 +5375,7 @@ var ClientServicesHost = class {
5305
5375
  lockKey: this._resourceLock?.lockKey
5306
5376
  }, {
5307
5377
  F: __dxlog_file18,
5308
- L: 225,
5378
+ L: 228,
5309
5379
  S: this,
5310
5380
  C: (f, a) => f(...a)
5311
5381
  });
@@ -5321,7 +5391,7 @@ var ClientServicesHost = class {
5321
5391
  await this._serviceContext.initialized.wait();
5322
5392
  return this._serviceContext.dataSpaceManager;
5323
5393
  }),
5324
- DataService: new import_echo_pipeline3.DataServiceImpl(this._serviceContext.automergeHost),
5394
+ DataService: new import_echo_pipeline4.DataServiceImpl(this._serviceContext.automergeHost),
5325
5395
  IndexService: new import_indexing2.IndexServiceImpl({
5326
5396
  indexer: this._serviceContext.indexer,
5327
5397
  automergeHost: this._serviceContext.automergeHost
@@ -5339,7 +5409,7 @@ var ClientServicesHost = class {
5339
5409
  await this._serviceContext.open(ctx);
5340
5410
  (0, import_invariant16.invariant)(this.serviceRegistry.services.InvitationsService, void 0, {
5341
5411
  F: __dxlog_file18,
5342
- L: 286,
5412
+ L: 289,
5343
5413
  S: this,
5344
5414
  A: [
5345
5415
  "this.serviceRegistry.services.InvitationsService",
@@ -5351,7 +5421,7 @@ var ClientServicesHost = class {
5351
5421
  count: loadedInvitations.invitations?.length
5352
5422
  }, {
5353
5423
  F: __dxlog_file18,
5354
- L: 289,
5424
+ L: 292,
5355
5425
  S: this,
5356
5426
  C: (f, a) => f(...a)
5357
5427
  });
@@ -5373,7 +5443,7 @@ var ClientServicesHost = class {
5373
5443
  deviceKey
5374
5444
  }, {
5375
5445
  F: __dxlog_file18,
5376
- L: 306,
5446
+ L: 309,
5377
5447
  S: this,
5378
5448
  C: (f, a) => f(...a)
5379
5449
  });
@@ -5381,7 +5451,7 @@ var ClientServicesHost = class {
5381
5451
  id: traceId
5382
5452
  }), {
5383
5453
  F: __dxlog_file18,
5384
- L: 307,
5454
+ L: 310,
5385
5455
  S: this,
5386
5456
  C: (f, a) => f(...a)
5387
5457
  });
@@ -5395,7 +5465,7 @@ var ClientServicesHost = class {
5395
5465
  deviceKey
5396
5466
  }, {
5397
5467
  F: __dxlog_file18,
5398
- L: 318,
5468
+ L: 321,
5399
5469
  S: this,
5400
5470
  C: (f, a) => f(...a)
5401
5471
  });
@@ -5411,7 +5481,7 @@ var ClientServicesHost = class {
5411
5481
  deviceKey
5412
5482
  }, {
5413
5483
  F: __dxlog_file18,
5414
- L: 325,
5484
+ L: 328,
5415
5485
  S: this,
5416
5486
  C: (f, a) => f(...a)
5417
5487
  });
@@ -5422,13 +5492,13 @@ var ClientServicesHost = class {
5422
5492
  id: traceId
5423
5493
  }), {
5424
5494
  F: __dxlog_file18,
5425
- L: 330,
5495
+ L: 333,
5426
5496
  S: this,
5427
5497
  C: (f, a) => f(...a)
5428
5498
  });
5429
5499
  (0, import_log14.log)("resetting...", void 0, {
5430
5500
  F: __dxlog_file18,
5431
- L: 332,
5501
+ L: 335,
5432
5502
  S: this,
5433
5503
  C: (f, a) => f(...a)
5434
5504
  });
@@ -5436,7 +5506,7 @@ var ClientServicesHost = class {
5436
5506
  await this._storage.reset();
5437
5507
  (0, import_log14.log)("reset", void 0, {
5438
5508
  F: __dxlog_file18,
5439
- L: 335,
5509
+ L: 338,
5440
5510
  S: this,
5441
5511
  C: (f, a) => f(...a)
5442
5512
  });
@@ -5444,7 +5514,7 @@ var ClientServicesHost = class {
5444
5514
  id: traceId
5445
5515
  }), {
5446
5516
  F: __dxlog_file18,
5447
- L: 336,
5517
+ L: 339,
5448
5518
  S: this,
5449
5519
  C: (f, a) => f(...a)
5450
5520
  });
@@ -5459,7 +5529,7 @@ var ClientServicesHost = class {
5459
5529
  const automergeIndex = space.automergeSpaceState.rootUrl;
5460
5530
  (0, import_invariant16.invariant)(automergeIndex, void 0, {
5461
5531
  F: __dxlog_file18,
5462
- L: 351,
5532
+ L: 354,
5463
5533
  S: this,
5464
5534
  A: [
5465
5535
  "automergeIndex",
@@ -5528,4 +5598,4 @@ ClientServicesHost = _ts_decorate8([
5528
5598
  subscribeToSpaces,
5529
5599
  subscribeToSwarmInfo
5530
5600
  });
5531
- //# sourceMappingURL=chunk-CBSM4HU4.cjs.map
5601
+ //# sourceMappingURL=chunk-ZVSJIOW6.cjs.map