@dxos/client-services 0.4.6-main.e47f68d → 0.4.6-next.c12c15b

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.
@@ -2646,7 +2646,7 @@ var getPlatform = () => {
2646
2646
  };
2647
2647
 
2648
2648
  // packages/sdk/client-services/src/version.ts
2649
- var DXOS_VERSION = "0.4.6-main.e47f68d";
2649
+ var DXOS_VERSION = "0.4.6-next.c12c15b";
2650
2650
 
2651
2651
  // packages/sdk/client-services/src/packlets/services/diagnostics.ts
2652
2652
  var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/services/diagnostics.ts";
@@ -3405,9 +3405,11 @@ var DataSpace = class {
3405
3405
  return;
3406
3406
  }
3407
3407
  const doc = handle.docSync() ?? failedInvariant();
3408
- if (!doc.experimental_spaceKey) {
3408
+ if (!doc.access?.spaceKey) {
3409
3409
  handle.change((doc2) => {
3410
- doc2.experimental_spaceKey = this.key.toHex();
3410
+ doc2.access = {
3411
+ spaceKey: this.key.toHex()
3412
+ };
3411
3413
  });
3412
3414
  }
3413
3415
  } catch (err) {
@@ -3786,7 +3788,9 @@ var DataSpaceManager = class {
3786
3788
  });
3787
3789
  const automergeRoot = this._automergeHost.repo.create();
3788
3790
  automergeRoot.change((doc) => {
3789
- doc.experimental_spaceKey = spaceKey.toHex();
3791
+ doc.access = {
3792
+ spaceKey: spaceKey.toHex()
3793
+ };
3790
3794
  });
3791
3795
  const space = await this._constructSpace(metadata);
3792
3796
  const credentials = await spaceGenesis(this._keyring, this._signingContext, space.inner, automergeRoot.url);
@@ -5358,4 +5362,4 @@ export {
5358
5362
  createDefaultModelFactory,
5359
5363
  ClientServicesHost
5360
5364
  };
5361
- //# sourceMappingURL=chunk-TRPZBWLR.mjs.map
5365
+ //# sourceMappingURL=chunk-X2IQPWEB.mjs.map