@todesktop/runtime
Advanced tools
Comparing version 1.6.3-2 to 1.6.3-3
@@ -26,3 +26,3 @@ "use strict"; | ||
: "https://api.todesktop.com"; | ||
return yield sendGetRequest(`${serverUrl}/v1/getReleaseStatus?buildId=${buildId}&appId=${appId}`); | ||
return yield sendGetRequest(`${serverUrl}/v1/getReleaseStatus?buildId=${buildId}&appId=${appId}`, logger); | ||
} | ||
@@ -36,3 +36,3 @@ catch (e) { | ||
exports.default = getReleaseStatus; | ||
function sendGetRequest(url) { | ||
function sendGetRequest(url, logger) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -43,2 +43,3 @@ return new Promise((resolve, reject) => { | ||
.on("response", (response) => { | ||
logger.debug(`GET ${url}: ${response.statusCode}`); | ||
const chunks = []; | ||
@@ -45,0 +46,0 @@ response |
@@ -1,1 +0,1 @@ | ||
export declare const CLIENT_VERSION = "1.6.3-2"; | ||
export declare const CLIENT_VERSION = "1.6.3-3"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CLIENT_VERSION = void 0; | ||
exports.CLIENT_VERSION = "1.6.3-2"; | ||
exports.CLIENT_VERSION = "1.6.3-3"; |
@@ -7,3 +7,3 @@ { | ||
"name": "@todesktop/runtime", | ||
"version": "1.6.3-2", | ||
"version": "1.6.3-3", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "author": "ToDesktop <hi@todesktop.com> (https://www.todesktop.com/)", |
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
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
99549
1659
1