This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
Releases: SocketDotTech/socket-v2-sdk
Releases · SocketDotTech/socket-v2-sdk
v1.24.2
1.24.2 (3-02-2024)
What's Changed
- fix: extraData type by @salil-naik in #15
Full Changelog: v1.24.1...v1.24.2
v1.24.1
1.24.1 (8-12-2023)
What's Changed
- fix : rem validation by @salil-naik in #14
Full Changelog: v1.24.0...v1.24.1
v1.24.0
1.24.0 (29-11-2023)
What's changed?
- added socketRoute to the quotes
Full Changelog: 1.23.3...v1.24.0
v1.23.3
1.23.3 (18-08-2023)
What's Changed
- fix: add api key to every socket api call by @Aniket965 in #9
Full Changelog: v1.23.2...1.23.3
v1.23.2
1.23.2 (2023-08-16)
What's Changed
- fixed validate send function by @salil-naik in #10
Full Changelog: v1.23.1...v1.23.2
v1.23.1
1.23.1 (20-07-2023)
What's Changed
- Added Optimism Rebate type to Route Response
Full Changelog: v1.23.0...v1.23.1
v1.23.0
1.23.0 (04-07-2023)
What's Changed
- updated missing types
Breaking change
getAllQuotes
now returns bridgeRouteErrors along with routes
If there are no routes for the desired path, routes will be an empty array []
- const allRoutes = socket.getAllQuotes();
+ const { routes, bridgeRouteErrors } = socket.getAllQuotes();
Full Changelog: v1.22.0...v1.23.0
v1.22.0
1.22.0 (29-06-2023)
What's Changed
- fix: getAllQuotes and getBestQuote now returns an object of type SocketQuote with errors in case of no routes
- feat: added fee router related pref in quote preferences
Full Changelog: v1.21.3...v1.22.0
v1.21.3
v1.21.3 (09-12-2022)
What's Changed
- fix: reversing the order of the routes for
getBestQuote
in case the sort option is set to time. - This is done because the API currently returns the list in descending order of service time when sorting by time.
Note:
- This is a temporary fix and will be reverted once the API response is fixed.
getAllQuotes
still returns the response as received by the API. Expecting the fix to be done on the frontend.
Full Changelog: v1.21.0...v1.21.3
v.1.21.0
What's Changed
- add: swapSlippage and bridgeSlippage options to quote preference by @salil-naik in #3
Full Changelog: v1.20.0...v1.21.0