@toruslabs/torus.js
Advanced tools
Comparing version 8.0.0 to 8.0.1
@@ -610,3 +610,3 @@ /******/ (() => { // webpackBootstrap | ||
if ((error === null || error === void 0 ? void 0 : error.status) === 502 || (error === null || error === void 0 ? void 0 : error.status) === 401 || acceptedErrorMsgs.includes(error.message) || error.message && error.message.includes("reason: getaddrinfo EAI_AGAIN")) return keyAssign({ | ||
if ((error === null || error === void 0 ? void 0 : error.status) === 502 || (error === null || error === void 0 ? void 0 : error.status) === 504 || (error === null || error === void 0 ? void 0 : error.status) === 401 || acceptedErrorMsgs.includes(error.message) || acceptedErrorMsgs.some(x => error.message.includes(x)) || error.message && error.message.includes("reason: getaddrinfo EAI_AGAIN")) return keyAssign({ | ||
endpoints, | ||
@@ -613,0 +613,0 @@ torusNodePubs, |
@@ -300,3 +300,3 @@ /******/ (() => { // webpackBootstrap | ||
if ((error === null || error === void 0 ? void 0 : error.status) === 502 || (error === null || error === void 0 ? void 0 : error.status) === 401 || acceptedErrorMsgs.includes(error.message) || error.message && error.message.includes("reason: getaddrinfo EAI_AGAIN")) return keyAssign({ | ||
if ((error === null || error === void 0 ? void 0 : error.status) === 502 || (error === null || error === void 0 ? void 0 : error.status) === 504 || (error === null || error === void 0 ? void 0 : error.status) === 401 || acceptedErrorMsgs.includes(error.message) || acceptedErrorMsgs.some(x => error.message.includes(x)) || error.message && error.message.includes("reason: getaddrinfo EAI_AGAIN")) return keyAssign({ | ||
endpoints, | ||
@@ -303,0 +303,0 @@ torusNodePubs, |
@@ -209,3 +209,3 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
if ((error === null || error === void 0 ? void 0 : error.status) === 502 || (error === null || error === void 0 ? void 0 : error.status) === 401 || acceptedErrorMsgs.includes(error.message) || error.message && error.message.includes("reason: getaddrinfo EAI_AGAIN")) return keyAssign({ | ||
if ((error === null || error === void 0 ? void 0 : error.status) === 502 || (error === null || error === void 0 ? void 0 : error.status) === 504 || (error === null || error === void 0 ? void 0 : error.status) === 401 || acceptedErrorMsgs.includes(error.message) || acceptedErrorMsgs.some(x => error.message.includes(x)) || error.message && error.message.includes("reason: getaddrinfo EAI_AGAIN")) return keyAssign({ | ||
endpoints, | ||
@@ -212,0 +212,0 @@ torusNodePubs, |
{ | ||
"name": "@toruslabs/torus.js", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "Handle communication with torus nodes", | ||
@@ -5,0 +5,0 @@ "main": "dist/torusUtils.cjs.js", |
@@ -153,4 +153,6 @@ import { generateJsonRPCObject, post } from "@toruslabs/http-helpers"; | ||
error?.status === 502 || | ||
error?.status === 504 || | ||
error?.status === 401 || | ||
acceptedErrorMsgs.includes(error.message) || | ||
acceptedErrorMsgs.some((x) => error.message.includes(x)) || | ||
(error.message && error.message.includes("reason: getaddrinfo EAI_AGAIN")) | ||
@@ -157,0 +159,0 @@ ) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1366200
5094
4