@arsedizioni/ars-utils 20.3.16 → 20.3.18
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/evolution.common/index.d.ts +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +3 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +3 -2
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/package.json +5 -5
|
@@ -734,7 +734,7 @@ declare class EvolutionService implements OnDestroy {
|
|
|
734
734
|
private _flags;
|
|
735
735
|
get flags(): EvolutionServiceFlags;
|
|
736
736
|
private _loginInfo?;
|
|
737
|
-
get loginInfo():
|
|
737
|
+
get loginInfo(): EvolutionLoginResult | undefined;
|
|
738
738
|
readonly loggedIn: i0.WritableSignal<boolean>;
|
|
739
739
|
readonly loggingIn: i0.WritableSignal<boolean>;
|
|
740
740
|
private keepAlive;
|
|
@@ -2307,10 +2307,11 @@ class ClipperService {
|
|
|
2307
2307
|
return throwError(() => err);
|
|
2308
2308
|
}), map((r) => {
|
|
2309
2309
|
if (r.success) {
|
|
2310
|
-
if (!this._loginInfo)
|
|
2310
|
+
if (!this._loginInfo) {
|
|
2311
2311
|
this._loginInfo = { context: undefined };
|
|
2312
|
+
}
|
|
2312
2313
|
this._loginInfo.oauth = oauth;
|
|
2313
|
-
this._loginInfo.remember =
|
|
2314
|
+
this._loginInfo.remember = (flags & ClipperLoginFlags.RememberCredentials) > 0;
|
|
2314
2315
|
if (!oauth && r.value.requiresMfa) {
|
|
2315
2316
|
// Notify login is pending
|
|
2316
2317
|
this.broadcastService.sendMessage(ClipperMessages.LOGIN_PENDING, { flags: flags });
|