@swapkit/core 5.0.0 → 5.0.2

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @swapkit/core
2
2
 
3
+ ## 5.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Update generated token lists. (via @swapkit/helpers@5.0.2)
8
+
9
+ ## 5.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#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)
14
+ - [#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)
15
+ - Update generated token lists. (via @swapkit/toolboxes@5.1.0)
16
+ - [#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)
17
+
3
18
  ## 5.0.0
4
19
 
5
20
  ### Major Changes
@@ -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.0",
5
- "@swapkit/plugins": "5.0.0",
6
- "@swapkit/toolboxes": "5.0.0",
7
- "@swapkit/wallet-core": "5.0.0"
4
+ "@swapkit/helpers": "5.0.2",
5
+ "@swapkit/plugins": "5.0.2",
6
+ "@swapkit/toolboxes": "5.1.1",
7
+ "@swapkit/wallet-core": "5.0.2"
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.0"
37
+ "version": "5.0.2"
38
38
  }