Skip to content

Releases: across-protocol/toolkit

@across-protocol/app-sdk@0.6.1

10 Jun 05:15
2edb9f6

Choose a tag to compare

Patch Changes

  • 0509ad3: Accept null (in addition to undefined) for optional fields in swapApprovalResponseSchema: approvalTxns, steps.originSwap, steps.destinationSwap, and swapTx. The /swap/approval endpoint now serializes these as explicit null for cases where they don't apply (e.g. bridgeableToBridgeable routes), which previously caused getSwapQuote to throw Invalid swap approval response. Consumers already coerce to truthy, so behavior is unchanged.

@across-protocol/app-sdk@0.6.0

27 Apr 09:31
195ab78

Choose a tag to compare

Minor Changes

  • 97c815a: fix: validate solana addresses for actions

Patch Changes

  • 9c84010: Fix executeSwapQuote passing gas: 0n to the simulation call when swapTx.gas is zero. Some RPC providers (e.g. Alchemy on testnets) reject eth_call with gas: "0x0" as IntrinsicGasTooLowError. Zero-ish gas values are now treated as unset.
  • 76a569d: Fix unresolved zod import at build time by moving it from devDependencies to dependencies. The SDK imports zod at runtime (in api/ modules), so consumers without zod transitively in their tree previously failed to build.

@across-protocol/app-sdk@0.5.0

25 Feb 21:07
5a6040e

Choose a tag to compare

Minor Changes

@across-protocol/app-sdk@0.4.4

11 Nov 10:43
d8765d4

Choose a tag to compare

Patch Changes

  • 9e16a4b: Update fees response schema

@across-protocol/app-sdk@0.4.3

21 Oct 13:26
679c590

Choose a tag to compare

Patch Changes

  • 687be1b: Adds multicall handler contract address definitions

@across-protocol/app-sdk@0.4.2

27 Sep 09:01
aa9d8f1

Choose a tag to compare

Patch Changes

  • 50c805d: Update fork blocks in sdk tests
  • 28160c4: Add integratorId to getSwapQuote action

@across-protocol/app-sdk@0.4.0

08 Sep 13:14
b88df7a

Choose a tag to compare

Minor Changes

  • 75248ce: Added getSwapQuote action
  • 6d8613b: destination chain actions
  • 3a018ba: Added executeSwapQuote action

Patch Changes

  • 4d33487: add getSwapTokens action
  • 309e427: feat: add simulation steps to executeSwapQuote
  • ebe66cd: align progress updates for 5792 deposits
  • 0de91e6: update AcrossApiErrors
  • 2aca217: add getSwapChains
  • 6d8613b: improve getSwapQuote params
  • f7a6521: use actionsSucceeded from indexer response

@across-protocol/app-sdk@0.3.0

25 Jun 11:33
6aa54f6

Choose a tag to compare

Minor Changes

  • 050a2e4: The executeQuote client function should return a deposit id and deposit/fill transaction receipts.

Patch Changes

  • 284e24d: Added atomic sendCalls with fallback to executeQuote

@across-protocol/app-sdk@0.2.3

10 Jun 14:17
45191c7

Choose a tag to compare

Patch Changes

  • b18629c: Improve: use Indexer API instead of Scraper API

@across-protocol/app-sdk@0.2.2

12 May 16:20
fc88cfa

Choose a tag to compare

Patch Changes

  • b778821: Add support for outputAmount field returned by suggested fees. this allows the safe handling of routes where input and output tokens do not have the same decimals