@dxos/client-services 0.3.9-main.9c71aa7 → 0.3.9-main.9ca5eac
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-MA6UXJ2R.mjs → chunk-LCB7XGW5.mjs} +11 -10
- package/dist/lib/browser/chunk-LCB7XGW5.mjs.map +7 -0
- 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-GK2GPVLX.cjs → chunk-LRVO6OA5.cjs} +14 -13
- package/dist/lib/node/{chunk-GK2GPVLX.cjs.map → chunk-LRVO6OA5.cjs.map} +2 -2
- package/dist/lib/node/index.cjs +37 -37
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +8 -8
- package/dist/types/src/packlets/services/service-context.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +35 -35
- package/src/packlets/services/automerge-host.test.ts +3 -1
- package/src/packlets/services/service-context.ts +1 -0
- package/src/version.ts +1 -1
- package/dist/lib/browser/chunk-MA6UXJ2R.mjs.map +0 -7
|
@@ -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_LRVO6OA5_exports = {};
|
|
30
|
+
__export(chunk_LRVO6OA5_exports, {
|
|
31
31
|
ClientRpcServer: () => ClientRpcServer,
|
|
32
32
|
ClientServicesHost: () => ClientServicesHost,
|
|
33
33
|
DataSpace: () => DataSpace,
|
|
@@ -60,7 +60,7 @@ __export(chunk_GK2GPVLX_exports, {
|
|
|
60
60
|
subscribeToSpaces: () => subscribeToSpaces,
|
|
61
61
|
subscribeToSwarmInfo: () => subscribeToSwarmInfo
|
|
62
62
|
});
|
|
63
|
-
module.exports = __toCommonJS(
|
|
63
|
+
module.exports = __toCommonJS(chunk_LRVO6OA5_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.
|
|
2652
|
+
var DXOS_VERSION = "0.3.9-main.9ca5eac";
|
|
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) => {
|
|
@@ -4153,6 +4153,7 @@ var ServiceContext = class ServiceContext2 {
|
|
|
4153
4153
|
if (this._deviceSpaceSync && this.identityManager.identity) {
|
|
4154
4154
|
await this.identityManager.identity.space.spaceState.removeCredentialProcessor(this._deviceSpaceSync);
|
|
4155
4155
|
}
|
|
4156
|
+
await this.automergeHost.close();
|
|
4156
4157
|
await this.dataSpaceManager?.close();
|
|
4157
4158
|
await this.identityManager.close();
|
|
4158
4159
|
await this.spaceManager.close();
|
|
@@ -4163,7 +4164,7 @@ var ServiceContext = class ServiceContext2 {
|
|
|
4163
4164
|
await this.metadataStore.close();
|
|
4164
4165
|
(0, import_log13.log)("closed", void 0, {
|
|
4165
4166
|
F: __dxlog_file15,
|
|
4166
|
-
L:
|
|
4167
|
+
L: 162,
|
|
4167
4168
|
S: this,
|
|
4168
4169
|
C: (f, a) => f(...a)
|
|
4169
4170
|
});
|
|
@@ -4177,7 +4178,7 @@ var ServiceContext = class ServiceContext2 {
|
|
|
4177
4178
|
const factory = this._handlerFactories.get(invitation.kind);
|
|
4178
4179
|
(0, import_invariant13.invariant)(factory, `Unknown invitation kind: ${invitation.kind}`, {
|
|
4179
4180
|
F: __dxlog_file15,
|
|
4180
|
-
L:
|
|
4181
|
+
L: 173,
|
|
4181
4182
|
S: this,
|
|
4182
4183
|
A: [
|
|
4183
4184
|
"factory",
|
|
@@ -4209,7 +4210,7 @@ var ServiceContext = class ServiceContext2 {
|
|
|
4209
4210
|
async _initialize(ctx) {
|
|
4210
4211
|
(0, import_log13.log)("initializing spaces...", void 0, {
|
|
4211
4212
|
F: __dxlog_file15,
|
|
4212
|
-
L:
|
|
4213
|
+
L: 204,
|
|
4213
4214
|
S: this,
|
|
4214
4215
|
C: (f, a) => f(...a)
|
|
4215
4216
|
});
|
|
@@ -4232,7 +4233,7 @@ var ServiceContext = class ServiceContext2 {
|
|
|
4232
4233
|
this._handlerFactories.set(import_services10.Invitation.Kind.SPACE, (invitation) => {
|
|
4233
4234
|
(0, import_invariant13.invariant)(this.dataSpaceManager, "dataSpaceManager not initialized yet", {
|
|
4234
4235
|
F: __dxlog_file15,
|
|
4235
|
-
L:
|
|
4236
|
+
L: 228,
|
|
4236
4237
|
S: this,
|
|
4237
4238
|
A: [
|
|
4238
4239
|
"this.dataSpaceManager",
|
|
@@ -4256,7 +4257,7 @@ var ServiceContext = class ServiceContext2 {
|
|
|
4256
4257
|
details: assertion
|
|
4257
4258
|
}, {
|
|
4258
4259
|
F: __dxlog_file15,
|
|
4259
|
-
L:
|
|
4260
|
+
L: 244,
|
|
4260
4261
|
S: this,
|
|
4261
4262
|
C: (f, a) => f(...a)
|
|
4262
4263
|
});
|
|
@@ -4267,7 +4268,7 @@ var ServiceContext = class ServiceContext2 {
|
|
|
4267
4268
|
details: assertion
|
|
4268
4269
|
}, {
|
|
4269
4270
|
F: __dxlog_file15,
|
|
4270
|
-
L:
|
|
4271
|
+
L: 248,
|
|
4271
4272
|
S: this,
|
|
4272
4273
|
C: (f, a) => f(...a)
|
|
4273
4274
|
});
|
|
@@ -4278,7 +4279,7 @@ var ServiceContext = class ServiceContext2 {
|
|
|
4278
4279
|
details: assertion
|
|
4279
4280
|
}, {
|
|
4280
4281
|
F: __dxlog_file15,
|
|
4281
|
-
L:
|
|
4282
|
+
L: 253,
|
|
4282
4283
|
S: this,
|
|
4283
4284
|
C: (f, a) => f(...a)
|
|
4284
4285
|
});
|
|
@@ -4289,7 +4290,7 @@ var ServiceContext = class ServiceContext2 {
|
|
|
4289
4290
|
} catch (err) {
|
|
4290
4291
|
import_log13.log.catch(err, void 0, {
|
|
4291
4292
|
F: __dxlog_file15,
|
|
4292
|
-
L:
|
|
4293
|
+
L: 259,
|
|
4293
4294
|
S: this,
|
|
4294
4295
|
C: (f, a) => f(...a)
|
|
4295
4296
|
});
|
|
@@ -5069,4 +5070,4 @@ ClientServicesHost = _ts_decorate8([
|
|
|
5069
5070
|
subscribeToSpaces,
|
|
5070
5071
|
subscribeToSwarmInfo
|
|
5071
5072
|
});
|
|
5072
|
-
//# sourceMappingURL=chunk-
|
|
5073
|
+
//# sourceMappingURL=chunk-LRVO6OA5.cjs.map
|