asp-lib 1.0.25 → 1.0.26

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.
@@ -57,6 +57,7 @@ export declare class HeaderComponent {
57
57
  dropdownOptionsMenu: DropdownOptions[];
58
58
  constructor(services: SecurityServices, router: Router);
59
59
  ngOnInit(): void;
60
+ isAuth(): import("rxjs").Observable<boolean>;
60
61
  handleOptionSelected(option: any): void;
61
62
  onItemClick(url: any): void;
62
63
  arrowClick($event: MouseEvent): void;
@@ -7,11 +7,13 @@ export declare class SecurityServices {
7
7
  static readonly MODULES = "/security/secure/modulelist";
8
8
  static readonly MODULE_OPTION = "/security/secure/optionsbymodule";
9
9
  static readonly COMPANIES_INFO = "/security/secure/getCompaniesInfo";
10
+ static readonly VERIFY_AUTH = "/security/secure/validatesession";
10
11
  constructor(http: HttpClient);
11
12
  getHistory(baseUrl: string): Observable<Object>;
12
13
  getModules(baseUrl: string): Observable<Object>;
13
14
  menuModuleSelected(baseUrl: string, appId: any): Observable<Object>;
14
15
  getCompaniesInfo(baseUrl: string): Observable<Object>;
16
+ isAuthenticated(baseUrl: string): Observable<Object>;
15
17
  static ɵfac: i0.ɵɵFactoryDeclaration<SecurityServices, never>;
16
18
  static ɵprov: i0.ɵɵInjectableDeclaration<SecurityServices>;
17
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asp-lib",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.2.0 <20.0.0",
6
6
  "@angular/core": ">=16.2.0 <20.0.0",