@gearbox-protocol/deploy-tools 1.6.0-next.7 → 1.6.0-next.8

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.js +5 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -264758,12 +264758,13 @@ var require_EtherscanVerifier = __commonJS({
264758
264758
  (0, axios_retry_1.default)(__privateGet(this, _etherscanApi), {
264759
264759
  retries: 5,
264760
264760
  retryCondition: (e) => {
264761
- var _a, _b;
264762
- if (((_a = e.response) == null ? void 0 : _a.status) === 429) {
264761
+ var _a, _b, _c, _d;
264762
+ __privateGet(this, _logger).trace(`Etherscan error, status ${(_a = e.response) == null ? void 0 : _a.status}, msg: ${(_b = e.response) == null ? void 0 : _b.data}`);
264763
+ if (((_c = e.response) == null ? void 0 : _c.status) === 429) {
264763
264764
  return true;
264764
264765
  }
264765
264766
  try {
264766
- const resp = (_b = e.response) == null ? void 0 : _b.data;
264767
+ const resp = (_d = e.response) == null ? void 0 : _d.data;
264767
264768
  return resp.status === "0" && resp.message.startsWith("Max rate");
264768
264769
  } catch {
264769
264770
  }
@@ -415210,7 +415211,7 @@ var require_package3 = __commonJS({
415210
415211
  module2.exports = {
415211
415212
  name: "@gearbox-protocol/deploy-tools",
415212
415213
  description: "Gearbox deploy tools",
415213
- version: "1.6.0-next.5",
415214
+ version: "1.6.0-next.7",
415214
415215
  homepage: "https://gearbox.fi",
415215
415216
  keywords: [
415216
415217
  "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": "1.6.0-next.7",
4
+ "version": "1.6.0-next.8",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"