@paperbits/common
Advanced tools
Comparing version 0.1.569 to 0.1.570
@@ -47,4 +47,2 @@ import * as XMLHttpRequest from "xhr2"; | ||
return new Promise((resolve, reject) => { | ||
@@ -67,12 +65,7 @@ const xhr = new XMLHttpRequest(); | ||
if (xhr.status === 0) { | ||
// this.logger.trackEvent("HttpRequest", { | ||
// method: request.method, | ||
// url: request.url | ||
// }); | ||
reject({ | ||
message: `Could not complete the request. Please try again later.`, | ||
code: "RequestError", | ||
requestedUrl: request.url, | ||
details: [] | ||
requestMethod: request.method, | ||
requestedUrl: request.url | ||
}); | ||
@@ -79,0 +72,0 @@ return; |
{ | ||
"name": "@paperbits/common", | ||
"version": "0.1.569", | ||
"version": "0.1.570", | ||
"description": "Paperbits common components.", | ||
@@ -5,0 +5,0 @@ "author": "Paperbits", |
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
432841
349
10885