Skip to main content
These changes apply to core, React, and widgets.

Configuration changes

Removed constructor options reject with INVALID_CONFIG in JavaScript and type errors in TypeScript object literals.

Unified client

Keep clients stable; rebuild when account, chain, or configuration changes. Node and browsers share scoped sessions. Include cToken addresses when decrypting handles.

React setup

Keep QueryClientProvider. Omit walletClient for wagmi; pass a client for another wallet, or null/undefined to disconnect. See React setup. With indexing off, widgets hide history/discovery. Indexer methods and manual refetches raise INDEXER_NOT_CONFIGURED.

Balance and error behavior

Failed/pending balances throw instead of returning zero. Use balanceExact() for writes and balancesSettled() for per-token pending/error states.
onMax now receives an exact decimal string. Indexer block_time: null becomes undefined. Receipts return the final mined hash after repricing. Cancellation and different-operation replacement raise distinct errors. Use error helpers for display; retain original causes.