Skip to content

Commit

Permalink
Update links for MM, Coinbase and Trust wallet to deeplink to app (bl…
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamj1232 authored Oct 2, 2023
1 parent 15cdb93 commit 2b6ce76
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 17 deletions.
2 changes: 1 addition & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@web3-onboard/gas": "^2.1.7",
"@web3-onboard/gnosis": "^2.1.10",
"@web3-onboard/infinity-wallet": "^2.0.3",
"@web3-onboard/injected-wallets": "^2.10.6",
"@web3-onboard/injected-wallets": "^2.10.7-alpha.1",
"@web3-onboard/keepkey": "^2.3.7",
"@web3-onboard/keystone": "^2.3.7",
"@web3-onboard/ledger": "^2.5.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
// displayUnavailable: true,
// ||
// display specific unavailable wallets
displayUnavailable: [ProviderLabel.MetaMask, ProviderLabel.Trust]
displayUnavailable: [ProviderLabel.MetaMask, ProviderLabel.Trust, ProviderLabel.Phantom]
// but only show Binance and Bitski wallet if they are available
// filter: {
// [ProviderLabel.Binance]: 'unavailable',
Expand Down
2 changes: 1 addition & 1 deletion packages/injected/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/injected-wallets",
"version": "2.10.7-alpha.1",
"version": "2.10.7-alpha.2",
"description": "Injected wallet module for connecting browser extension and mobile wallets to Web3-Onboard. 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, 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",
Expand Down
2 changes: 1 addition & 1 deletion packages/injected/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const defaultWalletUnavailableMsg = ({
externalUrl
}: InjectedWalletModule) =>
externalUrl
? `Please <a href="${externalUrl}" target="_blank">install</a> or enable ${label} to continue`
? `Please <a href="${externalUrl}" target="_blank">install or switch to</a> ${label} to continue`
: `Please install or enable ${label} to continue`

export const isWalletAvailable = (
Expand Down
8 changes: 4 additions & 4 deletions packages/injected/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ export enum ProviderIdentityFlag {
export enum ProviderExternalUrl {
Binance = 'https://www.bnbchain.org/ru/blog/binance-extension-wallet/',
BitKeep = 'https://bitkeep.com/en/download?type=0',
Coinbase = 'https://www.coinbase.com/wallet/downloads',
MetaMask = 'https://metamask.io/download/',
Coinbase = 'https://go.cb-w.com/dapp',
MetaMask = 'https://metamask.app.link/dapp/',
OKXWallet = 'https://okx.com/download',
Phantom = 'https://phantom.app/download',
Phantom = 'https://phantom.app/ul/v1/connect',
Talisman = 'https://www.talisman.xyz/',
Trust = 'https://trustwallet.com/download/',
Trust = 'https://link.trustwallet.com',
OneKey = 'https://onekey.so/download/',
RoninWallet = 'https://wallet.skymavis.com/',
Coin98Wallet = 'https://coin98.com/wallet/',
Expand Down
9 changes: 0 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4092,15 +4092,6 @@
"@walletconnect/window-getters" "^1.0.1"
tslib "1.14.1"

"@web3-onboard/injected-wallets@^2.10.6":
version "2.10.6"
resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.10.6.tgz#8ba357e176f3261d57204742e2ee2ca683592784"
integrity sha512-/3mp+0ML478JuUXF0D1m5Nq83HMkfpdd8BcJJ//qN0Laxi+I2obquT47pcqbkRTwNAxpjzlpprjhN6V78bCF3g==
dependencies:
"@web3-onboard/common" "^2.3.3"
joi "17.9.1"
lodash.uniqby "^4.7.0"

"@web3-react/abstract-connector@^6.0.7":
version "6.0.7"
resolved "https://registry.yarnpkg.com/@web3-react/abstract-connector/-/abstract-connector-6.0.7.tgz#401b3c045f1e0fab04256311be49d5144e9badc6"
Expand Down

0 comments on commit 2b6ce76

Please sign in to comment.