@wikicasa-dev/utilities 1.1.10 → 1.1.12

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.
@@ -1 +1,10 @@
1
1
  export declare const formatCurrency: (numberToFormat: number | undefined, options?: Intl.NumberFormatOptions, locale?: string) => string;
2
+ /**
3
+ * Formats a number to a shortened currency string with euros,
4
+ * using K for thousands and M for millions.
5
+ * @param numberToFormat - The number to be formatted
6
+ * @param [options] - Optional configuration for number formatting
7
+ * @param [locale='it-IT'] - The locale to use for formatting
8
+ * @returns The formatted shortened currency string
9
+ */
10
+ export declare const formatCurrencyShort: (numberToFormat?: number, options?: Intl.NumberFormatOptions, locale?: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/utilities",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "Wikicasa frontend utilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "@types/leaflet.markercluster": "^1.5.1",
36
36
  "@types/node": "^20.5.0",
37
37
  "@types/uuid": "^9.0.2",
38
- "@wikicasa-dev/types": "^1.9.9",
38
+ "@wikicasa-dev/types": "^1.14.6",
39
39
  "glob": "^10.3.10",
40
40
  "jest-environment-jsdom": "^29.7.0",
41
41
  "ts-jest": "^29.2.1",