diff --git a/CHANGELOG.md b/CHANGELOG.md index a6361e8a6..14f90744d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# 1.18.1 (2022-09-18) + +## Fix + +[BCH] Reintroduction of error `Expected property "1" of type BigInteger, got n` [#2394](https://github.com/thorchain/asgardex-electron/issues/2394) + +## Add + # 1.18.0 (2022-08-29) ## Add diff --git a/craco.config.js b/craco.config.js index 4b390bd05..67330c9f3 100644 --- a/craco.config.js +++ b/craco.config.js @@ -17,11 +17,11 @@ module.exports = { // as described in https://github.com/bitcoinjs/bitcoinjs-lib/issues/959#issuecomment-351040758 // In our case (and to simplify things) we just disable ALL sources by setting `mangle` to `false // Very similar to https://github.com/ObsidianLabs/Black-IDE/blob/52a09abc63b49c6407e49e3acc100653c5ee5ca0/config-overrides.js#L28-L40 - webpackConfig.optimization.minimizer = webpackConfig.optimization.minimizer.map((minimizer) => { - if (minimizer instanceof TerserPlugin) { - minimizer.options.mangle = false + webpackConfig.optimization.minimizer = webpackConfig.optimization.minimizer.map((plugin) => { + if (plugin instanceof TerserPlugin) { + plugin.options.minimizer.options.mangle = false } - return minimizer + return plugin }) webpackConfig.resolve.fallback = { diff --git a/package.json b/package.json index 71bc09d5e..80338b171 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "asgardex", "productName": "ASGARDEX", - "version": "1.18.0", + "version": "1.18.1", "description": "WALLET AND EXCHANGE CLIENT FOR THORCHAIN", "main": "index.js", "scripts": {