@qikdev/sdk 0.1.202 → 0.1.204

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": "@qikdev/sdk",
3
- "version": "0.1.202",
3
+ "version": "0.1.204",
4
4
  "type": "module",
5
5
  "description": "Promise based Javascript SDK",
6
6
  "main": "./dist/main.js",
@@ -1464,8 +1464,11 @@ service.machineName = function (string) {
1464
1464
  }
1465
1465
 
1466
1466
  var regexp = /[^a-zA-Z0-9-_]+/g;
1467
- var cleaned = String(string).replace(regexp, " ").trim();
1468
- return _camelCase(cleaned);
1467
+ return String(string)
1468
+ .replace(regexp, " ")
1469
+ .split("_")
1470
+ .map((part) => _camelCase(part))
1471
+ .join("_");
1469
1472
  };
1470
1473
 
1471
1474
  /////////////////////////////////////////////
package/src/version.js CHANGED
@@ -1 +1 @@
1
- export const version = "0.1.202";
1
+ export const version = "0.1.204";