@tw-labs/countries 0.0.1 → 0.0.2

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/dist/data.mjs CHANGED
@@ -1,3 +1,3 @@
1
- export { AD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW } from './chunk-T2ZQU6E6.mjs';
1
+ export { AD, AE, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW } from './chunk-TGO6OI3L.mjs';
2
2
  //# sourceMappingURL=data.mjs.map
3
3
  //# sourceMappingURL=data.mjs.map
package/dist/index.d.cts CHANGED
@@ -1,5 +1,9 @@
1
- import { F as FilterSortOptions, C as Country, a as CountryWithFlags } from './types-Dte-oYZc.cjs';
2
- export { b as Currency, S as SortBy } from './types-Dte-oYZc.cjs';
1
+ import { C as CountryWithFlags, a as Country, F as FilterSortOptions } from './types-DHrHsQwF.cjs';
2
+ export { b as Currency, S as SortBy } from './types-DHrHsQwF.cjs';
3
+
4
+ declare const toFlagEmoji: (code: string) => string;
5
+ declare const toFlagUrls: (code: string) => Pick<CountryWithFlags, "flagPng20" | "flagPng40" | "flagSvg" | "srcSet">;
6
+ declare const withFlags: (country: Country) => CountryWithFlags;
3
7
 
4
8
  declare const getAllCountries: (options?: FilterSortOptions) => Country[];
5
9
  declare const getAllCountriesWithFlags: (options?: FilterSortOptions) => CountryWithFlags[];
@@ -7,8 +11,4 @@ declare const getCountryByCode: (code: string) => Country | undefined;
7
11
  declare const getCountryByAlpha3: (alpha3: string) => Country | undefined;
8
12
  declare const getCountryByPhone: (phone: string) => Country[];
9
13
 
10
- declare const toFlagEmoji: (code: string) => string;
11
- declare const toFlagUrls: (code: string) => Pick<CountryWithFlags, "flagPng20" | "flagPng40" | "flagSvg" | "srcSet">;
12
- declare const withFlags: (country: Country) => CountryWithFlags;
13
-
14
14
  export { Country, CountryWithFlags, FilterSortOptions, getAllCountries, getAllCountriesWithFlags, getCountryByAlpha3, getCountryByCode, getCountryByPhone, toFlagEmoji, toFlagUrls, withFlags };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,9 @@
1
- import { F as FilterSortOptions, C as Country, a as CountryWithFlags } from './types-Dte-oYZc.js';
2
- export { b as Currency, S as SortBy } from './types-Dte-oYZc.js';
1
+ import { C as CountryWithFlags, a as Country, F as FilterSortOptions } from './types-DHrHsQwF.js';
2
+ export { b as Currency, S as SortBy } from './types-DHrHsQwF.js';
3
+
4
+ declare const toFlagEmoji: (code: string) => string;
5
+ declare const toFlagUrls: (code: string) => Pick<CountryWithFlags, "flagPng20" | "flagPng40" | "flagSvg" | "srcSet">;
6
+ declare const withFlags: (country: Country) => CountryWithFlags;
3
7
 
4
8
  declare const getAllCountries: (options?: FilterSortOptions) => Country[];
5
9
  declare const getAllCountriesWithFlags: (options?: FilterSortOptions) => CountryWithFlags[];
@@ -7,8 +11,4 @@ declare const getCountryByCode: (code: string) => Country | undefined;
7
11
  declare const getCountryByAlpha3: (alpha3: string) => Country | undefined;
8
12
  declare const getCountryByPhone: (phone: string) => Country[];
9
13
 
10
- declare const toFlagEmoji: (code: string) => string;
11
- declare const toFlagUrls: (code: string) => Pick<CountryWithFlags, "flagPng20" | "flagPng40" | "flagSvg" | "srcSet">;
12
- declare const withFlags: (country: Country) => CountryWithFlags;
13
-
14
14
  export { Country, CountryWithFlags, FilterSortOptions, getAllCountries, getAllCountriesWithFlags, getCountryByAlpha3, getCountryByCode, getCountryByPhone, toFlagEmoji, toFlagUrls, withFlags };