http-request-manager 18.13.4 → 18.13.6
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.
|
@@ -904,7 +904,7 @@ class QueryTrackerStateModel {
|
|
|
904
904
|
const TRACKER_STORE_NAME = 'query_params_tracker';
|
|
905
905
|
const TRACKER_SESSION_INIT_KEY = 'query_params_tracker_initialized';
|
|
906
906
|
const DEFAULT_TRACKER_OPTIONS = SettingOptions.adapt({
|
|
907
|
-
storage: StorageType.
|
|
907
|
+
storage: StorageType.SESSION,
|
|
908
908
|
encrypted: false,
|
|
909
909
|
expiresIn: '1d',
|
|
910
910
|
});
|
|
@@ -7941,6 +7941,17 @@ class HTTPManagerStateService extends ComponentStore {
|
|
|
7941
7941
|
}
|
|
7942
7942
|
});
|
|
7943
7943
|
}
|
|
7944
|
+
clearTable(tableName) {
|
|
7945
|
+
this.dbManagerService.clearTable(tableName)
|
|
7946
|
+
.subscribe({
|
|
7947
|
+
next: () => {
|
|
7948
|
+
this.clearRequestCacheMetadata(tableName);
|
|
7949
|
+
},
|
|
7950
|
+
error: (err) => {
|
|
7951
|
+
console.error(`❌ Error clearing table ${tableName}:`, err);
|
|
7952
|
+
}
|
|
7953
|
+
});
|
|
7954
|
+
}
|
|
7944
7955
|
isEmpty(obj) {
|
|
7945
7956
|
return Object.keys(obj).length === 0;
|
|
7946
7957
|
}
|