diff --git a/package.json b/package.json index 8e1cdd3c88..e2242acaf9 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "@radix-ui/react-select": "1.2.1", "@radix-ui/react-tabs": "1.0.4", "@radix-ui/react-tooltip": "1.0.3", - "@rainbow-me/provider": "0.1.0", + "@rainbow-me/provider": "0.1.1", "@rainbow-me/swaps": "0.19.0", "@rudderstack/analytics-js-service-worker": "3.0.6", "@scure/bip39": "1.2.1", @@ -327,4 +327,4 @@ "wagmi>@wagmi/connectors>@metamask/sdk>eciesjs>secp256k1": false } } -} \ No newline at end of file +} diff --git a/src/entries/background/handlers/handleProviderRequest.ts b/src/entries/background/handlers/handleProviderRequest.ts index d95fe247f9..9a988fa6fe 100644 --- a/src/entries/background/handlers/handleProviderRequest.ts +++ b/src/entries/background/handlers/handleProviderRequest.ts @@ -250,6 +250,8 @@ export const handleProviderRequest = ({ SUPPORTED_CHAIN_IDS.includes(chainId) || isCustomChain(chainId), getActiveSession: ({ host }: { host: string }) => appSessionsStore.getState().getActiveSession({ host }), + removeAppSession: ({ host }: { host: string }) => + appSessionsStore.getState().removeAppSession({ host }), getChainNativeCurrency: (chainId: number) => SUPPORTED_CHAINS.find((chain) => chain.id === Number(chainId)) ?.nativeCurrency, diff --git a/src/entries/popup/pages/home/Tokens.tsx b/src/entries/popup/pages/home/Tokens.tsx index f8c22bf658..6d0f23ecb6 100644 --- a/src/entries/popup/pages/home/Tokens.tsx +++ b/src/entries/popup/pages/home/Tokens.tsx @@ -517,10 +517,11 @@ function TokensEmptyState({ depositAddress }: EmptyStateProps) { borderRadius="16px" padding="16px" style={{ - boxShadow: `0 0 0 1px ${currentTheme === 'dark' + boxShadow: `0 0 0 1px ${ + currentTheme === 'dark' ? 'rgba(245, 248, 255, 0.025)' : 'rgba(9, 17, 31, 0.03)' - } inset`, + } inset`, }} > @@ -576,10 +577,11 @@ function TokensEmptyState({ depositAddress }: EmptyStateProps) { borderRadius="16px" padding="16px" style={{ - boxShadow: `0 0 0 1px ${currentTheme === 'dark' + boxShadow: `0 0 0 1px ${ + currentTheme === 'dark' ? 'rgba(245, 248, 255, 0.025)' : 'rgba(9, 17, 31, 0.03)' - } inset`, + } inset`, }} > diff --git a/yarn.lock b/yarn.lock index 1844a7d56a..ac469299c2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3527,10 +3527,10 @@ dependencies: "@babel/runtime" "^7.13.10" -"@rainbow-me/provider@0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@rainbow-me/provider/-/provider-0.1.0.tgz#7b577604be26f3397085f90b3440aa7528e71e03" - integrity sha512-Omn4GTA92aRMRKj+cT/ixP/aQYCt5WXTQ1ZTBYt4E2B99s68MKlIAKLvqXMtk9KuhMJm5H1rUtjViZ3uuudfvA== +"@rainbow-me/provider@0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@rainbow-me/provider/-/provider-0.1.1.tgz#41e786798bc032327d1f5de582eceb14dddb556d" + integrity sha512-VLISTlu3waIByb3D6izLUB/XbNDZ4VKH8L78fwIwyiC2+Npel8ghGiM/xAlzb/CDgAmA7duWplb/mAzCYWg2fw== dependencies: "@ethersproject/abstract-provider" "5.7.0" "@ethersproject/bignumber" "5.7.0"