libphonenumber-js 1.9.11 → 1.9.15

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/min/index.d.ts CHANGED
@@ -80,6 +80,11 @@ export class AsYouType {
80
80
  getNumber(): PhoneNumber | undefined;
81
81
  getChars(): string;
82
82
  getTemplate(): string;
83
+ getCallingCode(): string | undefined;
84
+ getCountry(): CountryCode | undefined;
85
+ isInternational(): boolean;
86
+ isPossible(): boolean;
87
+ isValid(): boolean;
83
88
  }
84
89
 
85
90
  // The exported `Metadata` name is already used for exporting the "raw" JSON metadata type.
package/min/index.js CHANGED
@@ -36,4 +36,4 @@ export {
36
36
  parseRFC3966,
37
37
  formatRFC3966,
38
38
  DIGIT_PLACEHOLDER
39
- } from '../core/index'
39
+ } from '../core/index'
package/mobile/index.js CHANGED
@@ -36,4 +36,4 @@ export {
36
36
  parseRFC3966,
37
37
  formatRFC3966,
38
38
  DIGIT_PLACEHOLDER
39
- } from '../core/index'
39
+ } from '../core/index'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libphonenumber-js",
3
- "version": "1.9.11",
3
+ "version": "1.9.15",
4
4
  "description": "A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript",
5
5
  "main": "index.common.js",
6
6
  "module": "index.es6.js",