Skip to content

Commit 4e3f31c

Browse files
Version Packages (#88)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 4b64b0f commit 4e3f31c

4 files changed

Lines changed: 31 additions & 32 deletions

File tree

.changeset/clean-suns-fetch.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

.changeset/tidy-cows-remain.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/eth-sdk/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# @dethcrypto/eth-sdk
22

3+
## 0.3.1
4+
5+
### Patch Changes
6+
7+
- 4b64b0f: eth-sdk now properly supports fetching ABI from multiple Etherscan-like blockchain explorers at the same
8+
time.
9+
10+
Previously, `config.etherscanKey` option was used for all APIs, what worked in some cases, but broke with Polygonscan.
11+
12+
You can now provide your Etherscan API keys like this:
13+
14+
```json
15+
{
16+
"etherscanKeys": {
17+
// API key for https://etherscan.io
18+
"mainnet": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
19+
// API key for https://polygonscan.com
20+
"polygon": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"
21+
}
22+
}
23+
```
24+
25+
If not specified, eth-sdk will use its own API keys.
26+
27+
`config.etherscanKey` option is now deprecated in favor of `etherscanKey`**`s`** option.
28+
29+
_This is a hotfix solution as a future version of eth-sdk will radically simplify config schema._
30+
31+
- 4b64b0f: The network name is now shown properly when fetching ABI from Etherscan fails
32+
333
## 0.3.0
434

535
### Minor Changes

packages/eth-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dethcrypto/eth-sdk",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"license": "MIT",
55
"description": "🛠 Generate type-safe, lightweight SDK for your Ethereum smart contracts",
66
"repository": {

0 commit comments

Comments
 (0)