Skip to content

Commit

Permalink
fix: wallet connect local storage clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Argeare5 committed Nov 8, 2023
1 parent eb596a6 commit 19a950b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@bgd-labs/frontend-web3-utils",
"description": "Frontend utilities common to multiple Web3 projects",
"version": "0.4.26",
"version": "0.4.27",
"author": "BGD labs",
"license": "MIT",
"private": false,
Expand Down
3 changes: 3 additions & 0 deletions src/utils/localStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,7 @@ export const clearWalletConnectV2LocalStorage = () => {
localStorage.removeItem('wc@2:core:0.3//pairing');
localStorage.removeItem('wc@2:universal_provider:/optionalNamespaces');
localStorage.removeItem('wc@2:core:0.3//keychain');
localStorage.removeItem('wc@2:client:0.3//session');
localStorage.removeItem('wc@2:universal_provider:/sessionProperties');
localStorage.removeItem('wc@2:ethereum_provider:/chainId');
};

0 comments on commit 19a950b

Please sign in to comment.