@dxos/client-services 0.1.53-main.6ef81f0 → 0.1.53-main.706990e

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.
@@ -248,8 +248,10 @@ var DevtoolsServiceImpl = class {
248
248
  });
249
249
  });
250
250
  }
251
- getConfig(request) {
252
- throw new Error();
251
+ async getConfig(request) {
252
+ return {
253
+ config: JSON.stringify(this.params.config.values)
254
+ };
253
255
  }
254
256
  async getStorageInfo() {
255
257
  var _a, _b, _c, _d, _e;
@@ -3523,7 +3525,7 @@ var ServiceRegistry = class {
3523
3525
 
3524
3526
  // packages/sdk/client-services/src/packlets/services/service-host.ts
3525
3527
  import assert12 from "@dxos/node-std/assert";
3526
- import { Event as Event8 } from "@dxos/async";
3528
+ import { Event as Event8, synchronized as synchronized2 } from "@dxos/async";
3527
3529
  import { clientServiceBundle, createDefaultModelFactory } from "@dxos/client-protocol";
3528
3530
  import { DataServiceImpl } from "@dxos/echo-pipeline";
3529
3531
  import { PublicKey as PublicKey10 } from "@dxos/keys";
@@ -3727,6 +3729,16 @@ var SystemServiceImpl = class {
3727
3729
  };
3728
3730
 
3729
3731
  // packages/sdk/client-services/src/packlets/services/service-host.ts
3732
+ var __decorate4 = function(decorators, target, key, desc) {
3733
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3734
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
3735
+ r = Reflect.decorate(decorators, target, key, desc);
3736
+ else
3737
+ for (var i = decorators.length - 1; i >= 0; i--)
3738
+ if (d = decorators[i])
3739
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
3740
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
3741
+ };
3730
3742
  var ClientServicesHost = class {
3731
3743
  constructor({
3732
3744
  config,
@@ -3831,7 +3843,7 @@ var ClientServicesHost = class {
3831
3843
  id: traceId
3832
3844
  }), {
3833
3845
  file: "service-host.ts",
3834
- line: 187,
3846
+ line: 188,
3835
3847
  scope: this,
3836
3848
  callSite: (f, a) => f(...a)
3837
3849
  });
@@ -3844,7 +3856,7 @@ var ClientServicesHost = class {
3844
3856
  lockKey: (_a = this._resourceLock) == null ? void 0 : _a.lockKey
3845
3857
  }, {
3846
3858
  file: "service-host.ts",
3847
- line: 195,
3859
+ line: 196,
3848
3860
  scope: this,
3849
3861
  callSite: (f, a) => f(...a)
3850
3862
  });
@@ -3879,7 +3891,7 @@ var ClientServicesHost = class {
3879
3891
  deviceKey
3880
3892
  }, {
3881
3893
  file: "service-host.ts",
3882
- line: 250,
3894
+ line: 251,
3883
3895
  scope: this,
3884
3896
  callSite: (f, a) => f(...a)
3885
3897
  });
@@ -3887,7 +3899,7 @@ var ClientServicesHost = class {
3887
3899
  id: traceId
3888
3900
  }), {
3889
3901
  file: "service-host.ts",
3890
- line: 251,
3902
+ line: 252,
3891
3903
  scope: this,
3892
3904
  callSite: (f, a) => f(...a)
3893
3905
  });
@@ -3902,7 +3914,7 @@ var ClientServicesHost = class {
3902
3914
  deviceKey
3903
3915
  }, {
3904
3916
  file: "service-host.ts",
3905
- line: 260,
3917
+ line: 262,
3906
3918
  scope: this,
3907
3919
  callSite: (f, a) => f(...a)
3908
3920
  });
@@ -3917,7 +3929,7 @@ var ClientServicesHost = class {
3917
3929
  deviceKey
3918
3930
  }, {
3919
3931
  file: "service-host.ts",
3920
- line: 266,
3932
+ line: 268,
3921
3933
  scope: this,
3922
3934
  callSite: (f, a) => f(...a)
3923
3935
  });
@@ -3929,13 +3941,13 @@ var ClientServicesHost = class {
3929
3941
  id: traceId
3930
3942
  }), {
3931
3943
  file: "service-host.ts",
3932
- line: 271,
3944
+ line: 273,
3933
3945
  scope: this,
3934
3946
  callSite: (f, a) => f(...a)
3935
3947
  });
3936
3948
  log15("resetting...", {}, {
3937
3949
  file: "service-host.ts",
3938
- line: 273,
3950
+ line: 275,
3939
3951
  scope: this,
3940
3952
  callSite: (f, a) => f(...a)
3941
3953
  });
@@ -3943,7 +3955,7 @@ var ClientServicesHost = class {
3943
3955
  await this._storage.reset();
3944
3956
  log15("reset", {}, {
3945
3957
  file: "service-host.ts",
3946
- line: 276,
3958
+ line: 278,
3947
3959
  scope: this,
3948
3960
  callSite: (f, a) => f(...a)
3949
3961
  });
@@ -3951,12 +3963,18 @@ var ClientServicesHost = class {
3951
3963
  id: traceId
3952
3964
  }), {
3953
3965
  file: "service-host.ts",
3954
- line: 277,
3966
+ line: 279,
3955
3967
  scope: this,
3956
3968
  callSite: (f, a) => f(...a)
3957
3969
  });
3958
3970
  }
3959
3971
  };
3972
+ __decorate4([
3973
+ synchronized2
3974
+ ], ClientServicesHost.prototype, "open", null);
3975
+ __decorate4([
3976
+ synchronized2
3977
+ ], ClientServicesHost.prototype, "close", null);
3960
3978
 
3961
3979
  export {
3962
3980
  subscribeToFeeds,
@@ -3988,4 +4006,4 @@ export {
3988
4006
  ServiceRegistry,
3989
4007
  ClientServicesHost
3990
4008
  };
3991
- //# sourceMappingURL=chunk-C3SPTMW3.mjs.map
4009
+ //# sourceMappingURL=chunk-CPSUVMSC.mjs.map