@web3-onboard/injected-wallets
Advanced tools
Comparing version 2.9.0-alpha.1 to 2.9.0-viemtest.1
@@ -11,3 +11,2 @@ export class ProviderRpcError extends Error { | ||
export const isWalletAvailable = (provider, checkProviderIdentity, device) => { | ||
var _a; | ||
// No injected providers exist. | ||
@@ -24,3 +23,3 @@ if (!provider) { | ||
// into a providers array at window.ethereum | ||
return !!((_a = provider.providers) === null || _a === void 0 ? void 0 : _a.some(provider => checkProviderIdentity({ provider, device }))); | ||
return !!provider.providers?.some(provider => checkProviderIdentity({ provider, device })); | ||
}; |
{ | ||
"name": "@web3-onboard/injected-wallets", | ||
"version": "2.9.0-alpha.1", | ||
"version": "2.9.0-viemtest.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.", | ||
@@ -63,7 +63,7 @@ "keywords": [ | ||
"ts-node": "^10.2.1", | ||
"typescript": "^4.5.5", | ||
"typescript": "^4.9.4", | ||
"window": "^4.2.7" | ||
}, | ||
"dependencies": { | ||
"@web3-onboard/common": "^2.3.2", | ||
"@web3-onboard/common": "^2.4.0-viemtest.1", | ||
"joi": "17.9.1", | ||
@@ -70,0 +70,0 @@ "lodash.uniqby": "^4.7.0" |
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
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
448823
3486