Skip to content

Releases: rainbow-me/provider

v0.2.0

20 Mar 06:59
dfceaa7

Choose a tag to compare

Minor Changes

  • 3fffda9: Add EIP-5792 Wallet Call API support

    • Add wallet_getCapabilities, wallet_sendCalls, wallet_getCallsStatus, and wallet_showCallsStatus RPC method handlers
    • Add createProviderError for typed pass-through errors from EIP-5792 callbacks
    • Export BatchRecord, BatchRecordBase, PendingBatchRecord, FinalBatchRecord, SendCallsParams, and RequestCapability types
    • Breaking: handleProviderRequest adds getCapabilities, getBatchByKey, setBatch, and showCallsStatus callback options and replaces isSupportedChain with getSupportedChainIds
      • Batch state and capability resolution are the caller's responsibility so the provider stays stateless

v0.1.3

10 Feb 21:12
ff6721b

Choose a tag to compare

Patch 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.

v0.1.2

10 Feb 21:12
933f2be

Choose a tag to compare

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.