@darkpos/utils 1.0.9 → 1.0.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.
@@ -172,6 +172,7 @@ const formatAmountWithCurrency = (amount, currency, locale) =>
172
172
  ? new Intl.NumberFormat(locale, {
173
173
  style: 'currency',
174
174
  currency,
175
+ signDisplay: 'negative'
175
176
  }).format(Number(amount))
176
177
  : '';
177
178
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darkpos/utils",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "General purpose utilities",
5
5
  "author": "Dark POS",
6
6
  "homepage": "https://gitlab.com/darkpos/packages/dark#readme",
@@ -39,5 +39,5 @@
39
39
  "eslint-plugin-prettier": "^4.0.0",
40
40
  "prettier": "^2.7.0"
41
41
  },
42
- "gitHead": "6648705882ec8351463ba823c213cf7c198129ce"
42
+ "gitHead": "e34041588c206612b5c2dff2e27aa34ac838137e"
43
43
  }