@xswap-link/sdk 0.9.0 → 0.9.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @xswap-link/xswap-sdk
2
2
 
3
+ ## 0.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 615902c: Feat: add token values in token picker
8
+
3
9
  ## 0.9.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -106,7 +106,7 @@ type GetLeaderboardChangePayload = {
106
106
  };
107
107
 
108
108
  type GetPricesPayload = {
109
- chainId: string;
109
+ chainId: string[];
110
110
  currency?: string;
111
111
  };
112
112
 
@@ -311,7 +311,9 @@ type Prices = {
311
311
  prices: TokenPrices;
312
312
  };
313
313
  type TokenPrices = {
314
- [tokenAddress: string]: string;
314
+ [chainId: string]: {
315
+ [tokenAddress: string]: string;
316
+ };
315
317
  };
316
318
  type TokenBalances = {
317
319
  [tokenAddress: string]: BigNumber | undefined;
package/dist/index.d.ts CHANGED
@@ -106,7 +106,7 @@ type GetLeaderboardChangePayload = {
106
106
  };
107
107
 
108
108
  type GetPricesPayload = {
109
- chainId: string;
109
+ chainId: string[];
110
110
  currency?: string;
111
111
  };
112
112
 
@@ -311,7 +311,9 @@ type Prices = {
311
311
  prices: TokenPrices;
312
312
  };
313
313
  type TokenPrices = {
314
- [tokenAddress: string]: string;
314
+ [chainId: string]: {
315
+ [tokenAddress: string]: string;
316
+ };
315
317
  };
316
318
  type TokenBalances = {
317
319
  [tokenAddress: string]: BigNumber | undefined;