Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Releases: SocketDotTech/socket-v2-sdk

v1.24.2

02 Feb 21:01
Compare
Choose a tag to compare

1.24.2 (3-02-2024)

What's Changed

Full Changelog: v1.24.1...v1.24.2

v1.24.1

08 Dec 11:07
ec85dfb
Compare
Choose a tag to compare

1.24.1 (8-12-2023)

What's Changed

Full Changelog: v1.24.0...v1.24.1

v1.24.0

29 Nov 07:33
Compare
Choose a tag to compare

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

18 Aug 12:47
927c8ae
Compare
Choose a tag to compare

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

16 Aug 12:04
eb6ad4d
Compare
Choose a tag to compare

1.23.2 (2023-08-16)

What's Changed

Full Changelog: v1.23.1...v1.23.2

v1.23.1

19 Jul 21:52
Compare
Choose a tag to compare

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

04 Jul 06:54
Compare
Choose a tag to compare

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

29 Jun 14:14
Compare
Choose a tag to compare

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

09 Dec 10:12
Compare
Choose a tag to compare

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:

  1. This is a temporary fix and will be reverted once the API response is fixed.
  2. 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

06 Oct 17:51
Compare
Choose a tag to compare

What's Changed

  • add: swapSlippage and bridgeSlippage options to quote preference by @salil-naik in #3

Full Changelog: v1.20.0...v1.21.0