Skip to content

Commit

Permalink
v1.4.2 (#993)
Browse files Browse the repository at this point in the history
* Fix incorrect hex string sent (#985)

* Update @fortawesome/fontawesome-free to the latest version 🚀 (#986)

* chore(package): update @fortawesome/fontawesome-free to version 5.7.2

* chore(package): update lockfile package-lock.json

* Greenkeeper/webpack 4.29.4 (#987)

* chore(package): update webpack to version 4.29.4

Closes #976

* chore(package): update lockfile package-lock.json

* Update babel7 to the latest version 🚀 (#977)

* chore(package): update @babel/plugin-proposal-decorators to version 7.3.0

* chore(package): update @babel/preset-env to version 7.3.1

* chore(package): update @babel/runtime to version 7.3.1

* chore(package): update lockfile package-lock.json

* Update webpack-bundle-analyzer to the latest version 🚀 (#983)

* chore(package): update webpack-bundle-analyzer to version 3.0.4

* chore(package): update lockfile package-lock.json

* Greenkeeper/keen analysis 3.3.1 (#988)

* chore(package): update keen-analysis to version 3.3.1

Closes #984

* chore(package): update lockfile package-lock.json

* Greenkeeper/bootstrap 4.3.1 (#989)

* chore(package): update bootstrap to version 4.3.1

Closes #982

* chore(package): update lockfile package-lock.json

* Greenkeeper/prop types 15.7.2 (#990)

* chore(package): update prop-types to version 15.7.2

Closes #981

* chore(package): update lockfile package-lock.json

* Greenkeeper/webpack cli 3.2.3 (#991)

* chore(package): update webpack-cli to version 3.2.3

Closes #978

* chore(package): update lockfile package-lock.json

* Greenkeeper/monorepo.react 20190214211053 (#992)

* chore(package): update react to version 16.8.2

Closes #980

* chore(package): update react-dom to version 16.8.2

Closes #980

* chore(package): update react-test-renderer to version 16.8.2

Closes #980

* chore(package): update lockfile package-lock.json

* Package-lock

* 1.4.2
  • Loading branch information
josipbagaric authored Feb 15, 2019
1 parent 7de64d6 commit 50f7493
Show file tree
Hide file tree
Showing 4 changed files with 2,071 additions and 2,165 deletions.
6 changes: 5 additions & 1 deletion app/services/token-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ export default class TokenHelper {
const supportsEIP165 = await this._web3Service.supportsEIP165(address);

if (!supportsEIP165) {
return false;
return {
ERC721: false,
safeTransferFrom: false,
getApproved: false
};
}

const INTERFACE_ERC_721 = '0x80ac58cd'; // ERC721 with safeTransferFrom and getApproved
Expand Down
1 change: 1 addition & 0 deletions app/services/web3.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ export default class Web3Service {
}

toBoolean(hexString) {
if (hexString === '0x') hexString = '0x0';
return this.web3.toBigNumber(hexString).toString() === '1';
}

Expand Down
Loading

0 comments on commit 50f7493

Please sign in to comment.