@dxos/client-services 0.1.52 → 0.1.53-main.3ecc504

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