From 369952c10256b0093b1cb7b5fd2958c62e6d50f4 Mon Sep 17 00:00:00 2001 From: ost-ptk Date: Thu, 5 Dec 2024 11:17:48 +0200 Subject: [PATCH] update bringweb3 to the latest version --- package-lock.json | 14 +++++++------- package.json | 2 +- src/content/index.ts | 1 + 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index e0eb3e15..9ce5e69a 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", @@ -31449,9 +31449,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 32e32ce5..83cb89a3 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/index.ts b/src/content/index.ts index 5ce5133d..b61ecb3d 100644 --- a/src/content/index.ts +++ b/src/content/index.ts @@ -190,6 +190,7 @@ bringInitContentScript({ ], // 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',