@secondstaxorg/sscomp 1.9.13 → 1.9.14

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondstaxorg/sscomp",
3
- "version": "1.9.13",
3
+ "version": "1.9.14",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -1 +1 @@
1
- export declare function dayDiff(rateDate: string): "today, " | "yesterday, " | "" | undefined;
1
+ export declare function dayDiff(rateDate: string, todayOverride?: string, yesterdayOverride?: string): string | undefined;
@@ -25,4 +25,8 @@ export interface ChartProps {
25
25
  * Currency code of base currency
26
26
  */
27
27
  baseCurrCode: string;
28
+ labelOverrides?: {
29
+ today?: string;
30
+ yesterday?: string;
31
+ };
28
32
  }
@@ -1 +1 @@
1
- export declare function dayDiff(rateDate: string): "today, " | "yesterday, " | "" | undefined;
1
+ export declare function dayDiff(rateDate: string, todayOverride?: string, yesterdayOverride?: string): string | undefined;
@@ -10,4 +10,8 @@ export interface ChartProps {
10
10
  exchCurrName: string;
11
11
  exchCurrCode: string;
12
12
  baseCurrCode: string;
13
+ labelOverrides?: {
14
+ today?: string;
15
+ yesterday?: string;
16
+ };
13
17
  }
@@ -1 +1 @@
1
- export declare function dayDiff(rateDate: string): "today, " | "yesterday, " | "" | undefined;
1
+ export declare function dayDiff(rateDate: string, todayOverride?: string, yesterdayOverride?: string): string | undefined;
@@ -10,4 +10,8 @@ export interface ChartProps {
10
10
  exchCurrName: string;
11
11
  exchCurrCode: string;
12
12
  baseCurrCode: string;
13
+ labelOverrides?: {
14
+ today?: string;
15
+ yesterday?: string;
16
+ };
13
17
  }