3.0.1 • Published 4 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-lib
Docs
Changelog
3.0.1
- Support CommonJS
3.0.0
- Change
window.ethereum
to 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
isQurageLink
towindow.web3.currentProvider
andwindow.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
ResultCallback
interface- Use
Callback<JsonRPCResponse>
instead
- Use
- Change the type of
callback
used as an argument ofsend
method toCallback<JsonRPCResponse>
- Replace
window.web3.currentProvider
with Ethereum Provider- It is the same as
window.ethereum.currentProvider
- It is the same as
- Support
eth_signTypedDataV3
forwindow.web3.currentProvider
- Support synchronous
send
call of methods forwindow.ethereum.currentProvider
beloweth_accounts
eth_coinbase
net_version
1.1.0
- Implement
send
method based on EIP-1193 forwindow.ethereum.currentProvider
1.0.1
- Fix unintended running the script for development after installation
1.0.0
- Publish