@sodax/wallet-sdk-react 1.0.0-rc.6 → 1.0.0-rc.7

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/dist/index.d.cts CHANGED
@@ -106,7 +106,7 @@ declare abstract class XService {
106
106
  * @param xTokens Array of tokens to get balances for
107
107
  * @returns Promise resolving to object mapping token addresses to balances
108
108
  */
109
- getBalances(address: string | undefined, xTokens: XToken[]): Promise<Record<string, bigint>>;
109
+ getBalances(address: string | undefined, xTokens: readonly XToken[]): Promise<Record<string, bigint>>;
110
110
  /**
111
111
  * Gets all available connectors for this chain
112
112
  */
@@ -397,7 +397,7 @@ declare function useXService(xChainType: ChainType | undefined): XService | unde
397
397
  */
398
398
  declare function useXBalances({ xChainId, xTokens, address, }: {
399
399
  xChainId: ChainId;
400
- xTokens: XToken[];
400
+ xTokens: readonly XToken[];
401
401
  address: string | undefined;
402
402
  }): UseQueryResult<{
403
403
  [key: string]: bigint;
package/dist/index.d.ts CHANGED
@@ -106,7 +106,7 @@ declare abstract class XService {
106
106
  * @param xTokens Array of tokens to get balances for
107
107
  * @returns Promise resolving to object mapping token addresses to balances
108
108
  */
109
- getBalances(address: string | undefined, xTokens: XToken[]): Promise<Record<string, bigint>>;
109
+ getBalances(address: string | undefined, xTokens: readonly XToken[]): Promise<Record<string, bigint>>;
110
110
  /**
111
111
  * Gets all available connectors for this chain
112
112
  */
@@ -397,7 +397,7 @@ declare function useXService(xChainType: ChainType | undefined): XService | unde
397
397
  */
398
398
  declare function useXBalances({ xChainId, xTokens, address, }: {
399
399
  xChainId: ChainId;
400
- xTokens: XToken[];
400
+ xTokens: readonly XToken[];
401
401
  address: string | undefined;
402
402
  }): UseQueryResult<{
403
403
  [key: string]: bigint;