@dxos/client-services 0.3.9-main.88fb1d9 → 0.3.9-main.8ad58eb

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.
@@ -2541,7 +2541,7 @@ var getPlatform = () => {
2541
2541
  };
2542
2542
 
2543
2543
  // packages/sdk/client-services/src/version.ts
2544
- var DXOS_VERSION = "0.3.9-main.88fb1d9";
2544
+ var DXOS_VERSION = "0.3.9-main.8ad58eb";
2545
2545
 
2546
2546
  // packages/sdk/client-services/src/packlets/services/diagnostics.ts
2547
2547
  var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/services/diagnostics.ts";
@@ -3701,11 +3701,12 @@ var DataSpaceManager = class DataSpaceManager2 {
3701
3701
  remotePeerId: session.remotePeerId
3702
3702
  }));
3703
3703
  session.addExtension("dxos.mesh.teleport.notarization", dataSpace.notarizationPlugin.createExtension());
3704
+ session.addExtension("dxos.mesh.teleport.automerge", this._automergeHost.createExtension());
3704
3705
  },
3705
3706
  onAuthFailure: () => {
3706
3707
  log11.warn("auth failure", void 0, {
3707
3708
  F: __dxlog_file13,
3708
- L: 233,
3709
+ L: 234,
3709
3710
  S: this,
3710
3711
  C: (f, a) => f(...a)
3711
3712
  });
@@ -3729,7 +3730,7 @@ var DataSpaceManager = class DataSpaceManager2 {
3729
3730
  space: space.key
3730
3731
  }, {
3731
3732
  F: __dxlog_file13,
3732
- L: 251,
3733
+ L: 252,
3733
3734
  S: this,
3734
3735
  C: (f, a) => f(...a)
3735
3736
  });
@@ -3741,7 +3742,7 @@ var DataSpaceManager = class DataSpaceManager2 {
3741
3742
  open: this._isOpen
3742
3743
  }, {
3743
3744
  F: __dxlog_file13,
3744
- L: 258,
3745
+ L: 259,
3745
3746
  S: this,
3746
3747
  C: (f, a) => f(...a)
3747
3748
  });
@@ -3754,7 +3755,7 @@ var DataSpaceManager = class DataSpaceManager2 {
3754
3755
  space: space.key
3755
3756
  }, {
3756
3757
  F: __dxlog_file13,
3757
- L: 264,
3758
+ L: 265,
3758
3759
  S: this,
3759
3760
  C: (f, a) => f(...a)
3760
3761
  });
@@ -4127,6 +4128,7 @@ var ServiceContext = class ServiceContext2 {
4127
4128
  if (this._deviceSpaceSync && this.identityManager.identity) {
4128
4129
  await this.identityManager.identity.space.spaceState.removeCredentialProcessor(this._deviceSpaceSync);
4129
4130
  }
4131
+ await this.automergeHost.close();
4130
4132
  await this.dataSpaceManager?.close();
4131
4133
  await this.identityManager.close();
4132
4134
  await this.spaceManager.close();
@@ -4137,7 +4139,7 @@ var ServiceContext = class ServiceContext2 {
4137
4139
  await this.metadataStore.close();
4138
4140
  log13("closed", void 0, {
4139
4141
  F: __dxlog_file15,
4140
- L: 161,
4142
+ L: 162,
4141
4143
  S: this,
4142
4144
  C: (f, a) => f(...a)
4143
4145
  });
@@ -4151,7 +4153,7 @@ var ServiceContext = class ServiceContext2 {
4151
4153
  const factory = this._handlerFactories.get(invitation.kind);
4152
4154
  invariant13(factory, `Unknown invitation kind: ${invitation.kind}`, {
4153
4155
  F: __dxlog_file15,
4154
- L: 172,
4156
+ L: 173,
4155
4157
  S: this,
4156
4158
  A: [
4157
4159
  "factory",
@@ -4183,7 +4185,7 @@ var ServiceContext = class ServiceContext2 {
4183
4185
  async _initialize(ctx) {
4184
4186
  log13("initializing spaces...", void 0, {
4185
4187
  F: __dxlog_file15,
4186
- L: 203,
4188
+ L: 204,
4187
4189
  S: this,
4188
4190
  C: (f, a) => f(...a)
4189
4191
  });
@@ -4206,7 +4208,7 @@ var ServiceContext = class ServiceContext2 {
4206
4208
  this._handlerFactories.set(Invitation6.Kind.SPACE, (invitation) => {
4207
4209
  invariant13(this.dataSpaceManager, "dataSpaceManager not initialized yet", {
4208
4210
  F: __dxlog_file15,
4209
- L: 227,
4211
+ L: 228,
4210
4212
  S: this,
4211
4213
  A: [
4212
4214
  "this.dataSpaceManager",
@@ -4230,7 +4232,7 @@ var ServiceContext = class ServiceContext2 {
4230
4232
  details: assertion
4231
4233
  }, {
4232
4234
  F: __dxlog_file15,
4233
- L: 243,
4235
+ L: 244,
4234
4236
  S: this,
4235
4237
  C: (f, a) => f(...a)
4236
4238
  });
@@ -4241,7 +4243,7 @@ var ServiceContext = class ServiceContext2 {
4241
4243
  details: assertion
4242
4244
  }, {
4243
4245
  F: __dxlog_file15,
4244
- L: 247,
4246
+ L: 248,
4245
4247
  S: this,
4246
4248
  C: (f, a) => f(...a)
4247
4249
  });
@@ -4252,7 +4254,7 @@ var ServiceContext = class ServiceContext2 {
4252
4254
  details: assertion
4253
4255
  }, {
4254
4256
  F: __dxlog_file15,
4255
- L: 252,
4257
+ L: 253,
4256
4258
  S: this,
4257
4259
  C: (f, a) => f(...a)
4258
4260
  });
@@ -4263,7 +4265,7 @@ var ServiceContext = class ServiceContext2 {
4263
4265
  } catch (err) {
4264
4266
  log13.catch(err, void 0, {
4265
4267
  F: __dxlog_file15,
4266
- L: 258,
4268
+ L: 259,
4267
4269
  S: this,
4268
4270
  C: (f, a) => f(...a)
4269
4271
  });
@@ -5164,4 +5166,4 @@ export {
5164
5166
  createDefaultModelFactory,
5165
5167
  ClientServicesHost
5166
5168
  };
5167
- //# sourceMappingURL=chunk-HESDDIRV.mjs.map
5169
+ //# sourceMappingURL=chunk-MDQ4DZ2Y.mjs.map