Commit 25e88f7
committed
feat(sdk-api): add EVM configuration support to BitGoAPI constructor
- Add optional evm config object to BitGoAPIOptions interface
- Process EVM network configurations with API tokens during initialization
- Store EVM configs in common.Environments[env]['evm'] structure
- Maintain backward compatibility with existing API token patterns
Enables programmatic configuration of multiple EVM network API tokens
through the SDK constructor for better multi-chain support.
Ticket: WIN-61081 parent 3910b3b commit 25e88f7
2 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
261 | 272 | | |
262 | 273 | | |
263 | 274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
0 commit comments