@cashub/utils 0.7.0 → 1.0.0

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.
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- /**
8
- * Convert the price to include specified decimal places
7
+ /**
8
+ * Convert the price to include specified decimal places
9
9
  */
10
10
  const formatPrice = price => {
11
11
  let result = price;
package/format/index.js CHANGED
@@ -21,6 +21,12 @@ Object.defineProperty(exports, "formatDate", {
21
21
  return _formatDate.default;
22
22
  }
23
23
  });
24
+ Object.defineProperty(exports, "formatPrice", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _formatPrice.default;
28
+ }
29
+ });
24
30
  Object.defineProperty(exports, "formatSize", {
25
31
  enumerable: true,
26
32
  get: function () {
@@ -29,6 +35,7 @@ Object.defineProperty(exports, "formatSize", {
29
35
  });
30
36
  var _datetimeFormat = _interopRequireDefault(require("./datetimeFormat"));
31
37
  var _formatDate = _interopRequireDefault(require("./formatDate"));
38
+ var _formatPrice = _interopRequireDefault(require("./formatPrice"));
32
39
  var _formatSize = _interopRequireDefault(require("./formatSize"));
33
40
  var _convertSecondsToTimeFormat = _interopRequireDefault(require("./convertSecondsToTimeFormat"));
34
41
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cashub/utils",
3
- "version": "0.7.0",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "author": "CasHUB Team",
6
6
  "description": "CasHUB utils library",