3.0.1 • Published 4 years ago

@uniqys/qurage-link-lib v3.0.1

Weekly downloads
5
License
MPL-2.0
Repository
-
Last release
4 years ago

@uniqys/qurage-link-lib

Installation

$ npm i @uniqys/qurage-link-lib # requires npm >= 6.9.0
$ yarn add @uniqys/qurage-link-lib

Docs

https://link.qurage.app/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 formerly window.ethereum
  • Add window.web3['0.20'] as a web3 v0.20 object (same as window.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 to window.web3.currentProvider and window.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
  • Change the type of callback used as an argument of send method to Callback<JsonRPCResponse>
  • Replace window.web3.currentProvider with Ethereum Provider
    • It is the same as window.ethereum.currentProvider
  • Support eth_signTypedDataV3 for window.web3.currentProvider
  • Support synchronous send call of methods for window.ethereum.currentProvider below
    • eth_accounts
    • eth_coinbase
    • net_version

1.1.0

  • Implement send method based on EIP-1193 for window.ethereum.currentProvider

1.0.1

  • Fix unintended running the script for development after installation

1.0.0

  • Publish