Skip to content

Releases: balancer/b-sdk

v0.14.0

26 Mar 14:53
8c10743
Compare
Choose a tag to compare

Minor Changes

  • 127bc2f: Add support for V3 Swaps (single and batchSwap). Breaking changes in Swap buildCall to handle path limits correctly.'
  • a759fbf: Add Price Impact for swaps and batchSwaps

v0.13.0

21 Mar 20:10
16eba9e
Compare
Choose a tag to compare

Minor Changes

  • 6974a7c: Add add/remove liquidity support for stable and metastable pools
  • 87d1dbd: Refactor queryRemoveLiquidityRecovery into a separate method

Patch Changes

  • 33b23c6: Bump create pool test timeout

v0.12.0

12 Mar 19:09
b4023fc
Compare
Choose a tag to compare

Minor Changes

  • dfacb04: Rename buildCall interface for consistency and clarity
  • e2d66ce: Adds Initialize Pool functionality for V3 pools;
  • c071850: Refactor useNativeAssetAsWrappedAmountIn adn toNativeAsset into wethIsEth
  • 7bc308a: Move accountAddress from query to buildCall input

Patch Changes

  • 8825f0a: Refactor sender and recipient to exist on v2 only

v0.11.0

28 Feb 09:14
703b5b6
Compare
Choose a tag to compare

Minor Changes

  • b77768a: Change all refs to balancerVersion to vaultVersion to match API.

v0.10.0

23 Feb 18:18
3473ca8
Compare
Choose a tag to compare

Minor Changes

  • f5291c6: Add V3 Single Swap support.
  • 517a13e: Add price impact for add/remove nested liquidity
  • b547e32: Adds Balancer's V3 CreatePool functionality for Weighted Pools;

v0.9.1

20 Feb 09:01
c52d31a
Compare
Choose a tag to compare

Patch Changes

  • 27296e6: expose mapPoolToNestedPoolState function
  • 4851160: Add Base config.
  • c359a54: add GYRO type for GYRO2 in pool type mapper
  • 8d8a95f: Fix add liquidity nested not working for polygon (and other chains)

v0.9.0

15 Feb 09:41
ba32e16
Compare
Choose a tag to compare

Minor Changes

  • cadb555: * Refactor Swap class to work with new API SOR query response.
    • Swap class has V2/V3 handler (V3 WIP in follow up PR)
    • Swap example added
    • Limits refactored to be internal to V2 implementation. buildCall used to create based on input Slippage. Returns minAmountOut/maxAmountIn for users.
    • PriceImpact can no longer be calculated in Swap as missing pool state/maths. This has been removed for now and will be added as onchain helper in future.
  • 40ee7be: Remove SOR related code & other stale code/exports.

v0.8.1

09 Feb 17:08
c017292
Compare
Choose a tag to compare

Patch Changes

  • 579600a: Expose proportional amounts helper

v0.8.0

08 Feb 13:57
d842a93
Compare
Choose a tag to compare

Minor Changes

  • 8bd2454: Add Basic Remove Liquidity for v3
  • 69d6567: Add limits calculation and data encoding in the swap
  • 4c8114d: Add Basic Add Liquidity for v3

Patch Changes

  • 2593e8a: Expose JoinPoolRequest type
  • dc09bf7: Remove type module from package.json
  • c7c318a: Adding a function to calculate proportional amounts; Adding balancerVersion to the API Pools and Nested Pools data provider
  • a1d52dc: Remove ambiguity from slippage interface
  • 651e976: Add proportional amounts helper

v0.7.1

23 Jan 14:20
14a080b
Compare
Choose a tag to compare

Patch Changes

  • dec468a: Fix Add/Remove Liquidity Nested with zero amounts in
  • 37f89a4: Bump tsup version
  • 6c12bab: Expose Relayer class
  • 69521d0: Fix cloneDeep import