mixlea-utils-js 0.1.81 → 0.1.82

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.
@@ -1156,11 +1156,10 @@ export declare function parseURL(path: string): {
1156
1156
  params: Record<string, string>;
1157
1157
  };
1158
1158
 
1159
- export declare function percentFormatter<T = unknown>(value: T, options?: {
1160
- thousandth?: boolean;
1161
- allowRound?: boolean;
1162
- precision?: number;
1163
- precisionPad?: boolean;
1159
+ export declare function percentFormatter(input: any, opts?: {
1160
+ positiveSymbol?: boolean;
1161
+ precision?: number | ((value: number) => number);
1162
+ maxValue?: number;
1164
1163
  }): string;
1165
1164
 
1166
1165
  export declare function pickObjectArrayField<T extends Record<string, any>, K extends keyof T>(arr: T[], field: K, defaultValue?: T[K]): T[K][];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mixlea-utils-js",
3
3
  "type": "module",
4
- "version": "0.1.81",
4
+ "version": "0.1.82",
5
5
  "private": false,
6
6
  "license": "Apache-2.0",
7
7
  "exports": {