@dxos/client-services 0.5.9-main.af4882d → 0.5.9-main.b06c86b

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.
@@ -355,7 +355,7 @@ import { SpaceMember } from "@dxos/protocols/proto/dxos/client/services";
355
355
  import { TRACE_PROCESSOR } from "@dxos/tracing";
356
356
 
357
357
  // packages/sdk/client-services/src/version.ts
358
- var DXOS_VERSION = "0.5.9-main.af4882d";
358
+ var DXOS_VERSION = "0.5.9-main.b06c86b";
359
359
 
360
360
  // packages/sdk/client-services/src/packlets/services/platform.ts
361
361
  import { Platform } from "@dxos/protocols/proto/dxos/client/services";
@@ -2859,16 +2859,29 @@ var InvitationsHandler = class {
2859
2859
  };
2860
2860
  }
2861
2861
  _logStateUpdate(invitation, actor, newState) {
2862
- log10("invitation state update", {
2863
- actor: actor?.constructor.name,
2864
- newState: stateToString(newState),
2865
- oldState: stateToString(invitation.state)
2866
- }, {
2867
- F: __dxlog_file12,
2868
- L: 438,
2869
- S: this,
2870
- C: (f, a) => f(...a)
2871
- });
2862
+ if (this._isNotTerminal(newState)) {
2863
+ log10("invitation state update", {
2864
+ actor: actor?.constructor.name,
2865
+ newState: stateToString(newState),
2866
+ oldState: stateToString(invitation.state)
2867
+ }, {
2868
+ F: __dxlog_file12,
2869
+ L: 439,
2870
+ S: this,
2871
+ C: (f, a) => f(...a)
2872
+ });
2873
+ } else {
2874
+ log10.info("invitation state update", {
2875
+ actor: actor?.constructor.name,
2876
+ newState: stateToString(newState),
2877
+ oldState: stateToString(invitation.state)
2878
+ }, {
2879
+ F: __dxlog_file12,
2880
+ L: 445,
2881
+ S: this,
2882
+ C: (f, a) => f(...a)
2883
+ });
2884
+ }
2872
2885
  }
2873
2886
  _isNotTerminal(currentState) {
2874
2887
  return ![
@@ -2883,7 +2896,7 @@ var InvitationsHandler = class {
2883
2896
  for (let attempt = 1; attempt <= MAX_OTP_ATTEMPTS; attempt++) {
2884
2897
  log10("guest waiting for authentication code...", void 0, {
2885
2898
  F: __dxlog_file12,
2886
- L: 462,
2899
+ L: 470,
2887
2900
  S: this,
2888
2901
  C: (f, a) => f(...a)
2889
2902
  });
@@ -2891,7 +2904,7 @@ var InvitationsHandler = class {
2891
2904
  const authCode = await authenticated.wait(options);
2892
2905
  log10("sending authentication request", void 0, {
2893
2906
  F: __dxlog_file12,
2894
- L: 466,
2907
+ L: 474,
2895
2908
  S: this,
2896
2909
  C: (f, a) => f(...a)
2897
2910
  });
@@ -2910,7 +2923,7 @@ var InvitationsHandler = class {
2910
2923
  attempt
2911
2924
  }, {
2912
2925
  F: __dxlog_file12,
2913
- L: 477,
2926
+ L: 485,
2914
2927
  S: this,
2915
2928
  C: (f, a) => f(...a)
2916
2929
  });
@@ -2928,7 +2941,7 @@ var InvitationsHandler = class {
2928
2941
  }
2929
2942
  log10("sending authentication request", void 0, {
2930
2943
  F: __dxlog_file12,
2931
- L: 496,
2944
+ L: 504,
2932
2945
  S: this,
2933
2946
  C: (f, a) => f(...a)
2934
2947
  });
@@ -4545,7 +4558,6 @@ var DataSpace = class {
4545
4558
  S: this,
4546
4559
  C: (f, a) => f(...a)
4547
4560
  });
4548
- this._echoHost.replicateDocument(rootUrl);
4549
4561
  const handle = this._echoHost.automergeRepo.find(rootUrl);
4550
4562
  queueMicrotask(async () => {
4551
4563
  try {
@@ -4596,7 +4608,7 @@ var DataSpace = class {
4596
4608
  err
4597
4609
  }, {
4598
4610
  F: __dxlog_file17,
4599
- L: 433,
4611
+ L: 431,
4600
4612
  S: this,
4601
4613
  C: (f, a) => f(...a)
4602
4614
  });
@@ -4682,7 +4694,7 @@ var DataSpace = class {
4682
4694
  state: SpaceState2[this._state]
4683
4695
  }, {
4684
4696
  F: __dxlog_file17,
4685
- L: 514,
4697
+ L: 512,
4686
4698
  S: this,
4687
4699
  C: (f, a) => f(...a)
4688
4700
  });
@@ -6907,4 +6919,4 @@ export {
6907
6919
  ClientServicesProviderResource,
6908
6920
  DiagnosticsCollector
6909
6921
  };
6910
- //# sourceMappingURL=chunk-6347C7P7.mjs.map
6922
+ //# sourceMappingURL=chunk-2JCI5YEM.mjs.map