@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.
Files changed (28) hide show
  1. package/dist/lib/browser/{chunk-OCFDRCSN.mjs → chunk-WKKP35EC.mjs} +24 -23
  2. package/dist/lib/browser/{chunk-OCFDRCSN.mjs.map → chunk-WKKP35EC.mjs.map} +3 -3
  3. package/dist/lib/browser/index.mjs +1 -1
  4. package/dist/lib/browser/meta.json +1 -1
  5. package/dist/lib/browser/testing/index.mjs +1 -1
  6. package/dist/lib/node-esm/{chunk-D7F3FYZS.mjs → chunk-ZE2HYS56.mjs} +24 -23
  7. package/dist/lib/node-esm/{chunk-D7F3FYZS.mjs.map → chunk-ZE2HYS56.mjs.map} +3 -3
  8. package/dist/lib/node-esm/index.mjs +1 -1
  9. package/dist/lib/node-esm/meta.json +1 -1
  10. package/dist/lib/node-esm/testing/index.mjs +1 -1
  11. package/dist/types/src/packlets/invitations/index.d.ts +1 -1
  12. package/dist/types/src/packlets/invitations/index.d.ts.map +1 -1
  13. package/dist/types/src/packlets/locks/index.d.ts +1 -1
  14. package/dist/types/src/packlets/locks/index.d.ts.map +1 -1
  15. package/dist/types/src/packlets/logging/logging-service.d.ts.map +1 -1
  16. package/dist/types/src/packlets/services/service-host.d.ts +1 -1
  17. package/dist/types/src/packlets/services/service-host.d.ts.map +1 -1
  18. package/dist/types/src/version.d.ts +1 -1
  19. package/dist/types/tsconfig.tsbuildinfo +1 -1
  20. package/package.json +37 -37
  21. package/src/packlets/invitations/device-invitation-protocol.test.ts +3 -3
  22. package/src/packlets/invitations/index.ts +1 -1
  23. package/src/packlets/invitations/invitations-handler.test.ts +298 -289
  24. package/src/packlets/invitations/space-invitation-protocol.test.ts +8 -8
  25. package/src/packlets/locks/index.ts +1 -1
  26. package/src/packlets/logging/logging-service.ts +1 -0
  27. package/src/packlets/services/service-host.ts +2 -1
  28. package/src/version.ts +1 -1
@@ -6,7 +6,7 @@ import {
6
6
  InvitationsManager,
7
7
  ServiceContext,
8
8
  SpaceInvitationProtocol
9
- } from "../chunk-OCFDRCSN.mjs";
9
+ } from "../chunk-WKKP35EC.mjs";
10
10
 
11
11
  // src/packlets/testing/credential-utils.ts
12
12
  import { createCredential } from "@dxos/credentials";
@@ -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.84f28bd";
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";
@@ -8764,6 +8764,7 @@ var LoggingServiceImpl = class {
8764
8764
  }
8765
8765
  const record = {
8766
8766
  ...entry2,
8767
+ message: entry2.message ?? (entry2.error ? entry2.error.message ?? String(entry2.error) : ""),
8767
8768
  context: jsonify(getContextFromEntry(entry2)),
8768
8769
  timestamp: /* @__PURE__ */ new Date(),
8769
8770
  meta: {
@@ -8974,7 +8975,7 @@ var ClientServicesHost = class {
8974
8975
  if (!this._opening) {
8975
8976
  void this.open(new Context11(void 0, {
8976
8977
  F: __dxlog_file31,
8977
- L: 141
8978
+ L: 142
8978
8979
  }));
8979
8980
  }
8980
8981
  },
@@ -9032,7 +9033,7 @@ var ClientServicesHost = class {
9032
9033
  initialize({ config, ...options }) {
9033
9034
  invariant26(!this._open, "service host is open", {
9034
9035
  F: __dxlog_file31,
9035
- L: 207,
9036
+ L: 208,
9036
9037
  S: this,
9037
9038
  A: [
9038
9039
  "!this._open",
@@ -9041,14 +9042,14 @@ var ClientServicesHost = class {
9041
9042
  });
9042
9043
  log27("initializing...", void 0, {
9043
9044
  F: __dxlog_file31,
9044
- L: 208,
9045
+ L: 209,
9045
9046
  S: this,
9046
9047
  C: (f, a) => f(...a)
9047
9048
  });
9048
9049
  if (config) {
9049
9050
  invariant26(!this._config, "config already set", {
9050
9051
  F: __dxlog_file31,
9051
- L: 211,
9052
+ L: 212,
9052
9053
  S: this,
9053
9054
  A: [
9054
9055
  "!this._config",
@@ -9063,7 +9064,7 @@ var ClientServicesHost = class {
9063
9064
  if (!options.signalManager) {
9064
9065
  log27.warn("running signaling without telemetry metadata.", void 0, {
9065
9066
  F: __dxlog_file31,
9066
- L: 219,
9067
+ L: 220,
9067
9068
  S: this,
9068
9069
  C: (f, a) => f(...a)
9069
9070
  });
@@ -9083,7 +9084,7 @@ var ClientServicesHost = class {
9083
9084
  this._signalManager = signalManager;
9084
9085
  invariant26(!this._networkManager, "network manager already set", {
9085
9086
  F: __dxlog_file31,
9086
- L: 241,
9087
+ L: 242,
9087
9088
  S: this,
9088
9089
  A: [
9089
9090
  "!this._networkManager",
@@ -9101,7 +9102,7 @@ var ClientServicesHost = class {
9101
9102
  });
9102
9103
  log27("initialized", void 0, {
9103
9104
  F: __dxlog_file31,
9104
- L: 254,
9105
+ L: 255,
9105
9106
  S: this,
9106
9107
  C: (f, a) => f(...a)
9107
9108
  });
@@ -9115,13 +9116,13 @@ var ClientServicesHost = class {
9115
9116
  id: traceId
9116
9117
  }), {
9117
9118
  F: __dxlog_file31,
9118
- L: 265,
9119
+ L: 266,
9119
9120
  S: this,
9120
9121
  C: (f, a) => f(...a)
9121
9122
  });
9122
9123
  invariant26(this._config, "config not set", {
9123
9124
  F: __dxlog_file31,
9124
- L: 267,
9125
+ L: 268,
9125
9126
  S: this,
9126
9127
  A: [
9127
9128
  "this._config",
@@ -9130,7 +9131,7 @@ var ClientServicesHost = class {
9130
9131
  });
9131
9132
  invariant26(this._storage, "storage not set", {
9132
9133
  F: __dxlog_file31,
9133
- L: 268,
9134
+ L: 269,
9134
9135
  S: this,
9135
9136
  A: [
9136
9137
  "this._storage",
@@ -9139,7 +9140,7 @@ var ClientServicesHost = class {
9139
9140
  });
9140
9141
  invariant26(this._signalManager, "signal manager not set", {
9141
9142
  F: __dxlog_file31,
9142
- L: 269,
9143
+ L: 270,
9143
9144
  S: this,
9144
9145
  A: [
9145
9146
  "this._signalManager",
@@ -9148,7 +9149,7 @@ var ClientServicesHost = class {
9148
9149
  });
9149
9150
  invariant26(this._networkManager, "network manager not set", {
9150
9151
  F: __dxlog_file31,
9151
- L: 270,
9152
+ L: 271,
9152
9153
  S: this,
9153
9154
  A: [
9154
9155
  "this._networkManager",
@@ -9160,7 +9161,7 @@ var ClientServicesHost = class {
9160
9161
  lockKey: this._resourceLock?.lockKey
9161
9162
  }, {
9162
9163
  F: __dxlog_file31,
9163
- L: 273,
9164
+ L: 274,
9164
9165
  S: this,
9165
9166
  C: (f, a) => f(...a)
9166
9167
  });
@@ -9221,7 +9222,7 @@ var ClientServicesHost = class {
9221
9222
  deviceKey
9222
9223
  }, {
9223
9224
  F: __dxlog_file31,
9224
- L: 374,
9225
+ L: 375,
9225
9226
  S: this,
9226
9227
  C: (f, a) => f(...a)
9227
9228
  });
@@ -9229,7 +9230,7 @@ var ClientServicesHost = class {
9229
9230
  id: traceId
9230
9231
  }), {
9231
9232
  F: __dxlog_file31,
9232
- L: 375,
9233
+ L: 376,
9233
9234
  S: this,
9234
9235
  C: (f, a) => f(...a)
9235
9236
  });
@@ -9243,7 +9244,7 @@ var ClientServicesHost = class {
9243
9244
  deviceKey
9244
9245
  }, {
9245
9246
  F: __dxlog_file31,
9246
- L: 386,
9247
+ L: 387,
9247
9248
  S: this,
9248
9249
  C: (f, a) => f(...a)
9249
9250
  });
@@ -9261,7 +9262,7 @@ var ClientServicesHost = class {
9261
9262
  deviceKey
9262
9263
  }, {
9263
9264
  F: __dxlog_file31,
9264
- L: 395,
9265
+ L: 396,
9265
9266
  S: this,
9266
9267
  C: (f, a) => f(...a)
9267
9268
  });
@@ -9272,13 +9273,13 @@ var ClientServicesHost = class {
9272
9273
  id: traceId
9273
9274
  }), {
9274
9275
  F: __dxlog_file31,
9275
- L: 400,
9276
+ L: 401,
9276
9277
  S: this,
9277
9278
  C: (f, a) => f(...a)
9278
9279
  });
9279
9280
  log27.info("resetting...", void 0, {
9280
9281
  F: __dxlog_file31,
9281
- L: 402,
9282
+ L: 403,
9282
9283
  S: this,
9283
9284
  C: (f, a) => f(...a)
9284
9285
  });
@@ -9288,7 +9289,7 @@ var ClientServicesHost = class {
9288
9289
  await this._storage.reset();
9289
9290
  log27.info("reset", void 0, {
9290
9291
  F: __dxlog_file31,
9291
- L: 409,
9292
+ L: 410,
9292
9293
  S: this,
9293
9294
  C: (f, a) => f(...a)
9294
9295
  });
@@ -9296,7 +9297,7 @@ var ClientServicesHost = class {
9296
9297
  id: traceId
9297
9298
  }), {
9298
9299
  F: __dxlog_file31,
9299
- L: 410,
9300
+ L: 411,
9300
9301
  S: this,
9301
9302
  C: (f, a) => f(...a)
9302
9303
  });
@@ -9374,4 +9375,4 @@ export {
9374
9375
  importProfileData,
9375
9376
  ClientServicesHost
9376
9377
  };
9377
- //# sourceMappingURL=chunk-D7F3FYZS.mjs.map
9378
+ //# sourceMappingURL=chunk-ZE2HYS56.mjs.map