fiftyone.devicedetection.shared 4.4.124 → 4.4.125

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fiftyone.devicedetection.shared",
3
- "version": "4.4.124",
3
+ "version": "4.4.125",
4
4
  "description": "Shared functionality for implementing device detection engine for the 51Degrees Pipeline API",
5
5
  "keywords": [
6
6
  "51degrees",
package/tests/keyUtils.js CHANGED
@@ -27,7 +27,9 @@ module.exports = {
27
27
  /**
28
28
  * Obtain a key either from environment variable or from a property.
29
29
  * Try resource key as env var, then as upper case env var, the system property
30
- * @param keyName
30
+ *
31
+ * @param {string} keyName Name of the key
32
+ * @returns {string} Key value
31
33
  */
32
34
  getNamedKey: function (keyName) {
33
35
  let value = process.env[keyName];
@@ -39,8 +41,9 @@ module.exports = {
39
41
 
40
42
  /**
41
43
  * Evaluate whether a key might be valid
42
- * @param keyValue value to test
43
- * @returns boolean
44
+ *
45
+ * @param {string} keyValue Value to test
46
+ * @returns {boolean} Is invalid key
44
47
  */
45
48
  isInvalidKey: function (keyValue) {
46
49
  try {