@eoscafe/light-api
Advanced tools
Comparing version 3.2.10 to 3.2.11
@@ -76,4 +76,7 @@ "use strict"; | ||
if (args === void 0) { args = {}; } | ||
this.chain = chain || "eos"; | ||
this.endpoint = args.endpoint || chainToEndpoint[chain] || chainToEndpoint.eos; | ||
this.chain = chain; | ||
this.endpoint = args.endpoint || chainToEndpoint[chain]; | ||
if (!this.endpoint) { | ||
throw new Error("Chain " + chain + " does not have a default endpoint, provide one in args"); | ||
} | ||
if (args.fetch) { | ||
@@ -80,0 +83,0 @@ this.fetchBuiltin = args.fetch; |
{ | ||
"name": "@eoscafe/light-api", | ||
"version": "3.2.10", | ||
"version": "3.2.11", | ||
"description": "Light API HTTP Javascript library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51194
718