diff --git a/src/lib/stores/store_versions.ts b/src/lib/stores/store_versions.ts index e350c40f..2330ea8a 100644 --- a/src/lib/stores/store_versions.ts +++ b/src/lib/stores/store_versions.ts @@ -30,8 +30,9 @@ * 'ae_events_loc' → AE_EVENTS_LOC_VERSION */ -export const AE_LOC_VERSION = 1; +export const AE_LOC_VERSION = 2; // Bumped 2026-03-30: force-clear stale site_cfg_json (novi_idaa_api_key missing bug) export const AE_EVENTS_LOC_VERSION = 1; +export const AE_IDAA_LOC_VERSION = 1; // Added 2026-03-30: was missing, no wipe mechanism existed // Version check side-effect: runs on import, before any persisted() call. // Guard presence of `localStorage` and its functions for safety (SSR, Node flags). @@ -42,6 +43,7 @@ if ( ) { _check_and_wipe('ae_loc', AE_LOC_VERSION); _check_and_wipe('ae_events_loc', AE_EVENTS_LOC_VERSION); + _check_and_wipe('ae_idaa_loc', AE_IDAA_LOC_VERSION); } function _check_and_wipe(key: string, expected_version: number): void {