@bluedot-innovation/models 5.1.13 → 5.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/helpers.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
## 5.1.14
|
|
2
|
+
- Validate Mac address against 64-bit Mac Address format
|
|
3
|
+
|
|
1
4
|
## 5.1.13
|
|
2
5
|
- Fixed default value from active to ACTIVE
|
|
3
6
|
|
|
7
|
+
## 5.1.12
|
|
8
|
+
- Validate proximityUUID against UUIDv4 format
|
|
9
|
+
- Separate error messages of ProximityUUID and Mac Address
|
|
10
|
+
|
|
4
11
|
## 5.1.11
|
|
5
12
|
- Remove reference to package name in TestScenario
|
|
6
13
|
|
package/helpers.js
CHANGED
|
@@ -169,7 +169,7 @@ helpers.validateNotNull = function(value) {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
helpers.isValidMacAddress = function (value){
|
|
172
|
-
return /^([0-9a-f]{1,2}[
|
|
172
|
+
return /^([0-9a-f]{1,2}[\:]){5}([0-9a-f]{1,2})$/i.test(value);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
const isValidObject = data => {
|
package/package.json
CHANGED