sag_components 1.0.326 → 1.0.327

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.
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.getNumberWithCommas = exports.getFormattedValue = exports.getFormattedUnits = exports.getCurrencySign = void 0;
7
7
  var getCurrencySign = exports.getCurrencySign = function getCurrencySign(currencyTypeToConvert, value) {
8
8
  if (value === undefined || value === null) {
9
- return null;
9
+ return "";
10
10
  }
11
11
  if (isNaN(parseFloat(value))) {
12
12
  console.log("getFormattedUnits", num);
13
- return null;
13
+ return "";
14
14
  }
15
15
  if (!currencyTypeToConvert) return "";
16
16
  var currencySign = "";
@@ -23,11 +23,11 @@ var getCurrencySign = exports.getCurrencySign = function getCurrencySign(currenc
23
23
  };
24
24
  var getFormattedUnits = exports.getFormattedUnits = function getFormattedUnits(num) {
25
25
  if (num === undefined || num === null) {
26
- return null;
26
+ return "";
27
27
  }
28
28
  if (isNaN(parseFloat(num))) {
29
29
  console.log("getFormattedUnits", num);
30
- return null;
30
+ return "";
31
31
  }
32
32
  if (Math.abs(num) >= 1000000000) {
33
33
  return "B";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.326",
3
+ "version": "1.0.327",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {