Skip to content

Commit 758f41b

Browse files
committed
0.0.22
1 parent 658ba86 commit 758f41b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ All notable changes to this project will be documented in this file.
2424
* Additional log output has been added for the beta version.
2525
* For updating ZUNO, an additional attempt to write data has been added.
2626
* Updated zuno detection method to support new mac axis curvature
27+
* Fixed uuid comparison when validating the received license.
2728

2829
## Version 00.00.11
2930
- *Release date:* 21.08.2024

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serial-api-web-tools",
3-
"version": "0.0.21",
3+
"version": "0.0.22",
44
"description": "This set tools allows to configure Z-Wave.Me hardware",
55
"main": "src/main.ts",
66
"scripts": {

src/section/controller/license.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class ControllerUiSectionLicenseClass extends CommonUiSectionClass {
4040
}
4141

4242
private _license_timer_get_pack(in_json:ControllerUiClassNewLicenseXhr, uuid:string, crc16_old:number): undefined|string {
43-
if (uuid.toLowerCase() != in_json.uuid.toLowerCase())
43+
if (uuid.toLowerCase().padStart(16, '0') != in_json.uuid.toLowerCase().padStart(16, '0'))
4444
return (undefined);
4545
const crc16:number = Number(in_json.crc);
4646
if (crc16 == 0x0)

0 commit comments

Comments
 (0)