diff --git a/package-lock.json b/package-lock.json index 0e534ea2..c600b79b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "Casper Wallet", "version": "1.12.0", "dependencies": { - "@bringweb3/chrome-extension-kit": "^1.1.12", + "@bringweb3/chrome-extension-kit": "^1.2.4", "@formatjs/intl": "2.10.4", "@hookform/resolvers": "2.9.10", "@lapo/asn1js": "1.2.4", @@ -2501,9 +2501,9 @@ "dev": true }, "node_modules/@bringweb3/chrome-extension-kit": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/@bringweb3/chrome-extension-kit/-/chrome-extension-kit-1.1.12.tgz", - "integrity": "sha512-secOPnTvymcbYzpKIXNftbChrejURnjIFPo3crh6QKK+61y2Fz4eGlNnfzwasaX5ZXscXztIUV4cSVZH8xbFnQ==" + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@bringweb3/chrome-extension-kit/-/chrome-extension-kit-1.2.4.tgz", + "integrity": "sha512-m0zBixNx+YWxtLZ4KX7NNhM+BeQC4RJEPuHISUfiRyyQw4KT5+F3cmXcJWOu0cDHT4KcLwfshPPFfEaI1Ewvgg==" }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", @@ -31518,9 +31518,9 @@ "dev": true }, "@bringweb3/chrome-extension-kit": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/@bringweb3/chrome-extension-kit/-/chrome-extension-kit-1.1.12.tgz", - "integrity": "sha512-secOPnTvymcbYzpKIXNftbChrejURnjIFPo3crh6QKK+61y2Fz4eGlNnfzwasaX5ZXscXztIUV4cSVZH8xbFnQ==" + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@bringweb3/chrome-extension-kit/-/chrome-extension-kit-1.2.4.tgz", + "integrity": "sha512-m0zBixNx+YWxtLZ4KX7NNhM+BeQC4RJEPuHISUfiRyyQw4KT5+F3cmXcJWOu0cDHT4KcLwfshPPFfEaI1Ewvgg==" }, "@cspotcode/source-map-support": { "version": "0.8.1", diff --git a/package.json b/package.json index ee9d2851..d64bda53 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "styled-components": "^5" }, "dependencies": { - "@bringweb3/chrome-extension-kit": "^1.1.12", + "@bringweb3/chrome-extension-kit": "^1.2.4", "@formatjs/intl": "2.10.4", "@hookform/resolvers": "2.9.10", "@lapo/asn1js": "1.2.4", diff --git a/src/content/bring.ts b/src/content/bring.ts index 0f52179b..8e11fa7c 100644 --- a/src/content/bring.ts +++ b/src/content/bring.ts @@ -48,6 +48,7 @@ export const initBringScript = () => { ], // A list of custom events that dispatched when the user's wallet address had changed theme: theme, text: 'lower', + switchWallet: false, darkTheme: { fontFamily: '"Inter", sans-serif', popupBg: '#18181F',