Skip to content

Commit 63f961d

Browse files
authored
Merge pull request #754 from balancer/fix-ci-issues
Fix CI Issues
2 parents 95f1eb3 + 67bac3a commit 63f961d

File tree

5 files changed

+2778
-3761
lines changed

5 files changed

+2778
-3761
lines changed

.changeset/hip-flowers-march.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# @balancer/sdk
22

3+
## 5.0.0
4+
5+
### Major Changes
6+
7+
- f51af5f: **WHAT**: Removed wrapped token functionality from the `Token` class and introduced a new `NativeToken` class to handle native tokens (like ETH) separately.
8+
9+
**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.
10+
11+
**HOW**: Update your code by:
12+
13+
- Replace any usage of `Token` for native tokens with the new `NativeToken` class if using the wrapped functionality
14+
- If not using any wrapped functionality, the `Token` can remain as is
15+
- Import `NativeToken` from the SDK: `import { NativeToken } from '@balancer/sdk'`
16+
- Use `NativeToken` for native token operations instead of `Token` with wrapped functionality
17+
318
## 4.10.1
419

520
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"publishConfig": {
1010
"access": "public"
1111
},
12-
"version": "4.10.1",
12+
"version": "5.0.0",
1313
"main": "dist/index.js",
1414
"module": "dist/index.mjs",
1515
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)