zmp-sdk 2.11.9 → 2.11.10

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.
@@ -35749,7 +35749,7 @@
35749
35749
  }
35750
35750
  };
35751
35751
 
35752
- var version = "2.11.9";
35752
+ var version = "2.11.10";
35753
35753
 
35754
35754
  class Basics {
35755
35755
  /**
@@ -37062,9 +37062,10 @@
37062
37062
  const inputData = {};
37063
37063
  Object.entries(data).forEach(([key, value]) => {
37064
37064
  if (!lodash.isUndefined(value) && !lodash.isNull(value)) {
37065
- inputData[key] = lodash.isString(value)
37066
- ? value.replace(/"/g, '\\"').replace(/'/g, "'")
37067
- : JSON.stringify(value).replace(/"/g, '\\"').replace(/'/g, "'");
37065
+ // inputData[key] = _.isString(value)
37066
+ // ? value.replace(/"/g, '\\"').replace(/'/g, "'")
37067
+ // : JSON.stringify(value).replace(/"/g, '\\"').replace(/'/g, "'");
37068
+ inputData[key] = JSON.stringify(value).replace(/"/g, '\\"').replace(/'/g, "'");
37068
37069
  }
37069
37070
  });
37070
37071
  return yield storage.set(inputData);
package/dist/index.es.js CHANGED
@@ -35746,7 +35746,7 @@ const apiResponse = {
35746
35746
  }
35747
35747
  };
35748
35748
 
35749
- var version = "2.11.9";
35749
+ var version = "2.11.10";
35750
35750
 
35751
35751
  class Basics {
35752
35752
  /**
@@ -37059,9 +37059,10 @@ class StorageCreator {
37059
37059
  const inputData = {};
37060
37060
  Object.entries(data).forEach(([key, value]) => {
37061
37061
  if (!lodash.isUndefined(value) && !lodash.isNull(value)) {
37062
- inputData[key] = lodash.isString(value)
37063
- ? value.replace(/"/g, '\\"').replace(/'/g, "'")
37064
- : JSON.stringify(value).replace(/"/g, '\\"').replace(/'/g, "'");
37062
+ // inputData[key] = _.isString(value)
37063
+ // ? value.replace(/"/g, '\\"').replace(/'/g, "'")
37064
+ // : JSON.stringify(value).replace(/"/g, '\\"').replace(/'/g, "'");
37065
+ inputData[key] = JSON.stringify(value).replace(/"/g, '\\"').replace(/'/g, "'");
37065
37066
  }
37066
37067
  });
37067
37068
  return yield storage.set(inputData);