@swapkit/core 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/types/index.d.ts +2 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @swapkit/core
|
|
2
2
|
|
|
3
|
+
## 5.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#363](https://github.com/swapkit/sdk/pull/363) [`7b9f214`](https://github.com/swapkit/sdk/commit/7b9f2145e8644975620db1f2b39775c33cb40d20) Thanks [@towanTG](https://github.com/towanTG)! - HyperCore balances are now API-first: `getBalance` queries the SwapKit (via @swapkit/toolboxes@5.1.0)
|
|
8
|
+
- [#366](https://github.com/swapkit/sdk/pull/366) [`c64be1d`](https://github.com/swapkit/sdk/commit/c64be1d700ef8855495ca9d7ef0ebe18f46687ee) Thanks [@towanTG](https://github.com/towanTG)! - HyperCore chain-query balances take decimals from Hyperliquid spotMeta (via @swapkit/toolboxes@5.1.0)
|
|
9
|
+
- Update generated token lists. (via @swapkit/toolboxes@5.1.0)
|
|
10
|
+
- [#363](https://github.com/swapkit/sdk/pull/363) [`7b9f214`](https://github.com/swapkit/sdk/commit/7b9f2145e8644975620db1f2b39775c33cb40d20) Thanks [@towanTG](https://github.com/towanTG)! - Correct the Hyperliquid chain display names: `Chain.Hyperevm`'s config is now (via @swapkit/toolboxes@5.1.0)
|
|
11
|
+
|
|
3
12
|
## 5.0.0
|
|
4
13
|
|
|
5
14
|
### Major Changes
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3183,7 +3183,8 @@ export declare function SwapKit<Plugins extends ReturnType<typeof createPlugin>,
|
|
|
3183
3183
|
createUserSignedActionRequest: typeof import("@swapkit/toolboxes/hypercore/toolbox").createUserSignedActionRequest;
|
|
3184
3184
|
estimateTransactionFee: () => AssetValue;
|
|
3185
3185
|
getAddress: () => Promise<string>;
|
|
3186
|
-
getBalance: (address: string) => Promise<AssetValue[]>;
|
|
3186
|
+
getBalance: (address: string, scamFilter?: boolean) => Promise<AssetValue[]>;
|
|
3187
|
+
getBalanceFromChain: (address: string) => Promise<AssetValue[]>;
|
|
3187
3188
|
getState: {
|
|
3188
3189
|
clearinghouse: ({ dex, user }: import("@swapkit/toolboxes/hypercore/types").HyperCoreUserStateQueryParams) => Promise<{
|
|
3189
3190
|
marginSummary?: {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "swapkit-dev",
|
|
3
3
|
"dependencies": {
|
|
4
|
-
"@swapkit/helpers": "5.0.
|
|
5
|
-
"@swapkit/plugins": "5.0.
|
|
6
|
-
"@swapkit/toolboxes": "5.
|
|
7
|
-
"@swapkit/wallet-core": "5.0.
|
|
4
|
+
"@swapkit/helpers": "5.0.1",
|
|
5
|
+
"@swapkit/plugins": "5.0.1",
|
|
6
|
+
"@swapkit/toolboxes": "5.1.0",
|
|
7
|
+
"@swapkit/wallet-core": "5.0.1"
|
|
8
8
|
},
|
|
9
9
|
"description": "SwapKit - Core",
|
|
10
10
|
"devDependencies": {
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"type-check:go": "tsgo"
|
|
35
35
|
},
|
|
36
36
|
"type": "module",
|
|
37
|
-
"version": "5.0.
|
|
37
|
+
"version": "5.0.1"
|
|
38
38
|
}
|