puvox-library 1.0.49 → 1.0.50

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.
@@ -2911,6 +2911,7 @@ const puvox_library =
2911
2911
  }
2912
2912
  },
2913
2913
  helper_write(groupName, content, storageType){
2914
+ content = puvox_library.isString (content) ? content : (puvox_library.isArray(content) || puvox_library.isObject(content) ? JSON.stringify(content) : content);
2914
2915
  const appName = puvox_library.getAppName();
2915
2916
  if (storageType === 'file'){
2916
2917
  const filepath = puvox_library.file.tempDir() + appName + '_' + groupName + '.json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puvox-library",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "library-class-javascript",
5
5
  "main": "library_standard.js",
6
6
  "scripts": {