@dxos/client-services 0.5.1-main.16a1d7d → 0.5.1-main.286bbb6
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.
- package/dist/lib/browser/{chunk-XEGUH2J7.mjs → chunk-UICVISI6.mjs} +3 -3
- package/dist/lib/browser/{chunk-XEGUH2J7.mjs.map → chunk-UICVISI6.mjs.map} +2 -2
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/packlets/testing/index.mjs +1 -1
- package/dist/lib/node/{chunk-6YZIP6PI.cjs → chunk-LYYUVHE7.cjs} +6 -6
- package/dist/lib/node/{chunk-6YZIP6PI.cjs.map → chunk-LYYUVHE7.cjs.map} +2 -2
- package/dist/lib/node/index.cjs +43 -43
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +8 -8
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +34 -34
- package/src/packlets/services/service-host.ts +2 -2
- package/src/version.ts +1 -1
|
@@ -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
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_LYYUVHE7_exports = {};
|
|
30
|
+
__export(chunk_LYYUVHE7_exports, {
|
|
31
31
|
ClientRpcServer: () => ClientRpcServer,
|
|
32
32
|
ClientServicesHost: () => ClientServicesHost,
|
|
33
33
|
ClientServicesProviderResource: () => ClientServicesProviderResource,
|
|
@@ -66,7 +66,7 @@ __export(chunk_6YZIP6PI_exports, {
|
|
|
66
66
|
subscribeToSpaces: () => subscribeToSpaces,
|
|
67
67
|
subscribeToSwarmInfo: () => subscribeToSwarmInfo
|
|
68
68
|
});
|
|
69
|
-
module.exports = __toCommonJS(
|
|
69
|
+
module.exports = __toCommonJS(chunk_LYYUVHE7_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.
|
|
4823
|
+
var DXOS_VERSION = "0.5.1-main.286bbb6";
|
|
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-
|
|
5829
|
+
//# sourceMappingURL=chunk-LYYUVHE7.cjs.map
|