-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
8 changed files
with
16 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters