@web3-onboard/injected-wallets
Advanced tools
Comparing version 2.10.8 to 2.10.9-alpha.1
@@ -19,3 +19,3 @@ // Maps a wallet name from the provider to its display name | ||
frame: 'Frame', | ||
bitkeep: 'BitKeep', | ||
bitget: 'Bitget Wallet', | ||
sequence: 'Sequence', | ||
@@ -22,0 +22,0 @@ core: 'Core', |
@@ -85,3 +85,3 @@ import uniqBy from 'lodash.uniqby'; | ||
// default sort by alphabetical | ||
.sort((a, b) => a.label < b.label ? -1 : a.label > b.label ? 1 : 0); | ||
.sort((a, b) => (a.label < b.label ? -1 : a.label > b.label ? 1 : 0)); | ||
return sort ? sort(formattedWallets) : formattedWallets; | ||
@@ -88,0 +88,0 @@ } |
@@ -44,3 +44,3 @@ import type { ExternalProvider } from '@ethersproject/providers'; | ||
GameStop = "isGamestop", | ||
BitKeep = "isBitKeep", | ||
Bitget = "isBitKeep", | ||
Sequence = "isSequence", | ||
@@ -76,3 +76,3 @@ Core = "isAvalanche", | ||
Binance = "https://www.bnbchain.org/ru/blog/binance-extension-wallet/", | ||
BitKeep = "https://web3.bitget.com/en/wallet-download", | ||
Bitget = "https://web3.bitget.com/en/wallet-download", | ||
Coinbase = "https://www.coinbase.com/wallet/downloads", | ||
@@ -129,3 +129,3 @@ MetaMask = "https://metamask.io/download/", | ||
GameStop = "GameStop Wallet", | ||
BitKeep = "BitKeep", | ||
Bitget = "Bitget Wallet", | ||
Sequence = "Sequence", | ||
@@ -166,3 +166,3 @@ Core = "Core", | ||
GameStop = "gamestop", | ||
BitKeep = "bitkeep", | ||
Bitget = "bitkeep", | ||
Avalanche = "avalanche", | ||
@@ -169,0 +169,0 @@ Bitski = "Bitski", |
@@ -43,3 +43,3 @@ /** | ||
ProviderIdentityFlag["GameStop"] = "isGamestop"; | ||
ProviderIdentityFlag["BitKeep"] = "isBitKeep"; | ||
ProviderIdentityFlag["Bitget"] = "isBitKeep"; | ||
ProviderIdentityFlag["Sequence"] = "isSequence"; | ||
@@ -76,3 +76,3 @@ ProviderIdentityFlag["Core"] = "isAvalanche"; | ||
ProviderExternalUrl["Binance"] = "https://www.bnbchain.org/ru/blog/binance-extension-wallet/"; | ||
ProviderExternalUrl["BitKeep"] = "https://web3.bitget.com/en/wallet-download"; | ||
ProviderExternalUrl["Bitget"] = "https://web3.bitget.com/en/wallet-download"; | ||
ProviderExternalUrl["Coinbase"] = "https://www.coinbase.com/wallet/downloads"; | ||
@@ -130,3 +130,3 @@ ProviderExternalUrl["MetaMask"] = "https://metamask.io/download/"; | ||
ProviderLabel["GameStop"] = "GameStop Wallet"; | ||
ProviderLabel["BitKeep"] = "BitKeep"; | ||
ProviderLabel["Bitget"] = "Bitget Wallet"; | ||
ProviderLabel["Sequence"] = "Sequence"; | ||
@@ -160,3 +160,3 @@ ProviderLabel["Core"] = "Core"; | ||
InjectedNameSpace["GameStop"] = "gamestop"; | ||
InjectedNameSpace["BitKeep"] = "bitkeep"; | ||
InjectedNameSpace["Bitget"] = "bitkeep"; | ||
InjectedNameSpace["Avalanche"] = "avalanche"; | ||
@@ -163,0 +163,0 @@ InjectedNameSpace["Bitski"] = "Bitski"; |
@@ -473,7 +473,7 @@ import { createEIP1193Provider } from '@web3-onboard/common'; | ||
}; | ||
const bitkeep = { | ||
label: ProviderLabel.BitKeep, | ||
injectedNamespace: InjectedNameSpace.BitKeep, | ||
checkProviderIdentity: ({ provider }) => !!provider && !!provider['ethereum'][ProviderIdentityFlag.BitKeep], | ||
getIcon: async () => (await import('./icons/bitkeep.js')).default, | ||
const bitget = { | ||
label: ProviderLabel.Bitget, | ||
injectedNamespace: InjectedNameSpace.Bitget, | ||
checkProviderIdentity: ({ provider }) => !!provider && !!provider['ethereum'][ProviderIdentityFlag.Bitget], | ||
getIcon: async () => (await import('./icons/bitget.js')).default, | ||
getInterface: async () => ({ | ||
@@ -483,3 +483,3 @@ provider: window.bitkeep && window.bitkeep.ethereum | ||
platforms: ['all'], | ||
externalUrl: ProviderExternalUrl.BitKeep | ||
externalUrl: ProviderExternalUrl.Bitget | ||
}; | ||
@@ -654,4 +654,3 @@ const sequence = { | ||
injectedNamespace: InjectedNameSpace.Ethereum, | ||
checkProviderIdentity: ({ provider }) => !!provider && | ||
!!provider[ProviderIdentityFlag.Fordefi], | ||
checkProviderIdentity: ({ provider }) => !!provider && !!provider[ProviderIdentityFlag.Fordefi], | ||
getIcon: async () => (await import('./icons/fordefi.js')).default, | ||
@@ -721,2 +720,3 @@ getInterface: getInjectedInterface(ProviderIdentityFlag.Fordefi, true), | ||
atoken, | ||
bitget, | ||
bitpie, | ||
@@ -742,3 +742,2 @@ blockwallet, | ||
gamestop, | ||
bitkeep, | ||
sequence, | ||
@@ -745,0 +744,0 @@ core, |
{ | ||
"name": "@web3-onboard/injected-wallets", | ||
"version": "2.10.8", | ||
"version": "2.10.9-alpha.1", | ||
"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.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -79,3 +79,3 @@ # @web3-onboard/injected-wallets | ||
- Gamestop - _Desktop_ | ||
- Bitkeep - _Desktop & Mobile_ | ||
- Bitget - _Desktop & Mobile_ | ||
- Sequence - _Desktop & Mobile_ | ||
@@ -82,0 +82,0 @@ - Core - _Desktop_ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
480282
3853
1