diff --git a/package.json b/package.json index 103570062..fefaaf38c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web3-onboard-monorepo", - "version": "2.23.0", + "version": "2.23.1", "private": true, "workspaces": { "packages": [ diff --git a/packages/core/package.json b/packages/core/package.json index 6c1b78030..15ecce9c5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.19.1", + "version": "2.19.2", "description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/core/src/views/account-center/Maximized.svelte b/packages/core/src/views/account-center/Maximized.svelte index 71f94f771..f2c097f6a 100644 --- a/packages/core/src/views/account-center/Maximized.svelte +++ b/packages/core/src/views/account-center/Maximized.svelte @@ -75,6 +75,8 @@ connectedChain && connectedChain.id ) + $: primaryWalletOnMainnet = connectedChain && connectedChain.id === '0x1' + const { position } = accountCenter const { device } = configuration @@ -450,7 +452,7 @@ - {#if !$accountCenter$.hideTransactionProtectionBtn && connectedChain.id === '0x1'} + {#if !$accountCenter$.hideTransactionProtectionBtn && primaryWalletOnMainnet}
(enableTransactionProtection = true)} class="protect action-container flex items-center pointer" diff --git a/packages/demo/package.json b/packages/demo/package.json index e74c3f053..ce7c31943 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -26,7 +26,7 @@ "dependencies": { "@web3-onboard/cede-store": "^2.0.2", "@web3-onboard/coinbase": "^2.2.3", - "@web3-onboard/core": "^2.19.1", + "@web3-onboard/core": "^2.19.2", "@web3-onboard/dcent": "^2.2.7", "@web3-onboard/enkrypt": "^2.0.3", "@web3-onboard/fortmatic": "^2.0.18", diff --git a/packages/react/package.json b/packages/react/package.json index 3d23a6f3b..f9f5dea20 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.8.3", + "version": "2.8.4", "description": "A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -63,7 +63,7 @@ }, "dependencies": { "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.19.1", + "@web3-onboard/core": "^2.19.2", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/vue/package.json b/packages/vue/package.json index b1764f233..f12d69b3b 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.7.2", + "version": "2.7.3", "description": "A collection of Vue Composables for integrating Web3-Onboard in to a Vue or Nuxt project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -63,7 +63,7 @@ "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.19.1", + "@web3-onboard/core": "^2.19.2", "vue-demi": "^0.12.4" }, "peerDependencies": {