@arsedizioni/ars-utils 18.2.138 → 18.2.140
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/clipper.ui/ui/document-menu/document-menu.component.d.ts +1 -1
- package/esm2022/clipper.common/common/services/clipper.service.mjs +3 -2
- package/esm2022/clipper.ui/ui/document/document.component.mjs +3 -3
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +2 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +2 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -1817,7 +1817,7 @@ class ClipperService {
|
|
|
1817
1817
|
this._servicePrefix = value;
|
|
1818
1818
|
}
|
|
1819
1819
|
constructor() {
|
|
1820
|
-
this.REFRESH_INTERVAL = 60000 *
|
|
1820
|
+
this.REFRESH_INTERVAL = 60000 * 1; //50 min
|
|
1821
1821
|
this.httpClient = inject(HttpClient);
|
|
1822
1822
|
this.broadcastService = inject(BroadcastService);
|
|
1823
1823
|
this.dialogService = inject(DialogService);
|
|
@@ -1921,6 +1921,7 @@ class ClipperService {
|
|
|
1921
1921
|
if (this.refreshing || !this.loggedIn())
|
|
1922
1922
|
return EMPTY;
|
|
1923
1923
|
this.refreshing = true;
|
|
1924
|
+
console.log("token-refreshing");
|
|
1924
1925
|
this.refresh().subscribe({
|
|
1925
1926
|
error: () => { this.refreshing = false; },
|
|
1926
1927
|
complete: () => { this.refreshing = false; }
|