Skip to content

Latest commit

 

History

History
60 lines (32 loc) · 1.31 KB

CHANGELOG.md

File metadata and controls

60 lines (32 loc) · 1.31 KB

1.0.0 (2022-01-25)

  • Added method to get list of supported tokens

1.0.0 (2022-02-8)

  • Added method to get exhange rate
  • Added method to get estimated gas
  • Added method to get raw transaction

1.0.1 (2022-05-03)

  • Updated methods to accept custom slippage

1.0.2 (2022-05-23)

  • Updated ETH support
  • Updated error messages

1.0.3 (2022-06-06)

  • Added approvalRawTransaction() to create an approve transaction for tokens swap.
  • Created checkBalance() to check the available balance.

1.0.4 (2022-06-07)

  • Added ETH and WETH swap support using deposit and withdraw

1.0.5 (2022-07-13)

  • Updated uniswap package versions

1.0.6 (2022-08-17)

  • Updated infura URL

1.0.7 (2022-08-17)

  • Fixed gas calculations in approvalRawTransaction

1.1.0 (2022-09-27)

  • Added support for polygon chain

1.1.1 (2022-09-28)

  • Updated method to get list of supported tokens

1.1.2 (2022-12-14)

  • Functions approvalRawTransaction() and getRawTransaction() will throw an error Insufficient balance. if the from address does not have enough assets to swap.

1.1.3 (2022-12-15)

  • Functions approvalRawTransaction() and getRawTransaction() will return the type2 raw transaction.

1.1.4 (2022-12-15)

  • Limited the gas params to 4 decimal places in the type2 raw transaction object.