balena-register-device
Advanced tools
Comparing version 7.2.1-surface-uncaught-exception-details-b2b1ec724485663711e565a849285b578ff22b4c to 8.0.0-uuid-9-8746b5c13b9e4a5453130daca03d965159c08d9d
@@ -76,3 +76,3 @@ "use strict"; | ||
register(options) { | ||
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
for (const opt of [ | ||
@@ -110,4 +110,2 @@ 'applicationId', | ||
}, | ||
}).catch(e => { | ||
throw new Error(`Device register request.send failed ${e}`); | ||
}); | ||
@@ -114,0 +112,0 @@ if (response.statusCode !== 201) { |
@@ -8,6 +8,10 @@ # Change Log | ||
# v7.2.1 | ||
## (2021-12-13) | ||
# v8.0.0 | ||
## (2022-09-06) | ||
* Throw error on uncaught execpetion of request.send [fisehara] | ||
* tsconfig: Enable strict type checking [Thodoris Greasidis] | ||
* Update devDependencies [Thodoris Greasidis] | ||
* Update the uuid package to v9 [Thodoris Greasidis] | ||
* Prevent creating a package-lock.json [Thodoris Greasidis] | ||
* Drop node 10 in favor of 14 & 16 [Thodoris Greasidis] | ||
@@ -14,0 +18,0 @@ # v7.2.0 |
{ | ||
"name": "balena-register-device", | ||
"version": "7.2.1-surface-uncaught-exception-details-b2b1ec724485663711e565a849285b578ff22b4c", | ||
"version": "8.0.0-uuid-9-8746b5c13b9e4a5453130daca03d965159c08d9d", | ||
"description": "Balena device registration utilities", | ||
@@ -39,10 +39,10 @@ "main": "build/register.js", | ||
"balena-auth": "^4.1.0", | ||
"balena-config-karma": "^2.3.1", | ||
"balena-config-karma": "^3.0.0", | ||
"balena-request": "^11.4.0", | ||
"chai": "^3.5.0", | ||
"chai-as-promised": "^6.0.0", | ||
"karma": "^1.7.0", | ||
"chai": "^4.3.4", | ||
"chai-as-promised": "^7.1.1", | ||
"karma": "^5.0.9", | ||
"lodash": "^4.17.21", | ||
"mocha": "^6.2.0", | ||
"mockttp": "^0.8.0" | ||
"mocha": "^7.2.0", | ||
"mockttp": "^0.8.1" | ||
}, | ||
@@ -53,3 +53,3 @@ "dependencies": { | ||
"typed-error": "^3.2.1", | ||
"uuid": "^8.3.2" | ||
"uuid": "^9.0.0" | ||
}, | ||
@@ -60,4 +60,4 @@ "peerDependencies": { | ||
"versionist": { | ||
"publishedAt": "2021-12-13T13:51:42.159Z" | ||
"publishedAt": "2022-09-06T12:40:59.774Z" | ||
} | ||
} |
31531
212
+ Addeduuid@9.0.1(transitive)
- Removeduuid@8.3.2(transitive)
Updateduuid@^9.0.0