From 72e0c2310c00da5cb4cfc16da7ab1870d5054e5d Mon Sep 17 00:00:00 2001 From: Doug Richar Date: Wed, 22 Jan 2025 02:58:50 -0500 Subject: [PATCH] chore(core): update local storage key for v4 Update local storage key to prevent conflicts between v3 and v4 persisted state. This ensures users upgrading from v3 to v4 will start with fresh state rather than potentially incompatible stored data. --- packages/use-wallet/src/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/use-wallet/src/store.ts b/packages/use-wallet/src/store.ts index 91b90569..ff5ec254 100644 --- a/packages/use-wallet/src/store.ts +++ b/packages/use-wallet/src/store.ts @@ -35,7 +35,7 @@ export const DEFAULT_STATE: State = { export type PersistedState = Omit -export const LOCAL_STORAGE_KEY = '@txnlab/use-wallet:v3' +export const LOCAL_STORAGE_KEY = '@txnlab/use-wallet:v4' // State mutations