Release changes
Updates related to imToken WebView.
Breaking Changes
No longer auto adds patches for web3.js send errors
There is a bug in web3.js
version 1.3.0
where the send function cannot be found, you can find a discussion of this in the web3.js
repository: issue#3790, pr#3649, etc. this is usually displayed as the following error log:
In previous versions, the imToken App would automatically add a patch to fix bugs from third parties, but this had some side effects and we will remove the automatically applied patch starting with version 2.9.4
of the imToken App.
This is a bug from web3.js
, so we recommend that you upgrade or downgrade the web3.js
package to fix this issue.
No longer injecting web3.js
Starting in 2021, the imToken App will no longer inject the web3.js
API, so if you are still using such libraries, please package web3.js inside your web app yourself.
MetaMask also stopped injecting web3.js in early 2021. You can also read this article by MetaMask, which explains in detail why web3.js needs to be removed completely.
Last updated