@dxos/client-services 0.4.8-main.e00e8f3 → 0.4.8-main.e23f3c5

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_DT7HQAVI_exports = {};
30
- __export(chunk_DT7HQAVI_exports, {
29
+ var chunk_RENA3JYD_exports = {};
30
+ __export(chunk_RENA3JYD_exports, {
31
31
  ClientRpcServer: () => ClientRpcServer,
32
32
  ClientServicesHost: () => ClientServicesHost,
33
33
  DataSpace: () => DataSpace,
@@ -61,7 +61,7 @@ __export(chunk_DT7HQAVI_exports, {
61
61
  subscribeToSpaces: () => subscribeToSpaces,
62
62
  subscribeToSwarmInfo: () => subscribeToSwarmInfo
63
63
  });
64
- module.exports = __toCommonJS(chunk_DT7HQAVI_exports);
64
+ module.exports = __toCommonJS(chunk_RENA3JYD_exports);
65
65
  var import_async = require("@dxos/async");
66
66
  var import_codec_protobuf = require("@dxos/codec-protobuf");
67
67
  var import_feed_store = require("@dxos/feed-store");
@@ -732,6 +732,7 @@ var Identity = class {
732
732
  await this.space.open(ctx);
733
733
  }
734
734
  async close(ctx) {
735
+ await this._presence?.destroy();
735
736
  await this.authVerifier.close();
736
737
  await this.space.spaceState.removeCredentialProcessor(this._profileStateMachine);
737
738
  await this.space.spaceState.removeCredentialProcessor(this._deviceStateMachine);
@@ -771,7 +772,7 @@ var Identity = class {
771
772
  getIdentityCredentialSigner() {
772
773
  (0, import_invariant.invariant)(this._deviceStateMachine.deviceCredentialChain, "Device credential chain is not ready.", {
773
774
  F: __dxlog_file2,
774
- L: 144,
775
+ L: 145,
775
776
  S: this,
776
777
  A: [
777
778
  "this._deviceStateMachine.deviceCredentialChain",
@@ -795,7 +796,7 @@ var Identity = class {
795
796
  dataFeedKey
796
797
  }, {
797
798
  F: __dxlog_file2,
798
- L: 160,
799
+ L: 161,
799
800
  S: this,
800
801
  C: (f, a) => f(...a)
801
802
  });
@@ -2890,7 +2891,7 @@ var getPlatform = () => {
2890
2891
  };
2891
2892
  }
2892
2893
  };
2893
- var DXOS_VERSION = "0.4.8-main.e00e8f3";
2894
+ var DXOS_VERSION = "0.4.8-main.e23f3c5";
2894
2895
  var __dxlog_file10 = "/home/runner/work/dxos/dxos/packages/sdk/client-services/src/packlets/services/diagnostics.ts";
2895
2896
  var DEFAULT_TIMEOUT = 1e3;
2896
2897
  var createDiagnostics = async (clientServices, serviceContext, config) => {
@@ -5600,4 +5601,4 @@ ClientServicesHost = _ts_decorate8([
5600
5601
  subscribeToSpaces,
5601
5602
  subscribeToSwarmInfo
5602
5603
  });
5603
- //# sourceMappingURL=chunk-DT7HQAVI.cjs.map
5604
+ //# sourceMappingURL=chunk-RENA3JYD.cjs.map