Skip to content

Commit

Permalink
v2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Jun 21, 2021
1 parent 91debf3 commit ab2c3ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions dist/cjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ class MetaMask extends EthereumWallet$1 {constructor(...args) { super(...args);

}

let getWallet = function(){

let getWallet = function () {
if (typeof window.ethereum !== 'undefined') {
if (typeof window.ethereum === 'object' && window.ethereum.isMetaMask) {
return new MetaMask()
Expand Down
3 changes: 1 addition & 2 deletions dist/es/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ class MetaMask extends EthereumWallet$1 {constructor(...args) { super(...args);

}

let getWallet = function(){

let getWallet = function () {
if (typeof window.ethereum !== 'undefined') {
if (typeof window.ethereum === 'object' && window.ethereum.isMetaMask) {
return new MetaMask()
Expand Down
3 changes: 1 addition & 2 deletions dist/umd/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@

}

let getWallet = function(){

let getWallet = function () {
if (typeof window.ethereum !== 'undefined') {
if (typeof window.ethereum === 'object' && window.ethereum.isMetaMask) {
return new MetaMask()
Expand Down

0 comments on commit ab2c3ed

Please sign in to comment.