@hkdigital/lib-sveltekit 0.1.98 → 0.1.99
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.
@@ -357,15 +357,15 @@ export default class IndexedDbCache {
|
|
357
357
|
}
|
358
358
|
|
359
359
|
// Update access timestamp (but don't block)
|
360
|
-
this._updateAccessTime(key).catch((err) => {
|
361
|
-
|
362
|
-
});
|
360
|
+
// this._updateAccessTime(key).catch((err) => {
|
361
|
+
// console.error('Failed to update access time:', err);
|
362
|
+
// });
|
363
363
|
|
364
364
|
// Check if from a different cache version
|
365
365
|
if (entry.cacheVersion !== this.cacheVersion) {
|
366
|
-
|
367
|
-
|
368
|
-
|
366
|
+
console.log(
|
367
|
+
`Migrating entry ${key} from version ${entry.cacheVersion} to ${this.cacheVersion}`
|
368
|
+
);
|
369
369
|
|
370
370
|
// Clone the entry for migration
|
371
371
|
const migratedEntry = {
|