@dxos/client-services 0.5.8-main.e343621 → 0.5.8-main.f69e6e4

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.
@@ -3309,7 +3309,7 @@ import { Event as Event6, asyncTimeout, scheduleTask as scheduleTask5, sleep as
3309
3309
  import { AUTH_TIMEOUT as AUTH_TIMEOUT2 } from "@dxos/client-protocol";
3310
3310
  import { Context as Context8, ContextDisposedError as ContextDisposedError3, cancelWithContext as cancelWithContext4 } from "@dxos/context";
3311
3311
  import { timed, warnAfterTimeout } from "@dxos/debug";
3312
- import { AutomergeDocumentLoaderImpl, createMappedFeedWriter } from "@dxos/echo-pipeline";
3312
+ import { AutomergeDocumentLoaderImpl, createIdFromSpaceKey, createMappedFeedWriter } from "@dxos/echo-pipeline";
3313
3313
  import { TYPE_PROPERTIES } from "@dxos/echo-schema";
3314
3314
  import { failedInvariant, invariant as invariant12 } from "@dxos/invariant";
3315
3315
  import { PublicKey as PublicKey10 } from "@dxos/keys";
@@ -3674,7 +3674,7 @@ var DataSpace = class {
3674
3674
  state: SpaceState[this._state]
3675
3675
  }, {
3676
3676
  F: __dxlog_file13,
3677
- L: 141,
3677
+ L: 142,
3678
3678
  S: this,
3679
3679
  C: (f, a) => f(...a)
3680
3680
  });
@@ -3727,7 +3727,7 @@ var DataSpace = class {
3727
3727
  state: SpaceState[this._state]
3728
3728
  }, {
3729
3729
  F: __dxlog_file13,
3730
- L: 204,
3730
+ L: 205,
3731
3731
  S: this,
3732
3732
  C: (f, a) => f(...a)
3733
3733
  });
@@ -3745,7 +3745,7 @@ var DataSpace = class {
3745
3745
  state: SpaceState[this._state]
3746
3746
  }, {
3747
3747
  F: __dxlog_file13,
3748
- L: 218,
3748
+ L: 219,
3749
3749
  S: this,
3750
3750
  C: (f, a) => f(...a)
3751
3751
  });
@@ -3777,7 +3777,7 @@ var DataSpace = class {
3777
3777
  if (err instanceof CancelledError || err instanceof ContextDisposedError3) {
3778
3778
  log11("data pipeline initialization cancelled", err, {
3779
3779
  F: __dxlog_file13,
3780
- L: 251,
3780
+ L: 252,
3781
3781
  S: this,
3782
3782
  C: (f, a) => f(...a)
3783
3783
  });
@@ -3785,7 +3785,7 @@ var DataSpace = class {
3785
3785
  }
3786
3786
  log11.error("Error initializing data pipeline", err, {
3787
3787
  F: __dxlog_file13,
3788
- L: 255,
3788
+ L: 256,
3789
3789
  S: this,
3790
3790
  C: (f, a) => f(...a)
3791
3791
  });
@@ -3794,7 +3794,7 @@ var DataSpace = class {
3794
3794
  state: SpaceState[this._state]
3795
3795
  }, {
3796
3796
  F: __dxlog_file13,
3797
- L: 257,
3797
+ L: 258,
3798
3798
  S: this,
3799
3799
  C: (f, a) => f(...a)
3800
3800
  });
@@ -3814,7 +3814,7 @@ var DataSpace = class {
3814
3814
  state: SpaceState[this._state]
3815
3815
  }, {
3816
3816
  F: __dxlog_file13,
3817
- L: 273,
3817
+ L: 274,
3818
3818
  S: this,
3819
3819
  C: (f, a) => f(...a)
3820
3820
  });
@@ -3824,7 +3824,7 @@ var DataSpace = class {
3824
3824
  await cancelWithContext4(this._ctx, this.automergeSpaceState.ensureEpochInitialized());
3825
3825
  log11("data pipeline ready", void 0, {
3826
3826
  F: __dxlog_file13,
3827
- L: 285,
3827
+ L: 286,
3828
3828
  S: this,
3829
3829
  C: (f, a) => f(...a)
3830
3830
  });
@@ -3834,7 +3834,7 @@ var DataSpace = class {
3834
3834
  state: SpaceState[this._state]
3835
3835
  }, {
3836
3836
  F: __dxlog_file13,
3837
- L: 289,
3837
+ L: 290,
3838
3838
  S: this,
3839
3839
  C: (f, a) => f(...a)
3840
3840
  });
@@ -3850,7 +3850,7 @@ var DataSpace = class {
3850
3850
  await this._createWritableFeeds();
3851
3851
  log11("writable feeds created", void 0, {
3852
3852
  F: __dxlog_file13,
3853
- L: 305,
3853
+ L: 306,
3854
3854
  S: this,
3855
3855
  C: (f, a) => f(...a)
3856
3856
  });
@@ -3913,7 +3913,7 @@ var DataSpace = class {
3913
3913
  rootUrl
3914
3914
  }, {
3915
3915
  F: __dxlog_file13,
3916
- L: 371,
3916
+ L: 372,
3917
3917
  S: this,
3918
3918
  C: (f, a) => f(...a)
3919
3919
  });
@@ -3943,7 +3943,7 @@ var DataSpace = class {
3943
3943
  rootUrl
3944
3944
  }, {
3945
3945
  F: __dxlog_file13,
3946
- L: 398,
3946
+ L: 399,
3947
3947
  S: this,
3948
3948
  C: (f, a) => f(...a)
3949
3949
  });
@@ -3958,7 +3958,7 @@ var DataSpace = class {
3958
3958
  err
3959
3959
  }, {
3960
3960
  F: __dxlog_file13,
3961
- L: 404,
3961
+ L: 405,
3962
3962
  S: this,
3963
3963
  C: (f, a) => f(...a)
3964
3964
  });
@@ -4013,7 +4013,7 @@ var DataSpace = class {
4013
4013
  const newRoot = this._echoHost.automergeRepo.create(rootHandle.docSync());
4014
4014
  invariant12(typeof newRoot.url === "string" && newRoot.url.length > 0, void 0, {
4015
4015
  F: __dxlog_file13,
4016
- L: 454,
4016
+ L: 455,
4017
4017
  S: this,
4018
4018
  A: [
4019
4019
  "typeof newRoot.url === 'string' && newRoot.url.length > 0",
@@ -4032,7 +4032,7 @@ var DataSpace = class {
4032
4032
  {
4033
4033
  log11.info("Fragmenting", void 0, {
4034
4034
  F: __dxlog_file13,
4035
- L: 466,
4035
+ L: 467,
4036
4036
  S: this,
4037
4037
  C: (f, a) => f(...a)
4038
4038
  });
@@ -4044,7 +4044,7 @@ var DataSpace = class {
4044
4044
  const otherObjects = objects.filter(([key]) => key !== properties?.[0]);
4045
4045
  invariant12(properties, "Properties not found", {
4046
4046
  F: __dxlog_file13,
4047
- L: 476,
4047
+ L: 477,
4048
4048
  S: this,
4049
4049
  A: [
4050
4050
  "properties",
@@ -4060,14 +4060,14 @@ var DataSpace = class {
4060
4060
  const newRoot = this._echoHost.automergeRepo.create(newSpaceDoc);
4061
4061
  invariant12(typeof newRoot.url === "string" && newRoot.url.length > 0, void 0, {
4062
4062
  F: __dxlog_file13,
4063
- L: 481,
4063
+ L: 482,
4064
4064
  S: this,
4065
4065
  A: [
4066
4066
  "typeof newRoot.url === 'string' && newRoot.url.length > 0",
4067
4067
  ""
4068
4068
  ]
4069
4069
  });
4070
- const docLoader = new AutomergeDocumentLoaderImpl(this.key, this._echoHost.automergeRepo);
4070
+ const docLoader = new AutomergeDocumentLoaderImpl(await createIdFromSpaceKey(this.key), this._echoHost.automergeRepo, this.key);
4071
4071
  await docLoader.loadSpaceRootDocHandle(this._ctx, {
4072
4072
  rootUrl: newRoot.url
4073
4073
  });
@@ -4129,7 +4129,7 @@ var DataSpace = class {
4129
4129
  state: SpaceState[this._state]
4130
4130
  }, {
4131
4131
  F: __dxlog_file13,
4132
- L: 547,
4132
+ L: 552,
4133
4133
  S: this,
4134
4134
  C: (f, a) => f(...a)
4135
4135
  });
@@ -5333,7 +5333,7 @@ import { SpaceMember as SpaceMember7 } from "@dxos/protocols/proto/dxos/client/s
5333
5333
  import { TRACE_PROCESSOR } from "@dxos/tracing";
5334
5334
 
5335
5335
  // packages/sdk/client-services/src/version.ts
5336
- var DXOS_VERSION = "0.5.8-main.e343621";
5336
+ var DXOS_VERSION = "0.5.8-main.f69e6e4";
5337
5337
 
5338
5338
  // packages/sdk/client-services/src/packlets/services/platform.ts
5339
5339
  import { Platform } from "@dxos/protocols/proto/dxos/client/services";
@@ -6580,4 +6580,4 @@ export {
6580
6580
  ClientServicesHost,
6581
6581
  ClientServicesProviderResource
6582
6582
  };
6583
- //# sourceMappingURL=chunk-NS2LCDCC.mjs.map
6583
+ //# sourceMappingURL=chunk-BHK4D7JV.mjs.map