@gearbox-protocol/deploy-tools 5.11.17 → 5.11.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -399347,10 +399347,13 @@ import { readFile as readFile5, writeFile as writeFile3 } from "node:fs/promises
399347
399347
  import path4 from "node:path";
399348
399348
 
399349
399349
  // ../../packages/shared/dist/etherscan.js
399350
+ var ALT_API_URLS = {
399351
+ 146: "https://api.sonicscan.org/api"
399352
+ };
399350
399353
  function etherscanApiUrl(chainId) {
399351
399354
  for (const chain of Object.values(chains)) {
399352
399355
  if (chain.id === chainId) {
399353
- const url = chain.blockExplorers?.default?.apiUrl;
399356
+ const url = chain.blockExplorers?.default?.apiUrl ?? ALT_API_URLS[chainId];
399354
399357
  if (url) {
399355
399358
  return url;
399356
399359
  }
@@ -414221,7 +414224,7 @@ function getRenderer(opts) {
414221
414224
  var package_default = {
414222
414225
  name: "@gearbox-protocol/deploy-tools",
414223
414226
  description: "Gearbox deploy tools",
414224
- version: "5.11.17",
414227
+ version: "5.11.18",
414225
414228
  homepage: "https://gearbox.fi",
414226
414229
  keywords: [
414227
414230
  "gearbox"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/deploy-tools",
3
3
  "description": "Gearbox deploy tools",
4
- "version": "5.11.17",
4
+ "version": "5.11.18",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"