@dxos/client-services 0.8.4-main.84f28bd → 0.8.4-main.b97322e
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-OCFDRCSN.mjs → chunk-WKKP35EC.mjs} +24 -23
- package/dist/lib/browser/{chunk-OCFDRCSN.mjs.map → chunk-WKKP35EC.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +1 -1
- package/dist/lib/node-esm/{chunk-D7F3FYZS.mjs → chunk-ZE2HYS56.mjs} +24 -23
- package/dist/lib/node-esm/{chunk-D7F3FYZS.mjs.map → chunk-ZE2HYS56.mjs.map} +3 -3
- package/dist/lib/node-esm/index.mjs +1 -1
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/testing/index.mjs +1 -1
- package/dist/types/src/packlets/invitations/index.d.ts +1 -1
- package/dist/types/src/packlets/invitations/index.d.ts.map +1 -1
- package/dist/types/src/packlets/locks/index.d.ts +1 -1
- package/dist/types/src/packlets/locks/index.d.ts.map +1 -1
- package/dist/types/src/packlets/logging/logging-service.d.ts.map +1 -1
- package/dist/types/src/packlets/services/service-host.d.ts +1 -1
- package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +37 -37
- package/src/packlets/invitations/device-invitation-protocol.test.ts +3 -3
- package/src/packlets/invitations/index.ts +1 -1
- package/src/packlets/invitations/invitations-handler.test.ts +298 -289
- package/src/packlets/invitations/space-invitation-protocol.test.ts +8 -8
- package/src/packlets/locks/index.ts +1 -1
- package/src/packlets/logging/logging-service.ts +1 -0
- package/src/packlets/services/service-host.ts +2 -1
- package/src/version.ts +1 -1
|
@@ -397,7 +397,7 @@ import { SpaceMember } from "@dxos/protocols/proto/dxos/client/services";
|
|
|
397
397
|
import { TRACE_PROCESSOR } from "@dxos/tracing";
|
|
398
398
|
|
|
399
399
|
// src/version.ts
|
|
400
|
-
var DXOS_VERSION = "0.8.4-main.
|
|
400
|
+
var DXOS_VERSION = "0.8.4-main.b97322e";
|
|
401
401
|
|
|
402
402
|
// src/packlets/services/platform.ts
|
|
403
403
|
import { Platform } from "@dxos/protocols/proto/dxos/client/services";
|
|
@@ -8896,6 +8896,7 @@ var LoggingServiceImpl = class {
|
|
|
8896
8896
|
}
|
|
8897
8897
|
const record = {
|
|
8898
8898
|
...entry2,
|
|
8899
|
+
message: entry2.message ?? (entry2.error ? entry2.error.message ?? String(entry2.error) : ""),
|
|
8899
8900
|
context: jsonify(getContextFromEntry(entry2)),
|
|
8900
8901
|
timestamp: /* @__PURE__ */ new Date(),
|
|
8901
8902
|
meta: {
|
|
@@ -9106,7 +9107,7 @@ var ClientServicesHost = class {
|
|
|
9106
9107
|
if (!this._opening) {
|
|
9107
9108
|
void this.open(new Context11(void 0, {
|
|
9108
9109
|
F: __dxlog_file32,
|
|
9109
|
-
L:
|
|
9110
|
+
L: 142
|
|
9110
9111
|
}));
|
|
9111
9112
|
}
|
|
9112
9113
|
},
|
|
@@ -9164,7 +9165,7 @@ var ClientServicesHost = class {
|
|
|
9164
9165
|
initialize({ config, ...options }) {
|
|
9165
9166
|
invariant25(!this._open, "service host is open", {
|
|
9166
9167
|
F: __dxlog_file32,
|
|
9167
|
-
L:
|
|
9168
|
+
L: 208,
|
|
9168
9169
|
S: this,
|
|
9169
9170
|
A: [
|
|
9170
9171
|
"!this._open",
|
|
@@ -9173,14 +9174,14 @@ var ClientServicesHost = class {
|
|
|
9173
9174
|
});
|
|
9174
9175
|
log28("initializing...", void 0, {
|
|
9175
9176
|
F: __dxlog_file32,
|
|
9176
|
-
L:
|
|
9177
|
+
L: 209,
|
|
9177
9178
|
S: this,
|
|
9178
9179
|
C: (f, a) => f(...a)
|
|
9179
9180
|
});
|
|
9180
9181
|
if (config) {
|
|
9181
9182
|
invariant25(!this._config, "config already set", {
|
|
9182
9183
|
F: __dxlog_file32,
|
|
9183
|
-
L:
|
|
9184
|
+
L: 212,
|
|
9184
9185
|
S: this,
|
|
9185
9186
|
A: [
|
|
9186
9187
|
"!this._config",
|
|
@@ -9195,7 +9196,7 @@ var ClientServicesHost = class {
|
|
|
9195
9196
|
if (!options.signalManager) {
|
|
9196
9197
|
log28.warn("running signaling without telemetry metadata.", void 0, {
|
|
9197
9198
|
F: __dxlog_file32,
|
|
9198
|
-
L:
|
|
9199
|
+
L: 220,
|
|
9199
9200
|
S: this,
|
|
9200
9201
|
C: (f, a) => f(...a)
|
|
9201
9202
|
});
|
|
@@ -9215,7 +9216,7 @@ var ClientServicesHost = class {
|
|
|
9215
9216
|
this._signalManager = signalManager;
|
|
9216
9217
|
invariant25(!this._networkManager, "network manager already set", {
|
|
9217
9218
|
F: __dxlog_file32,
|
|
9218
|
-
L:
|
|
9219
|
+
L: 242,
|
|
9219
9220
|
S: this,
|
|
9220
9221
|
A: [
|
|
9221
9222
|
"!this._networkManager",
|
|
@@ -9233,7 +9234,7 @@ var ClientServicesHost = class {
|
|
|
9233
9234
|
});
|
|
9234
9235
|
log28("initialized", void 0, {
|
|
9235
9236
|
F: __dxlog_file32,
|
|
9236
|
-
L:
|
|
9237
|
+
L: 255,
|
|
9237
9238
|
S: this,
|
|
9238
9239
|
C: (f, a) => f(...a)
|
|
9239
9240
|
});
|
|
@@ -9247,13 +9248,13 @@ var ClientServicesHost = class {
|
|
|
9247
9248
|
id: traceId
|
|
9248
9249
|
}), {
|
|
9249
9250
|
F: __dxlog_file32,
|
|
9250
|
-
L:
|
|
9251
|
+
L: 266,
|
|
9251
9252
|
S: this,
|
|
9252
9253
|
C: (f, a) => f(...a)
|
|
9253
9254
|
});
|
|
9254
9255
|
invariant25(this._config, "config not set", {
|
|
9255
9256
|
F: __dxlog_file32,
|
|
9256
|
-
L:
|
|
9257
|
+
L: 268,
|
|
9257
9258
|
S: this,
|
|
9258
9259
|
A: [
|
|
9259
9260
|
"this._config",
|
|
@@ -9262,7 +9263,7 @@ var ClientServicesHost = class {
|
|
|
9262
9263
|
});
|
|
9263
9264
|
invariant25(this._storage, "storage not set", {
|
|
9264
9265
|
F: __dxlog_file32,
|
|
9265
|
-
L:
|
|
9266
|
+
L: 269,
|
|
9266
9267
|
S: this,
|
|
9267
9268
|
A: [
|
|
9268
9269
|
"this._storage",
|
|
@@ -9271,7 +9272,7 @@ var ClientServicesHost = class {
|
|
|
9271
9272
|
});
|
|
9272
9273
|
invariant25(this._signalManager, "signal manager not set", {
|
|
9273
9274
|
F: __dxlog_file32,
|
|
9274
|
-
L:
|
|
9275
|
+
L: 270,
|
|
9275
9276
|
S: this,
|
|
9276
9277
|
A: [
|
|
9277
9278
|
"this._signalManager",
|
|
@@ -9280,7 +9281,7 @@ var ClientServicesHost = class {
|
|
|
9280
9281
|
});
|
|
9281
9282
|
invariant25(this._networkManager, "network manager not set", {
|
|
9282
9283
|
F: __dxlog_file32,
|
|
9283
|
-
L:
|
|
9284
|
+
L: 271,
|
|
9284
9285
|
S: this,
|
|
9285
9286
|
A: [
|
|
9286
9287
|
"this._networkManager",
|
|
@@ -9292,7 +9293,7 @@ var ClientServicesHost = class {
|
|
|
9292
9293
|
lockKey: this._resourceLock?.lockKey
|
|
9293
9294
|
}, {
|
|
9294
9295
|
F: __dxlog_file32,
|
|
9295
|
-
L:
|
|
9296
|
+
L: 274,
|
|
9296
9297
|
S: this,
|
|
9297
9298
|
C: (f, a) => f(...a)
|
|
9298
9299
|
});
|
|
@@ -9353,7 +9354,7 @@ var ClientServicesHost = class {
|
|
|
9353
9354
|
deviceKey
|
|
9354
9355
|
}, {
|
|
9355
9356
|
F: __dxlog_file32,
|
|
9356
|
-
L:
|
|
9357
|
+
L: 375,
|
|
9357
9358
|
S: this,
|
|
9358
9359
|
C: (f, a) => f(...a)
|
|
9359
9360
|
});
|
|
@@ -9361,7 +9362,7 @@ var ClientServicesHost = class {
|
|
|
9361
9362
|
id: traceId
|
|
9362
9363
|
}), {
|
|
9363
9364
|
F: __dxlog_file32,
|
|
9364
|
-
L:
|
|
9365
|
+
L: 376,
|
|
9365
9366
|
S: this,
|
|
9366
9367
|
C: (f, a) => f(...a)
|
|
9367
9368
|
});
|
|
@@ -9375,7 +9376,7 @@ var ClientServicesHost = class {
|
|
|
9375
9376
|
deviceKey
|
|
9376
9377
|
}, {
|
|
9377
9378
|
F: __dxlog_file32,
|
|
9378
|
-
L:
|
|
9379
|
+
L: 387,
|
|
9379
9380
|
S: this,
|
|
9380
9381
|
C: (f, a) => f(...a)
|
|
9381
9382
|
});
|
|
@@ -9393,7 +9394,7 @@ var ClientServicesHost = class {
|
|
|
9393
9394
|
deviceKey
|
|
9394
9395
|
}, {
|
|
9395
9396
|
F: __dxlog_file32,
|
|
9396
|
-
L:
|
|
9397
|
+
L: 396,
|
|
9397
9398
|
S: this,
|
|
9398
9399
|
C: (f, a) => f(...a)
|
|
9399
9400
|
});
|
|
@@ -9404,13 +9405,13 @@ var ClientServicesHost = class {
|
|
|
9404
9405
|
id: traceId
|
|
9405
9406
|
}), {
|
|
9406
9407
|
F: __dxlog_file32,
|
|
9407
|
-
L:
|
|
9408
|
+
L: 401,
|
|
9408
9409
|
S: this,
|
|
9409
9410
|
C: (f, a) => f(...a)
|
|
9410
9411
|
});
|
|
9411
9412
|
log28.info("resetting...", void 0, {
|
|
9412
9413
|
F: __dxlog_file32,
|
|
9413
|
-
L:
|
|
9414
|
+
L: 403,
|
|
9414
9415
|
S: this,
|
|
9415
9416
|
C: (f, a) => f(...a)
|
|
9416
9417
|
});
|
|
@@ -9420,7 +9421,7 @@ var ClientServicesHost = class {
|
|
|
9420
9421
|
await this._storage.reset();
|
|
9421
9422
|
log28.info("reset", void 0, {
|
|
9422
9423
|
F: __dxlog_file32,
|
|
9423
|
-
L:
|
|
9424
|
+
L: 410,
|
|
9424
9425
|
S: this,
|
|
9425
9426
|
C: (f, a) => f(...a)
|
|
9426
9427
|
});
|
|
@@ -9428,7 +9429,7 @@ var ClientServicesHost = class {
|
|
|
9428
9429
|
id: traceId
|
|
9429
9430
|
}), {
|
|
9430
9431
|
F: __dxlog_file32,
|
|
9431
|
-
L:
|
|
9432
|
+
L: 411,
|
|
9432
9433
|
S: this,
|
|
9433
9434
|
C: (f, a) => f(...a)
|
|
9434
9435
|
});
|
|
@@ -9506,4 +9507,4 @@ export {
|
|
|
9506
9507
|
importProfileData,
|
|
9507
9508
|
ClientServicesHost
|
|
9508
9509
|
};
|
|
9509
|
-
//# sourceMappingURL=chunk-
|
|
9510
|
+
//# sourceMappingURL=chunk-WKKP35EC.mjs.map
|