Remove dcl-catalyst-client dep and use @dcl/hash instead
Why ?
When we try to install @dcl/buidler-client on our linker dapp (CRA app), it fails because dcl-catalyst-common dependency uses a tsconfig target 2020 (i.e. non-nullish operator ??) and with webpack 4 we can't use them in a easy way.
So in order to be able to use this module there are multiple options. (IMO)
Update the dcl-catalyst-commons to the latest version which targets to ES2018, or use @dcl/hashing instead of dcl-catalyst-common hashing fn that are deprecated, or update our cra version to react-scripts v5 ( I already tried this and its almost rewrite the entire app).
This PR goes with the @dcl/hash alternative but its up to you what to choose.
Any option will be ok for us, thanks in advance :)
What ?
Remove dcl-catalyst-client dep and use @dcl/hash instead
Why ?
When we try to install @dcl/buidler-client on our linker dapp (CRA app), it fails because dcl-catalyst-common dependency uses a tsconfig target 2020 (i.e. non-nullish operator ??) and with webpack 4 we can't use them in a easy way.
So in order to be able to use this module there are multiple options. (IMO) Update the dcl-catalyst-commons to the latest version which targets to ES2018, or use @dcl/hashing instead of dcl-catalyst-common hashing fn that are deprecated, or update our cra version to react-scripts v5 ( I already tried this and its almost rewrite the entire app).
This PR goes with the @dcl/hash alternative but its up to you what to choose. Any option will be ok for us, thanks in advance :)