@toruslabs/rss-client
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -1237,2 +1237,10 @@ import _classCallCheck from '@babel/runtime/helpers/classCallCheck'; | ||
serverFactorEncs = _context2.sent; | ||
if (!(serverFactorEncs.filter(function (s) { | ||
return s; | ||
}).length < this.serverThreshold)) { | ||
_context2.next = 66; | ||
break; | ||
} | ||
throw new Error("not enough servers responded"); | ||
case 66: | ||
factorEncs = []; | ||
@@ -1253,3 +1261,3 @@ _loop3 = function _loop3(_i5) { | ||
return _context2.abrupt("return", factorEncs); | ||
case 68: | ||
case 70: | ||
case "end": | ||
@@ -1256,0 +1264,0 @@ return _context2.stop(); |
{ | ||
"name": "@toruslabs/rss-client", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "RSS Client", | ||
@@ -5,0 +5,0 @@ "main": "dist/rssClient.cjs.js", |
@@ -383,2 +383,3 @@ import { generatePrivate } from "@toruslabs/eccrypto"; | ||
); | ||
if (serverFactorEncs.filter((s) => s).length < this.serverThreshold) throw new Error("not enough servers responded"); | ||
@@ -385,0 +386,0 @@ const factorEncs: RefreshResponse[] = []; |
Sorry, the diff of this file is too big to display
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
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3909444
30728
5