Skip to content

Commit

Permalink
v5.3.1: fix EVM wallet is not necessarly ethereum -> generic web3wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Sep 20, 2021
1 parent 9a436df commit 4ee13f3
Show file tree
Hide file tree
Showing 11 changed files with 109 additions and 109 deletions.
10 changes: 5 additions & 5 deletions dist/cjs/index.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/es/index.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/umd/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "depay-web3-wallets",
"moduleName": "Web3Wallets",
"version": "5.3.0",
"version": "5.3.1",
"description": "One-Stop-Shop JavaScript library to integrate various web3 crypto wallets and multiple blockchains at once with a single interface.",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import EVMWallet from './wallets/EVMWallet'
import Web3Wallet from './wallets/Web3Wallet'
import MetaMask from './wallets/MetaMask'
import Coinbase from './wallets/Coinbase'
import Wallet from './wallets/Wallet'
Expand All @@ -10,7 +10,7 @@ let getWallet = function () {
} else if (typeof window.ethereum === 'object' && window.ethereum.isCoinbaseWallet) {
return new Coinbase()
} else {
return new EVMWallet()
return new Web3Wallet()
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/wallets/Coinbase.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 0 additions & 85 deletions src/wallets/EVMWallet.js

This file was deleted.

4 changes: 2 additions & 2 deletions src/wallets/MetaMask.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4ee13f3

Please sign in to comment.