@dxos/client-services 0.5.9-main.1ea2105 → 0.5.9-main.2ba0c7f
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-AHVKY45R.mjs → chunk-PWXD5WKD.mjs} +29 -16
- package/dist/lib/browser/chunk-PWXD5WKD.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-POJY42WS.cjs → chunk-XVII53G2.cjs} +32 -19
- package/dist/lib/node/chunk-XVII53G2.cjs.map +7 -0
- package/dist/lib/node/index.cjs +41 -41
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/packlets/testing/index.cjs +8 -8
- package/dist/types/src/packlets/invitations/invitations-handler.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/package.json +36 -36
- package/src/packlets/invitations/invitations-handler.ts +13 -5
- package/src/version.ts +1 -1
- package/dist/lib/browser/chunk-AHVKY45R.mjs.map +0 -7
- package/dist/lib/node/chunk-POJY42WS.cjs.map +0 -7
|
@@ -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.
|
|
358
|
+
var DXOS_VERSION = "0.5.9-main.2ba0c7f";
|
|
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
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
2944
|
+
L: 504,
|
|
2932
2945
|
S: this,
|
|
2933
2946
|
C: (f, a) => f(...a)
|
|
2934
2947
|
});
|
|
@@ -6906,4 +6919,4 @@ export {
|
|
|
6906
6919
|
ClientServicesProviderResource,
|
|
6907
6920
|
DiagnosticsCollector
|
|
6908
6921
|
};
|
|
6909
|
-
//# sourceMappingURL=chunk-
|
|
6922
|
+
//# sourceMappingURL=chunk-PWXD5WKD.mjs.map
|