You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(network): remove name property and improve network ID types (#338)
* refactor(network): remove unused name property from NetworkConfig
Remove the unused `name` property from `NetworkConfig` interface and all related
code. This property was not serving any functional purpose in the network
configuration system.
- Remove `name` field from `NetworkConfig` interface
- Remove `name` property from all default network configurations
- Update tests to remove name-related assertions and test cases
* fix(network): allow custom network IDs in setActiveNetwork
Update type signature of `setActiveNetwork` to accept both `NetworkId` enum values
and custom string network IDs. This change is necessary to support custom
networks while maintaining backwards compatibility with the predefined `NetworkId`
enum values.
- Update type signature in React, Solid, and Vue adapters
- Update core `WalletManager` and store types
- Maintain existing runtime behavior while improving type flexibility
0 commit comments