3.0.1 • Published 5 years ago
@uniqys/qurage-link-lib v3.0.1
@uniqys/qurage-link-lib
Installation
$ npm i @uniqys/qurage-link-lib # requires npm >= 6.9.0
$ yarn add @uniqys/qurage-link-libDocs
Changelog
3.0.1
- Support CommonJS
3.0.0
- Change
window.ethereumto be injected as a provider - Add
window.web3['1.0']as a web3 v1.0 object, which was formerlywindow.ethereum - Add
window.web3['0.20']as a web3 v0.20 object (same aswindow.web3) - Add network info to sign requests.
- Fix bug: wrong redirecting when linked by deep linking on PC
- Fix bug: sending transaction with no gas parameter when using
web3.eth.Contract
2.1.0
- Add the parameter
isQurageLinktowindow.web3.currentProviderandwindow.ethereum.currentProvider - Bug fix of link by QR code
- If you use deep linking once and you do not cancel it, the link by QR code is handled as that of deep linking.
2.0.0
- Remove
ResultCallbackinterface- Use
Callback<JsonRPCResponse>instead
- Use
- Change the type of
callbackused as an argument ofsendmethod toCallback<JsonRPCResponse> - Replace
window.web3.currentProviderwith Ethereum Provider- It is the same as
window.ethereum.currentProvider
- It is the same as
- Support
eth_signTypedDataV3forwindow.web3.currentProvider - Support synchronous
sendcall of methods forwindow.ethereum.currentProviderbeloweth_accountseth_coinbasenet_version
1.1.0
- Implement
sendmethod based on EIP-1193 forwindow.ethereum.currentProvider
1.0.1
- Fix unintended running the script for development after installation
1.0.0
- Publish