@arsedizioni/ars-utils 20.3.38 → 20.3.41

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.
@@ -1075,8 +1075,6 @@ declare class ClipperService implements OnDestroy {
1075
1075
  * @param remember: remember credentials
1076
1076
  * @param oauth: the optional open authentication supported
1077
1077
  * @param oauthAccessToken: the optional OAuth2 access token
1078
- * @param flags: the optional login flags
1079
- * @returns: the login result
1080
1078
  */
1081
1079
  login(email?: string, password?: string, remember?: boolean, oauth?: LoginOAuthType, oauthAccessToken?: string | undefined): rxjs.Observable<ApiResult<ClipperLoginResult>>;
1082
1080
  /**
@@ -789,8 +789,6 @@ declare class EvolutionService implements OnDestroy {
789
789
  * @param remember: remember credentials
790
790
  * @param oauth: the optional open authentication supported
791
791
  * @param oauthAccessToken: the optional OAuth2 access token
792
- * @param flags: the optional login flags
793
- * @returns: the login result
794
792
  */
795
793
  login(email?: string, password?: string, remember?: boolean, oauth?: LoginOAuthType, oauthAccessToken?: string | undefined): rxjs.Observable<ApiResult<EvolutionLoginResult>>;
796
794
  /**
@@ -2264,8 +2264,6 @@ class ClipperService {
2264
2264
  * @param remember: remember credentials
2265
2265
  * @param oauth: the optional open authentication supported
2266
2266
  * @param oauthAccessToken: the optional OAuth2 access token
2267
- * @param flags: the optional login flags
2268
- * @returns: the login result
2269
2267
  */
2270
2268
  login(email, password, remember, oauth, oauthAccessToken = sessionStorage.getItem("clipper_oauth_token") ?? undefined) {
2271
2269
  return this.httpClient
@@ -2292,7 +2290,7 @@ class ClipperService {
2292
2290
  this._loginInfo.remember = remember;
2293
2291
  if (!oauth && r.value.requiresMfa) {
2294
2292
  // Notify login is pending
2295
- this.broadcastService.sendMessage(ClipperMessages.LOGIN_PENDING, {});
2293
+ this.broadcastService.sendMessage(ClipperMessages.LOGIN_PENDING);
2296
2294
  }
2297
2295
  else {
2298
2296
  // Complete login
@@ -2329,7 +2327,6 @@ class ClipperService {
2329
2327
  return throwError(() => err);
2330
2328
  }), map((r) => {
2331
2329
  if (r.success) {
2332
- // Complete login
2333
2330
  this.completeLogin(r.value);
2334
2331
  }
2335
2332
  return r;
@@ -2357,6 +2354,7 @@ class ClipperService {
2357
2354
  this._loginInfo = undefined;
2358
2355
  // Logged out
2359
2356
  this.loggedIn.set(false);
2357
+ this.loggingIn.set(false);
2360
2358
  // Reset channels
2361
2359
  this.availableChannels.set([]);
2362
2360
  // Notify