Skip to content

v2.0.0

Compare
Choose a tag to compare
@vansergen vansergen released this 27 Dec 11:45
ed3a8dd

2.0.0 (2020-12-27)

⚠ BREAKING CHANGES

  • drop Node <14.15.3 support
  • the class PublicClient1 extends FetchClient

Features

  • the class PublicClient1 extends FetchClient (83d38b0)
  • auth: add claimPosition method (294eef2)
  • auth: add getOrder method (99c9cb4)
  • auth: add getOrderHistory method (e3edc68)
  • auth: add getOrders method (4bcec3f)
  • auth: add getPositions method (9f50f55)
  • auth: add nonce setter (5f68c85)
  • auth: add replaceOrder method (d4b1443)
  • auth1: add cancelAllOrders method (b62027c)
  • auth1: add cancelOrder method (eb594cc)
  • auth1: add cancelOrders method (2ec366a)
  • auth1: add getAccountFees method (cb3f1db)
  • auth1: add getAccountInfo method (17c8b2a)
  • auth1: add getDepositAddress method (994bdaa)
  • auth1: add getKeyPermissions method (e59877e)
  • auth1: add getMarginInformation method (3cbaa5b)
  • auth1: add getSummary method (a791d62)
  • auth1: add getWalletBalances method (9608552)
  • auth1: add newOrder method (fa99be3)
  • auth1: add newOrders method (c6a95b2)
  • auth1: add transfer method (b9e0923)
  • auth1: add withdraw method (6bca2d9)
  • module: add AuthenticatedClient1 class (2dbc38a)
  • add signer function (571b0ef)

Bug Fixes

  • package.json, package-lock.json & .snyk to reduce vulnerabilities (0aad4ab)
  • package.json, package-lock.json & .snyk to reduce vulnerabilities (8e0853f)
  • package.json, package-lock.json & .snyk to reduce vulnerabilities (d365377)
  • upgrade rpc-request from 3.1.2 to 3.1.6 (e4db559)
  • upgrade snyk from 1.316.1 to 1.316.2 (4612cc2)
  • upgrade snyk from 1.316.1 to 1.316.2 (52feaf3)
  • auth: remove DefaultCurrency from the transfer method (f67ae40)

Performance Improvements

  • drop Node <14.15.3 support (8cc643e)
  • signer accepts string as a paylod (3cc424b)

Dependencies