Releases: EveripediaNetwork/iq-login
v8.0.3
Patch Changes
-
bf8e4cd: Fix Web3Auth social login by replacing unreliable viem default RPCs with PublicNode RPCs
Viem's default RPCs (eth.merkle.io, polygon-rpc.com) fail for the RPC methods Web3Auth
calls during provider setup after OAuth, causing social login to silently fail and return
to the modal. This replaces them with reliable PublicNode RPCs for known chains and fixes
the blockExplorerUrl bug where string indexing returned a single character instead of the
full URL.
v8.0.2
Patch Changes
-
7e147df: Add
useEnsureCorrectChainhook to standardize wallet network enforcement in dApps.This hook introduces a unified status state machine (
idle→wrong-network→switching→correct) for managing connected wallet chain state. It includes utilities for programmatic network switching, dismissal handling, and an optionalonStatusChangecallback for reacting to status transitions. Documentation has been added to the README with usage examples and API reference.
v8.0.1
Patch Changes
-
2a9c9ee: Fixes an issue where the app could crash during server-side rendering due to browser-only APIs being accessed on the server.
Wagmi connectors are now only initialized in the browser, preventing
indexedDB-related errors during SSR and avoiding unhandled rejections in Next.js.