@osovitny/anatoly 3.17.72 → 3.17.73
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/esm2022/lib/core/core.module.mjs +3 -3
- package/esm2022/lib/core/interceptors/httpInterceptor.mjs +4 -23
- package/esm2022/lib/core/logging/globalErrorHandler.mjs +6 -6
- package/esm2022/lib/core/logging/logging.service.mjs +9 -5
- package/esm2022/lib/core/services/appcontext.service.mjs +4 -4
- package/esm2022/lib/core/services/google-analytics.service.mjs +5 -4
- package/esm2022/lib/core/services/starter.service.mjs +14 -9
- package/fesm2022/osovitny-anatoly.mjs +36 -45
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/lib/core/interceptors/httpInterceptor.d.ts +2 -2
- package/lib/core/logging/logging.service.d.ts +3 -2
- package/lib/core/services/starter.service.d.ts +3 -1
- package/package.json +1 -1
|
@@ -7,12 +7,12 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class AnatolyHttpInterceptor implements HttpInterceptor {
|
|
8
8
|
protected authService: AuthService;
|
|
9
9
|
protected loadingService: LoadingService;
|
|
10
|
-
protected
|
|
10
|
+
protected logger: LoggingService;
|
|
11
11
|
protected longRunningExceptions: string[];
|
|
12
12
|
protected authorizationTokenExceptions: string[];
|
|
13
13
|
protected autoCDNSASTokenUrls: string[];
|
|
14
14
|
protected externalSiteUrls: string[];
|
|
15
|
-
constructor(authService: AuthService, loadingService: LoadingService,
|
|
15
|
+
constructor(authService: AuthService, loadingService: LoadingService, logger: LoggingService);
|
|
16
16
|
private handleHttpRequest;
|
|
17
17
|
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
18
18
|
onRequestStart(loadingRequired: boolean): void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class LoggingService {
|
|
3
3
|
constructor();
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
info(info: any): void;
|
|
5
|
+
warn(info: any): void;
|
|
6
|
+
error(error: any): void;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoggingService, never>;
|
|
7
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoggingService>;
|
|
8
9
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { ApiServiceBase } from '../../data/base/api.service';
|
|
4
|
+
import { LoggingService } from '../logging/logging.service';
|
|
4
5
|
export declare abstract class StarterServiceBase extends ApiServiceBase {
|
|
5
6
|
protected http: HttpClient;
|
|
6
7
|
protected appContext: any;
|
|
7
|
-
|
|
8
|
+
protected logger: LoggingService;
|
|
9
|
+
constructor(http: HttpClient, appContext: any, logger: LoggingService);
|
|
8
10
|
private applicationStarting;
|
|
9
11
|
ensureApplicationStarted(): Observable<any>;
|
|
10
12
|
}
|