v2.0.0
2.0.0 (2025-08-27)
BREAKING CHANGES
- Enhanced getRpcUrlsForChain to support custom provider selection
Features:
- preferredProviders: Array to specify provider priority (e.g., ['alchemy', 'infura'])
- useCustomOnly: Flag to disable fallback to default providers
- Maintains backward compatibility when no options specified
Usage:
// Prioritize Alchemy, then Infura, then fallback to defaults
getRpcUrlsForChain(8453, { preferredProviders: ['alchemy', 'infura'] })
// Use only custom providers, no default fallback
getRpcUrlsForChain(8453, { preferredProviders: ['alchemy'], useCustomOnly: true })
This allows fine-grained control over RPC endpoint selection and fallback behavior,
preventing rate-limited public endpoints from being used when private ones are available.
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com
-
Bump version to 1.1.0 for breaking change
-
fix: improve provider selection and RPC handling
- Add preferred provider selection functionality
- Filter out providers with empty RPCs
- Enhance custom RPC configuration
- fix: update changelog for manual 1.1.0 release
- Add 1.1.0 changelog entry with provider selection features
- Ensure semantic-release correctly calculates next version as 1.1.1
- fix: linter