Releases: balancer/b-sdk
Releases · balancer/b-sdk
Release list
@balancer/sdk@5.2.2
Patch Changes
- 19a8bf4: Bump viem from 2.45.1 to 2.46.2.
@balancer/sdk@5.2.1
Patch Changes
- 210fcd7: Update Sonic UnbalancedAddViaSwapRouter address.
@balancer/sdk@5.2.0
Minor Changes
- acc99c5: Add support for Add Liquidity Unbalanced Via Swap
@balancer/sdk@5.1.3
Patch Changes
- c8c2a65: fix-add-monad-addresses-and-update-tests
@balancer/sdk@5.1.2
Patch Changes
- b29cef6: add monad to CHAINS export
@balancer/sdk@5.1.1
Patch Changes
- dd5f5fd: bump viem from 2.44.4 to 2.45.0.
Update Sonic deployments with new factory addresses.
@balancer/sdk@5.1.0
@balancer/sdk@5.0.1
v5.0.0
Major Changes
-
f51af5f: WHAT: Removed wrapped token functionality from the
Tokenclass and introduced a newNativeTokenclass to handle native tokens (like ETH) separately.WHY: This change improves type safety and separation of concerns by distinguishing between ERC-20 tokens and native tokens, making the API more explicit and preventing confusion about token types.
HOW: Update your code by:
- If using the
wrappedfunctionality, then replace any usage ofTokenfor native tokens with the newNativeTokenclass:- Import
NativeTokenfrom the SDK:import { NativeToken } from '@balancer/sdk' - Use
NativeTokenfor native token operations instead ofTokenwith wrapped functionality
- Import
- If not using any
wrappedfunctionality, thenTokencan remain as is
- If using the
@balancer/sdk@4.10.1
Patch Changes
- bca04a3: Bump Viem and Balancer Maths deps.