@spacesops/wdk-react-native-core 1.0.0-beta.42 → 1.0.0-beta.43
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.
|
@@ -114,7 +114,7 @@ export declare const balanceQueryKeys: {
|
|
|
114
114
|
* }
|
|
115
115
|
* ```
|
|
116
116
|
*/
|
|
117
|
-
export declare function useBalance(network: string, accountIndex: number, tokenAddress: string | null, options?: BalanceQueryOptions): import("@tanstack/react-query").UseQueryResult<BalanceFetchResult
|
|
117
|
+
export declare function useBalance(network: string, accountIndex: number, tokenAddress: string | null, options?: BalanceQueryOptions): import("@tanstack/react-query").UseQueryResult<NoInfer<BalanceFetchResult>, Error>;
|
|
118
118
|
/**
|
|
119
119
|
* Hook to fetch all balances for a wallet across all networks
|
|
120
120
|
*
|
|
@@ -123,7 +123,7 @@ export declare function useBalance(network: string, accountIndex: number, tokenA
|
|
|
123
123
|
* @param options - Query options (including identifier)
|
|
124
124
|
* @returns TanStack Query result with all balances
|
|
125
125
|
*/
|
|
126
|
-
export declare function useBalancesForWallet(accountIndex: number, tokenConfigs: TokenConfigProvider, options?: BalanceQueryOptions): import("@tanstack/react-query").UseQueryResult<BalanceFetchResult[]
|
|
126
|
+
export declare function useBalancesForWallet(accountIndex: number, tokenConfigs: TokenConfigProvider, options?: BalanceQueryOptions): import("@tanstack/react-query").UseQueryResult<NoInfer<BalanceFetchResult[]>, Error>;
|
|
127
127
|
/**
|
|
128
128
|
* Hook to fetch balances for multiple wallets
|
|
129
129
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spacesops/wdk-react-native-core",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.43",
|
|
4
4
|
"description": "Core functionality for React Native wallets - wallet management, balance fetching, and worklet operations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@tanstack/react-query": "^5.0.0",
|
|
57
57
|
"expo-crypto": "^15.0.8",
|
|
58
58
|
"@spacesops/pear-wrk-wdk": "1.1.1-beta.40",
|
|
59
|
-
"@spacesops/react-native-bare-kit": "0.11.0-beta.
|
|
59
|
+
"@spacesops/react-native-bare-kit": "0.11.0-beta.43",
|
|
60
60
|
"react-native-mmkv": "^4.1.0",
|
|
61
61
|
"zod": "^3.22.0",
|
|
62
62
|
"zustand": "^5.0.9"
|