Releases: rainbow-me/provider
Releases · rainbow-me/provider
v0.2.0
Minor Changes
-
3fffda9: Add EIP-5792 Wallet Call API support
- Add
wallet_getCapabilities,wallet_sendCalls,wallet_getCallsStatus, andwallet_showCallsStatusRPC method handlers - Add
createProviderErrorfor typed pass-through errors from EIP-5792 callbacks - Export
BatchRecord,BatchRecordBase,PendingBatchRecord,FinalBatchRecord,SendCallsParams, andRequestCapabilitytypes - Breaking:
handleProviderRequestaddsgetCapabilities,getBatchByKey,setBatch, andshowCallsStatuscallback options and replacesisSupportedChainwithgetSupportedChainIds- Batch state and capability resolution are the caller's responsibility so the provider stays stateless
- Add
v0.1.3
v0.1.2
Patch Changes
-
dba6685: Fix chainId synchronization on chain change events
The provider's chainId wasn't updating when networks changed, causing requests to fail. Now properly syncs chainId state with network changes.
-
dba6685: Allow 1-6 character native currency symbols
Validation was rejecting valid symbols like Sonic's "S" gas token. Updated to accept symbols between 1-6 characters to support additional networks.