@osovitny/anatoly 3.16.28 → 3.16.30

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.
@@ -3,10 +3,10 @@ import * as i1 from "./pages/signin.page";
3
3
  import * as i2 from "./pages/signup.page";
4
4
  import * as i3 from "./pages/signout.page";
5
5
  import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/common/http";
7
- import * as i6 from "@angular/router";
6
+ import * as i5 from "@angular/router";
7
+ import * as i6 from "@angular/common/http";
8
8
  export declare class AnatolyIAMPagesModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AnatolyIAMPagesModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyIAMPagesModule, [typeof i1.SignInPage, typeof i2.SignUpPage, typeof i3.SignOutPage], [typeof i4.CommonModule, typeof i5.HttpClientModule, typeof i6.RouterModule], never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnatolyIAMPagesModule, [typeof i1.SignInPage, typeof i2.SignUpPage, typeof i3.SignOutPage], [typeof i4.CommonModule, typeof i5.RouterModule, typeof i6.HttpClientModule, typeof i5.RouterModule], never>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<AnatolyIAMPagesModule>;
12
12
  }
@@ -3,4 +3,4 @@ import { SignInPage } from "./pages/signin.page";
3
3
  import { SignOutPage } from "./pages/signout.page";
4
4
  import { SignUpPage } from "./pages/signup.page";
5
5
  export declare const IAMRouterModule: import("@angular/core").ModuleWithProviders<RouterModule>;
6
- export declare const PAGES: (typeof SignInPage | typeof SignOutPage | typeof SignUpPage)[];
6
+ export declare const PAGES: (typeof SignInPage | typeof SignUpPage | typeof SignOutPage)[];
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
6
6
  import * as i1 from "@angular/common";
7
7
  import * as i2 from "@angular/common/http";
8
8
  import * as i3 from "@azure/msal-angular";
9
- export declare const MSALProviders: (typeof MsalService | typeof MsalBroadcastService | typeof AuthService | typeof AuthenticationGuard | typeof AdminGuard | {
9
+ export declare const MSALProviders: (typeof AuthService | typeof AdminGuard | typeof AuthenticationGuard | typeof MsalService | typeof MsalBroadcastService | {
10
10
  provide: import("@angular/core").InjectionToken<import("@angular/common/http").HttpInterceptor[]>;
11
11
  useClass: typeof MsalInterceptor;
12
12
  multi: boolean;
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { OnDestroy } from '@angular/core';
3
- import { Router } from '@angular/router';
3
+ import { Router, RouterStateSnapshot } 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,13 +9,14 @@ 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;
12
13
  private appContext;
13
14
  private msalGuardConfig;
14
15
  private msalService;
15
16
  private msalBroadcastService;
16
17
  private readonly msalDestroying$;
17
18
  private initialized;
18
- constructor(http: HttpClient, router: Router, appContext: AppContextService, msalGuardConfig: MsalGuardConfiguration, msalService: MsalService, msalBroadcastService: MsalBroadcastService);
19
+ constructor(http: HttpClient, router: Router, routerState: RouterStateSnapshot, appContext: AppContextService, msalGuardConfig: MsalGuardConfiguration, msalService: MsalService, msalBroadcastService: MsalBroadcastService);
19
20
  ngOnDestroy(): void;
20
21
  private init;
21
22
  private setDefaults;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovitny/anatoly",
3
- "version": "3.16.28",
3
+ "version": "3.16.30",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "16.2.7",
6
6
  "@angular/core": "16.2.7",