@dxos/client-services 0.3.9-main.632a97f → 0.3.9-main.71124bf

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.
@@ -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_Z7UERGZL_exports = {};
30
- __export(chunk_Z7UERGZL_exports, {
29
+ var chunk_MDF3AHHJ_exports = {};
30
+ __export(chunk_MDF3AHHJ_exports, {
31
31
  ClientRpcServer: () => ClientRpcServer,
32
32
  ClientServicesHost: () => ClientServicesHost,
33
33
  DataSpace: () => DataSpace,
@@ -60,7 +60,7 @@ __export(chunk_Z7UERGZL_exports, {
60
60
  subscribeToSpaces: () => subscribeToSpaces,
61
61
  subscribeToSwarmInfo: () => subscribeToSwarmInfo
62
62
  });
63
- module.exports = __toCommonJS(chunk_Z7UERGZL_exports);
63
+ module.exports = __toCommonJS(chunk_MDF3AHHJ_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");
@@ -2649,7 +2649,7 @@ var getPlatform = () => {
2649
2649
  };
2650
2650
  }
2651
2651
  };
2652
- var DXOS_VERSION = "0.3.9-main.632a97f";
2652
+ var DXOS_VERSION = "0.3.9-main.71124bf";
2653
2653
  var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/services/diagnostics.ts";
2654
2654
  var DEFAULT_TIMEOUT = 1e3;
2655
2655
  var createDiagnostics = async (clientServices, serviceContext, config) => {
@@ -3753,11 +3753,12 @@ var DataSpaceManager = class DataSpaceManager2 {
3753
3753
  remotePeerId: session.remotePeerId
3754
3754
  }));
3755
3755
  session.addExtension("dxos.mesh.teleport.notarization", dataSpace.notarizationPlugin.createExtension());
3756
+ session.addExtension("dxos.mesh.teleport.automerge", this._automergeHost.createExtension());
3756
3757
  },
3757
3758
  onAuthFailure: () => {
3758
3759
  import_log11.log.warn("auth failure", void 0, {
3759
3760
  F: __dxlog_file13,
3760
- L: 233,
3761
+ L: 234,
3761
3762
  S: this,
3762
3763
  C: (f, a) => f(...a)
3763
3764
  });
@@ -3781,7 +3782,7 @@ var DataSpaceManager = class DataSpaceManager2 {
3781
3782
  space: space.key
3782
3783
  }, {
3783
3784
  F: __dxlog_file13,
3784
- L: 251,
3785
+ L: 252,
3785
3786
  S: this,
3786
3787
  C: (f, a) => f(...a)
3787
3788
  });
@@ -3793,7 +3794,7 @@ var DataSpaceManager = class DataSpaceManager2 {
3793
3794
  open: this._isOpen
3794
3795
  }, {
3795
3796
  F: __dxlog_file13,
3796
- L: 258,
3797
+ L: 259,
3797
3798
  S: this,
3798
3799
  C: (f, a) => f(...a)
3799
3800
  });
@@ -3806,7 +3807,7 @@ var DataSpaceManager = class DataSpaceManager2 {
3806
3807
  space: space.key
3807
3808
  }, {
3808
3809
  F: __dxlog_file13,
3809
- L: 264,
3810
+ L: 265,
3810
3811
  S: this,
3811
3812
  C: (f, a) => f(...a)
3812
3813
  });
@@ -4153,6 +4154,7 @@ var ServiceContext = class ServiceContext2 {
4153
4154
  if (this._deviceSpaceSync && this.identityManager.identity) {
4154
4155
  await this.identityManager.identity.space.spaceState.removeCredentialProcessor(this._deviceSpaceSync);
4155
4156
  }
4157
+ await this.automergeHost.close();
4156
4158
  await this.dataSpaceManager?.close();
4157
4159
  await this.identityManager.close();
4158
4160
  await this.spaceManager.close();
@@ -4163,7 +4165,7 @@ var ServiceContext = class ServiceContext2 {
4163
4165
  await this.metadataStore.close();
4164
4166
  (0, import_log13.log)("closed", void 0, {
4165
4167
  F: __dxlog_file15,
4166
- L: 161,
4168
+ L: 162,
4167
4169
  S: this,
4168
4170
  C: (f, a) => f(...a)
4169
4171
  });
@@ -4177,7 +4179,7 @@ var ServiceContext = class ServiceContext2 {
4177
4179
  const factory = this._handlerFactories.get(invitation.kind);
4178
4180
  (0, import_invariant13.invariant)(factory, `Unknown invitation kind: ${invitation.kind}`, {
4179
4181
  F: __dxlog_file15,
4180
- L: 172,
4182
+ L: 173,
4181
4183
  S: this,
4182
4184
  A: [
4183
4185
  "factory",
@@ -4209,7 +4211,7 @@ var ServiceContext = class ServiceContext2 {
4209
4211
  async _initialize(ctx) {
4210
4212
  (0, import_log13.log)("initializing spaces...", void 0, {
4211
4213
  F: __dxlog_file15,
4212
- L: 203,
4214
+ L: 204,
4213
4215
  S: this,
4214
4216
  C: (f, a) => f(...a)
4215
4217
  });
@@ -4232,7 +4234,7 @@ var ServiceContext = class ServiceContext2 {
4232
4234
  this._handlerFactories.set(import_services10.Invitation.Kind.SPACE, (invitation) => {
4233
4235
  (0, import_invariant13.invariant)(this.dataSpaceManager, "dataSpaceManager not initialized yet", {
4234
4236
  F: __dxlog_file15,
4235
- L: 227,
4237
+ L: 228,
4236
4238
  S: this,
4237
4239
  A: [
4238
4240
  "this.dataSpaceManager",
@@ -4256,7 +4258,7 @@ var ServiceContext = class ServiceContext2 {
4256
4258
  details: assertion
4257
4259
  }, {
4258
4260
  F: __dxlog_file15,
4259
- L: 243,
4261
+ L: 244,
4260
4262
  S: this,
4261
4263
  C: (f, a) => f(...a)
4262
4264
  });
@@ -4267,7 +4269,7 @@ var ServiceContext = class ServiceContext2 {
4267
4269
  details: assertion
4268
4270
  }, {
4269
4271
  F: __dxlog_file15,
4270
- L: 247,
4272
+ L: 248,
4271
4273
  S: this,
4272
4274
  C: (f, a) => f(...a)
4273
4275
  });
@@ -4278,7 +4280,7 @@ var ServiceContext = class ServiceContext2 {
4278
4280
  details: assertion
4279
4281
  }, {
4280
4282
  F: __dxlog_file15,
4281
- L: 252,
4283
+ L: 253,
4282
4284
  S: this,
4283
4285
  C: (f, a) => f(...a)
4284
4286
  });
@@ -4289,7 +4291,7 @@ var ServiceContext = class ServiceContext2 {
4289
4291
  } catch (err) {
4290
4292
  import_log13.log.catch(err, void 0, {
4291
4293
  F: __dxlog_file15,
4292
- L: 258,
4294
+ L: 259,
4293
4295
  S: this,
4294
4296
  C: (f, a) => f(...a)
4295
4297
  });
@@ -5069,4 +5071,4 @@ ClientServicesHost = _ts_decorate8([
5069
5071
  subscribeToSpaces,
5070
5072
  subscribeToSwarmInfo
5071
5073
  });
5072
- //# sourceMappingURL=chunk-Z7UERGZL.cjs.map
5074
+ //# sourceMappingURL=chunk-MDF3AHHJ.cjs.map