@gearbox-protocol/deploy-tools 1.6.0-next.10 → 1.6.0-next.12
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.
- package/dist/index.js +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -264226,6 +264226,13 @@ var require_EtherscanVerifier = __commonJS({
|
|
|
264226
264226
|
apikey: opts.etherscanApiKey
|
|
264227
264227
|
}
|
|
264228
264228
|
}));
|
|
264229
|
+
__privateGet(this, _etherscanApi).interceptors.response.use(async (response) => {
|
|
264230
|
+
var _a, _b, _c;
|
|
264231
|
+
if (response.status === 200 && ((_a = response.data) == null ? void 0 : _a.status) === "0" && ((_c = (_b = response.data) == null ? void 0 : _b.message) == null ? void 0 : _c.startsWith("Max rate"))) {
|
|
264232
|
+
response.status = 429;
|
|
264233
|
+
}
|
|
264234
|
+
return response;
|
|
264235
|
+
});
|
|
264229
264236
|
(0, axios_retry_1.default)(__privateGet(this, _etherscanApi), {
|
|
264230
264237
|
retries: 5,
|
|
264231
264238
|
retryCondition: (e) => {
|
|
@@ -414714,7 +414721,7 @@ var require_package3 = __commonJS({
|
|
|
414714
414721
|
module2.exports = {
|
|
414715
414722
|
name: "@gearbox-protocol/deploy-tools",
|
|
414716
414723
|
description: "Gearbox deploy tools",
|
|
414717
|
-
version: "1.6.0-next.
|
|
414724
|
+
version: "1.6.0-next.11",
|
|
414718
414725
|
homepage: "https://gearbox.fi",
|
|
414719
414726
|
keywords: [
|
|
414720
414727
|
"gearbox"
|