@dxos/client-services 0.5.1-main.c37e119 → 0.5.1-main.ef0d69d

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_ND5EXSJK_exports = {};
30
- __export(chunk_ND5EXSJK_exports, {
29
+ var chunk_4WE4TH57_exports = {};
30
+ __export(chunk_4WE4TH57_exports, {
31
31
  ClientRpcServer: () => ClientRpcServer,
32
32
  ClientServicesHost: () => ClientServicesHost,
33
33
  ClientServicesProviderResource: () => ClientServicesProviderResource,
@@ -66,7 +66,7 @@ __export(chunk_ND5EXSJK_exports, {
66
66
  subscribeToSpaces: () => subscribeToSpaces,
67
67
  subscribeToSwarmInfo: () => subscribeToSwarmInfo
68
68
  });
69
- module.exports = __toCommonJS(chunk_ND5EXSJK_exports);
69
+ module.exports = __toCommonJS(chunk_4WE4TH57_exports);
70
70
  var import_async = require("@dxos/async");
71
71
  var import_codec_protobuf = require("@dxos/codec-protobuf");
72
72
  var import_feed_store = require("@dxos/feed-store");
@@ -4820,7 +4820,7 @@ var ServiceRegistry = class {
4820
4820
  delete this._handlers[name];
4821
4821
  }
4822
4822
  };
4823
- var DXOS_VERSION = "0.5.1-main.c37e119";
4823
+ var DXOS_VERSION = "0.5.1-main.ef0d69d";
4824
4824
  var getPlatform = () => {
4825
4825
  if (process.browser) {
4826
4826
  if (typeof window !== "undefined") {
@@ -5572,11 +5572,11 @@ var ClientServicesHost = class {
5572
5572
  S: this,
5573
5573
  C: (f, a) => f(...a)
5574
5574
  });
5575
+ await this._resourceLock?.acquire();
5575
5576
  if (!this._level) {
5576
5577
  this._level = await createLevel(this._config.get("runtime.client.storage", {}));
5577
5578
  }
5578
5579
  await this._level.open();
5579
- await this._resourceLock?.acquire();
5580
5580
  await this._loggingService.open();
5581
5581
  this._serviceContext = new ServiceContext(this._storage, this._level, this._networkManager, this._signalManager, this._runtimeParams);
5582
5582
  this._serviceRegistry.setServices({
@@ -5826,4 +5826,4 @@ var findConfigs = () => {
5826
5826
  subscribeToSpaces,
5827
5827
  subscribeToSwarmInfo
5828
5828
  });
5829
- //# sourceMappingURL=chunk-ND5EXSJK.cjs.map
5829
+ //# sourceMappingURL=chunk-4WE4TH57.cjs.map