Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@b3dotfun/sdk",
"version": "0.0.89",
"version": "0.0.90-test.1",
"source": "src/index.ts",
"main": "./dist/cjs/index.js",
"react-native": "./dist/cjs/index.native.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,8 @@ export function B3Provider({
enableTurnkey,
defaultPermissions,
});
}, [
accountOverride,
environment,
automaticallySetFirstEoa,
theme,
clientType,
partnerId,
stripePublishableKey,
createClientReferenceId,
enableTurnkey,
defaultPermissions,
setConfig,
]); // eslint-disable-line react-hooks/exhaustive-deps
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

// Initialize Google Analytics on mount
useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ export function useTokenBalancesByChain({
staleTime: 30000, // Consider data fresh for 30 seconds
gcTime: 5 * 60 * 1000, // Keep in cache for 5 minutes
retry: 2, // Limit retries on failure
// Enable structural sharing to prevent infinite loops
// This ensures we only get new references when data actually changes
structuralSharing: true,
});

return {
Expand Down
Loading