Releases: balancer/b-sdk
Releases · balancer/b-sdk
v0.14.0
v0.13.0
v0.12.0
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
v0.10.0
v0.9.1
v0.9.0
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
v0.8.0
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