diff --git a/app/components/UI/Collectibles/index.js b/app/components/UI/Collectibles/index.js index 8c921f3ca80..ae27fa59c22 100644 --- a/app/components/UI/Collectibles/index.js +++ b/app/components/UI/Collectibles/index.js @@ -109,7 +109,7 @@ export default class Collectibles extends Component { removeCollectible = () => { const { AssetsController } = Engine.context; - AssetsController.removeCollectible(this.collectibleToRemove.address, this.collectibleToRemove.tokenId); + AssetsController.removeAndIgnoreCollectible(this.collectibleToRemove.address, this.collectibleToRemove.tokenId); Alert.alert(strings('wallet.collectible_removed_title'), strings('wallet.collectible_removed_desc')); }; diff --git a/app/components/UI/Tokens/index.js b/app/components/UI/Tokens/index.js index 68c3ef69599..24e37edb8ac 100644 --- a/app/components/UI/Tokens/index.js +++ b/app/components/UI/Tokens/index.js @@ -184,7 +184,7 @@ export default class Tokens extends PureComponent { removeToken = () => { const { AssetsController } = Engine.context; - AssetsController.removeToken(this.tokenToRemove.address); + AssetsController.removeAndIgnoreToken(this.tokenToRemove.address); Alert.alert(strings('wallet.token_removed_title'), strings('wallet.token_removed_desc')); }; diff --git a/package-lock.json b/package-lock.json index 41ae07ddba8..123da6d43f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6228,7 +6228,7 @@ "resolved": "https://registry.npmjs.org/eth-sig-util/-/eth-sig-util-1.4.2.tgz", "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=", "requires": { - "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git", + "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git#572d4bafe08a8a231137e1f9daeb0f8a23f197d2", "ethereumjs-util": "^5.1.1" } }, @@ -7493,8 +7493,7 @@ }, "ansi-regex": { "version": "2.1.1", - "bundled": true, - "optional": true + "bundled": true }, "aproba": { "version": "1.2.0", @@ -7512,13 +7511,11 @@ }, "balanced-match": { "version": "1.0.0", - "bundled": true, - "optional": true + "bundled": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, - "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -7531,18 +7528,15 @@ }, "code-point-at": { "version": "1.1.0", - "bundled": true, - "optional": true + "bundled": true }, "concat-map": { "version": "0.0.1", - "bundled": true, - "optional": true + "bundled": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true, - "optional": true + "bundled": true }, "core-util-is": { "version": "1.0.2", @@ -7645,8 +7639,7 @@ }, "inherits": { "version": "2.0.3", - "bundled": true, - "optional": true + "bundled": true }, "ini": { "version": "1.3.5", @@ -7656,7 +7649,6 @@ "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, - "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -7669,20 +7661,17 @@ "minimatch": { "version": "3.0.4", "bundled": true, - "optional": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "0.0.8", - "bundled": true, - "optional": true + "bundled": true }, "minipass": { "version": "2.3.5", "bundled": true, - "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -7699,7 +7688,6 @@ "mkdirp": { "version": "0.5.1", "bundled": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -7772,8 +7760,7 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true, - "optional": true + "bundled": true }, "object-assign": { "version": "4.1.1", @@ -7783,7 +7770,6 @@ "once": { "version": "1.4.0", "bundled": true, - "optional": true, "requires": { "wrappy": "1" } @@ -7859,8 +7845,7 @@ }, "safe-buffer": { "version": "5.1.2", - "bundled": true, - "optional": true + "bundled": true }, "safer-buffer": { "version": "2.1.2", @@ -7890,7 +7875,6 @@ "string-width": { "version": "1.0.2", "bundled": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -7908,7 +7892,6 @@ "strip-ansi": { "version": "3.0.1", "bundled": true, - "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -7947,13 +7930,11 @@ }, "wrappy": { "version": "1.0.2", - "bundled": true, - "optional": true + "bundled": true }, "yallist": { "version": "3.0.3", - "bundled": true, - "optional": true + "bundled": true } } }, @@ -8027,9 +8008,9 @@ } }, "gaba": { - "version": "1.0.0-beta.71", - "resolved": "https://registry.npmjs.org/gaba/-/gaba-1.0.0-beta.71.tgz", - "integrity": "sha512-JCahMDDhdeFrOyeaNx9SHxDcE0YsozgPSojgu7SKE/pdSmJNmnbD+MO4V7B6MlkEJQZtuB2uiMyGwhnwhc8cvA==", + "version": "1.0.0-beta.72", + "resolved": "https://registry.npmjs.org/gaba/-/gaba-1.0.0-beta.72.tgz", + "integrity": "sha512-InoC/pTUlopKOikTfQgpdQu2SlI8dTZvn0xeVGFb10I56YggDUjF1YQoVzwr0kYtGaQGIWRha4tLCw59zZjUhw==", "requires": { "await-semaphore": "^0.1.3", "eth-contract-metadata": "github:MetaMask/eth-contract-metadata#faa4f56fb17b3ae8579df68708be59d617732f31", @@ -18100,7 +18081,7 @@ "resolved": "https://registry.npmjs.org/web3/-/web3-0.20.7.tgz", "integrity": "sha512-VU6/DSUX93d1fCzBz7WP/SGCQizO1rKZi4Px9j/3yRyfssHyFcZamMw2/sj4E8TlfMXONvZLoforR8B4bRoyTQ==", "requires": { - "bignumber.js": "git+https://github.com/frozeman/bignumber.js-nolookahead.git", + "bignumber.js": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", "crypto-js": "^3.1.4", "utf8": "^2.1.1", "xhr2-cookies": "^1.1.0", @@ -18144,7 +18125,7 @@ "resolved": "https://registry.npmjs.org/eth-sig-util/-/eth-sig-util-1.4.2.tgz", "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=", "requires": { - "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git", + "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git#572d4bafe08a8a231137e1f9daeb0f8a23f197d2", "ethereumjs-util": "^5.1.1" } }, diff --git a/package.json b/package.json index 9432dd457d7..e0e6a9dd8c2 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "ethjs-unit": "0.1.6", "events": "3.0.0", "fuse.js": "3.4.4", - "gaba": "1.0.0-beta.71", + "gaba": "1.0.0-beta.72", "https-browserify": "0.0.1", "jsc-android": "236355.1.1", "multihashes": "0.4.14",