awesome-phonenumber
Advanced tools
Comparing version 6.11.1 to 6.12.0
@@ -79,2 +79,4 @@ export type PhoneNumberFormat = | ||
possible: boolean; | ||
shortValid: boolean; | ||
shortPossible: boolean; | ||
canBeInternationallyDialled: boolean; | ||
@@ -81,0 +83,0 @@ type: PhoneNumberTypes; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "6.11.1", | ||
"version": "6.12.0", | ||
"author": "Gustaf Räntilä <g.rantila@gmail.com>", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -81,2 +81,4 @@ [![npm version][npm-image]][npm-url] | ||
possible: true, | ||
shortPossible: false, | ||
shortValid: false, | ||
canBeInternationallyDialled: true, | ||
@@ -109,2 +111,4 @@ type: 'mobile', | ||
possible: boolean; | ||
shortPossible: boolean; | ||
shortValid: boolean; | ||
canBeInternationallyDialled: boolean; | ||
@@ -126,2 +130,4 @@ type: PhoneNumberTypes; // a string union, see below | ||
possibility: 'invalid'; | ||
shortPossible: boolean; | ||
shortValid: boolean; | ||
error?: unknown; | ||
@@ -131,3 +137,5 @@ }; | ||
Note that an incorrect (invalid) phone number can still be a valid _short number_ for the given region. | ||
## API | ||
@@ -134,0 +142,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
718020
3439
362