- Added method to get list of supported tokens
- Added method to get exhange rate
- Added method to get estimated gas
- Added method to get raw transaction
- Added pipelines to publish SDK to npm
- Updated method getRawTransaction to accept slippage as a parameter
- Updated package version to publish the package to npm
- Updated error handling to handle errors from the SDK
- Added method to retun list of supported chains
- Updated constructor to accept chain as a parameter
- Updated methods to get base URL from helper according to chain selected
- Added support for polygon chain
- Added support for binance smart chain
- Added method to apporve spender contract
- Updated RPC URL
- Updated README file with the latest functional & non-functional documentation
- Multichain support
- Updated method to get list of supported tokens
- Functions
getRawTransaction()
will throw an errorInsufficient balance.
if thefrom
address does not have enough assets to swap.
- Removed the async declaration in the function
getBaseURL()
andgetRPCURL()
.
- Output of the
approvalRawTransaction()
will be returned directly without the response object.
- Functions
approvalRawTransaction()
andgetRawTransaction()
will return the type2 raw transaction.
- Migrated 1inch API's from v4.0 to v5.0
- Updated license in package.json
- Updated infura API key
- Updated polygon mainnet gasstation URL
- Updated router contarct address
- Updated 1Inch API base URL
- Updated error handling from 1Inch API's
- Updated 1Inch API's to v5.2
- Updated @getsafle/safle-token-lists package to v1.0.4
- Integrated proxy service
- Updated @getsafle/safle-token-lists package to v1.0.5