@b3dotfun/sdk 0.0.90-test.0 → 0.0.90-test.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.
|
@@ -52,9 +52,6 @@ function useTokenBalancesByChain({ address, chainsIds, enabled = true, }) {
|
|
|
52
52
|
staleTime: 30000, // Consider data fresh for 30 seconds
|
|
53
53
|
gcTime: 5 * 60 * 1000, // Keep in cache for 5 minutes
|
|
54
54
|
retry: 2, // Limit retries on failure
|
|
55
|
-
// Enable structural sharing to prevent infinite loops
|
|
56
|
-
// This ensures we only get new references when data actually changes
|
|
57
|
-
structuralSharing: true,
|
|
58
55
|
});
|
|
59
56
|
return {
|
|
60
57
|
nativeTokens: combinedData?.nativeTokens ?? [],
|
|
@@ -46,9 +46,6 @@ export function useTokenBalancesByChain({ address, chainsIds, enabled = true, })
|
|
|
46
46
|
staleTime: 30000, // Consider data fresh for 30 seconds
|
|
47
47
|
gcTime: 5 * 60 * 1000, // Keep in cache for 5 minutes
|
|
48
48
|
retry: 2, // Limit retries on failure
|
|
49
|
-
// Enable structural sharing to prevent infinite loops
|
|
50
|
-
// This ensures we only get new references when data actually changes
|
|
51
|
-
structuralSharing: true,
|
|
52
49
|
});
|
|
53
50
|
return {
|
|
54
51
|
nativeTokens: combinedData?.nativeTokens ?? [],
|
package/package.json
CHANGED
|
@@ -83,9 +83,6 @@ export function useTokenBalancesByChain({
|
|
|
83
83
|
staleTime: 30000, // Consider data fresh for 30 seconds
|
|
84
84
|
gcTime: 5 * 60 * 1000, // Keep in cache for 5 minutes
|
|
85
85
|
retry: 2, // Limit retries on failure
|
|
86
|
-
// Enable structural sharing to prevent infinite loops
|
|
87
|
-
// This ensures we only get new references when data actually changes
|
|
88
|
-
structuralSharing: true,
|
|
89
86
|
});
|
|
90
87
|
|
|
91
88
|
return {
|