@tomphttp/bare-client
Advanced tools
Comparing version 1.1.2-beta.2 to 1.1.2-beta.3
@@ -788,5 +788,12 @@ // The user likely has overwritten all networking functions after importing bare-client | ||
if (!this.working) | ||
this.working = fetchManifest(this.server, this.onDemandSignal).then((manfiest) => { | ||
this.working = fetchManifest(this.server, this.onDemandSignal) | ||
.then((manfiest) => { | ||
this.manfiest = manfiest; | ||
this.getClient(); | ||
}) | ||
.catch((err) => { | ||
// allow the next request to re-fetch the manifest | ||
// this is to prevent BareClient from permanently failing when used on demand | ||
delete this.working; | ||
throw err; | ||
}); | ||
@@ -793,0 +800,0 @@ return this.working; |
{ | ||
"name": "@tomphttp/bare-client", | ||
"version": "1.1.2-beta.2", | ||
"version": "1.1.2-beta.3", | ||
"homepage": "https://github.com/tomphttp", | ||
@@ -5,0 +5,0 @@ "bugs": { |
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
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
254360
2089