@osovitny/anatoly 3.16.34 → 3.16.36

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.
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { OnDestroy } from '@angular/core';
3
- import { Router, RouterStateSnapshot } from '@angular/router';
3
+ import { Router } from '@angular/router';
4
4
  import { Observable } from 'rxjs';
5
5
  import { MsalBroadcastService, MsalGuardConfiguration, MsalService } from '@azure/msal-angular';
6
6
  import { ApiServiceBase } from '../../data/base/api.service';
@@ -9,14 +9,13 @@ import * as i0 from "@angular/core";
9
9
  export declare class AuthService extends ApiServiceBase implements OnDestroy {
10
10
  protected http: HttpClient;
11
11
  private router;
12
- private routerState;
13
12
  private appContext;
14
13
  private msalGuardConfig;
15
14
  private msalService;
16
15
  private msalBroadcastService;
17
16
  private readonly msalDestroying$;
18
17
  private initialized;
19
- constructor(http: HttpClient, router: Router, routerState: RouterStateSnapshot, appContext: AppContextService, msalGuardConfig: MsalGuardConfiguration, msalService: MsalService, msalBroadcastService: MsalBroadcastService);
18
+ constructor(http: HttpClient, router: Router, appContext: AppContextService, msalGuardConfig: MsalGuardConfiguration, msalService: MsalService, msalBroadcastService: MsalBroadcastService);
20
19
  ngOnDestroy(): void;
21
20
  private init;
22
21
  private setDefaults;
@@ -2,7 +2,7 @@ export declare const MSALStorageKeys: {
2
2
  redirectTo: string;
3
3
  };
4
4
  export declare class MSALStorage {
5
- static saveRedirectState(redirectTo: any, calledBy: string): void;
5
+ static saveRedirectState(redirectTo: string, calledBy: string): void;
6
6
  static getRedirectState(calledBy: string): string;
7
7
  static clearRedirectState(calledBy: string): void;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovitny/anatoly",
3
- "version": "3.16.34",
3
+ "version": "3.16.36",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "16.2.7",
6
6
  "@angular/core": "16.2.7",