@esfaenza/httpservice 16.2.0 → 16.2.5
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.
|
@@ -13,7 +13,6 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
export declare class HTTPService {
|
|
14
14
|
private EXTENSION_CLASS;
|
|
15
15
|
private HTTP_INVALIDATION;
|
|
16
|
-
private APP_NAME;
|
|
17
16
|
private CLIENT_CACHE_DURATION_S;
|
|
18
17
|
private CACHE_BY_USER;
|
|
19
18
|
private HTTP_DEBUG_MODE;
|
|
@@ -46,10 +45,20 @@ export declare class HTTPService {
|
|
|
46
45
|
private ExtensionsImpl;
|
|
47
46
|
/** Lista delle ultime 3 chiamate completate con successo in ordine di completamento (in posizione 0 c'è l'ultima completata eccetera...) */
|
|
48
47
|
LastThreeCompletedCalls: string[];
|
|
48
|
+
private CacheInitialized;
|
|
49
49
|
/**
|
|
50
50
|
* @ignore
|
|
51
51
|
*/
|
|
52
|
-
constructor(EXTENSION_CLASS: HttpServiceExtensions, HTTP_INVALIDATION: any,
|
|
52
|
+
constructor(EXTENSION_CLASS: HttpServiceExtensions, HTTP_INVALIDATION: any, CLIENT_CACHE_DURATION_S: any, CACHE_BY_USER: boolean, HTTP_DEBUG_MODE: boolean, bc: BaseLocalization, http: HttpClient, localStorage: CacheService, hash: HashingService, utisExts: UtilityService);
|
|
53
|
+
setAppConfig(myconfig: {
|
|
54
|
+
AppData: {
|
|
55
|
+
ModuleId: string;
|
|
56
|
+
ModuleDefId: number;
|
|
57
|
+
ComponentEnvironment: string;
|
|
58
|
+
ComponentVersion: string;
|
|
59
|
+
ModuleDescription: string;
|
|
60
|
+
};
|
|
61
|
+
}): void;
|
|
53
62
|
/**
|
|
54
63
|
* Se vedo che ci sono elementi salvati nel localStorage provo a toglierli e a risalvarli via preference.
|
|
55
64
|
* Nel caso migliore li sposto dal localStorage al DB di preference, nel caso peggiore li tolgo e li risalvo nel localStorage
|
|
@@ -365,6 +374,6 @@ export declare class HTTPService {
|
|
|
365
374
|
beginTransaction(executionKey: string, secondsTimeout?: number): Observable<string>;
|
|
366
375
|
checkTransaction(executionKey: string): Observable<number>;
|
|
367
376
|
endTransaction(transactionKey: string, transactionResult: boolean): Observable<string>;
|
|
368
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HTTPService, [null, { optional: true; }, null, null, null, null, null, null, null, null
|
|
377
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HTTPService, [null, { optional: true; }, null, null, null, null, null, null, null, null]>;
|
|
369
378
|
static ɵprov: i0.ɵɵInjectableDeclaration<HTTPService>;
|
|
370
379
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esfaenza/httpservice",
|
|
3
|
-
"version": "16.2.
|
|
3
|
+
"version": "16.2.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^16.2.12",
|
|
6
6
|
"@angular/core": "^16.2.12",
|
|
7
|
-
"@esfaenza/extensions": "^16.2.
|
|
8
|
-
"@esfaenza/localizations": "^16.2.
|
|
9
|
-
"@esfaenza/preferences": "^16.2.
|
|
7
|
+
"@esfaenza/extensions": "^16.2.5",
|
|
8
|
+
"@esfaenza/localizations": "^16.2.5",
|
|
9
|
+
"@esfaenza/preferences": "^16.2.5"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"tslib": "^2.3.0"
|