@myrjfa/state 1.0.5 → 1.0.6
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.
|
@@ -3,6 +3,7 @@ export interface Country {
|
|
|
3
3
|
phoneCode: string;
|
|
4
4
|
iso: string;
|
|
5
5
|
states: string[];
|
|
6
|
+
currency: string;
|
|
6
7
|
}
|
|
7
8
|
export declare const COUNTRIES: Country[];
|
|
8
9
|
export declare const COUNTRIES_BY_CODE: Record<string, Country>;
|
|
@@ -16,4 +17,7 @@ export declare function getCountriesWithPhoneCodes(): string[];
|
|
|
16
17
|
export declare function getCountryByName(name: string): Country | undefined;
|
|
17
18
|
export declare function searchCountries(query: string): Country[];
|
|
18
19
|
export declare function searchStatesOfCountry(countryName: string, query: string): string[];
|
|
20
|
+
export declare function getCurrencies(): string[];
|
|
21
|
+
export declare function getCurrency(countryName: string): string | null;
|
|
22
|
+
export declare function getCountiesByCurrency(currencyName: string): string[];
|
|
19
23
|
//# sourceMappingURL=countryStates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"countryStates.d.ts","sourceRoot":"","sources":["../../../src/lib/data/countryStates.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,OAAO;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"countryStates.d.ts","sourceRoot":"","sources":["../../../src/lib/data/countryStates.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,OAAO;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MA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