libphonenumber-js 1.10.42 → 1.10.44
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/bundle/libphonenumber-js.min.js +1 -1
- package/bundle/libphonenumber-js.min.js.map +1 -1
- package/bundle/libphonenumber-max.js +1 -1
- package/bundle/libphonenumber-max.js.map +1 -1
- package/bundle/libphonenumber-min.js +1 -1
- package/bundle/libphonenumber-min.js.map +1 -1
- package/bundle/libphonenumber-mobile.js +1 -1
- package/bundle/libphonenumber-mobile.js.map +1 -1
- package/index.d.cts +1 -1
- package/index.d.ts +1 -1
- package/max/index.d.cts +1 -1
- package/max/index.d.ts +1 -1
- package/metadata.full.json +1 -1
- package/metadata.full.json.js +1 -1
- package/metadata.max.json +1 -1
- package/metadata.max.json.js +1 -1
- package/metadata.min.json +1 -1
- package/metadata.min.json.js +1 -1
- package/metadata.mobile.json +1 -1
- package/metadata.mobile.json.js +1 -1
- package/min/index.d.cts +1 -1
- package/min/index.d.ts +1 -1
- package/mobile/index.d.cts +1 -1
- package/mobile/index.d.ts +1 -1
- package/package.json +1 -1
package/index.d.cts
CHANGED
|
@@ -139,7 +139,7 @@ export function getCountryCallingCode(countryCode: CountryCode): CountryCallingC
|
|
|
139
139
|
// Deprecated.
|
|
140
140
|
export function getPhoneCode(countryCode: CountryCode): CountryCallingCode;
|
|
141
141
|
export function getExtPrefix(countryCode: CountryCode): string;
|
|
142
|
-
export function isSupportedCountry(countryCode: string):
|
|
142
|
+
export function isSupportedCountry(countryCode: string): countryCode is CountryCode;
|
|
143
143
|
|
|
144
144
|
export function formatIncompletePhoneNumber(number: string, countryCode?: CountryCode): string;
|
|
145
145
|
export function parseIncompletePhoneNumber(text: string): string;
|
package/index.d.ts
CHANGED
|
@@ -139,7 +139,7 @@ export function getCountryCallingCode(countryCode: CountryCode): CountryCallingC
|
|
|
139
139
|
// Deprecated.
|
|
140
140
|
export function getPhoneCode(countryCode: CountryCode): CountryCallingCode;
|
|
141
141
|
export function getExtPrefix(countryCode: CountryCode): string;
|
|
142
|
-
export function isSupportedCountry(countryCode: string):
|
|
142
|
+
export function isSupportedCountry(countryCode: string): countryCode is CountryCode;
|
|
143
143
|
|
|
144
144
|
export function formatIncompletePhoneNumber(number: string, countryCode?: CountryCode): string;
|
|
145
145
|
export function parseIncompletePhoneNumber(text: string): string;
|
package/max/index.d.cts
CHANGED
|
@@ -68,7 +68,7 @@ export class PhoneNumberMatcher {
|
|
|
68
68
|
next(): NumberFound | undefined;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
export function isSupportedCountry(countryCode:
|
|
71
|
+
export function isSupportedCountry(countryCode: string): countryCode is CountryCode;
|
|
72
72
|
export function getCountries(): CountryCode[];
|
|
73
73
|
export function getCountryCallingCode(countryCode: CountryCode): CountryCallingCode;
|
|
74
74
|
export function getExtPrefix(countryCode: CountryCode): string;
|
package/max/index.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export class PhoneNumberMatcher {
|
|
|
68
68
|
next(): NumberFound | undefined;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
export function isSupportedCountry(countryCode:
|
|
71
|
+
export function isSupportedCountry(countryCode: string): countryCode is CountryCode;
|
|
72
72
|
export function getCountries(): CountryCode[];
|
|
73
73
|
export function getCountryCallingCode(countryCode: CountryCode): CountryCallingCode;
|
|
74
74
|
export function getExtPrefix(countryCode: CountryCode): string;
|