libphonenumber-js 1.10.10 → 1.10.11

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libphonenumber-js",
3
- "version": "1.10.10",
3
+ "version": "1.10.11",
4
4
  "description": "A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript",
5
5
  "main": "index.cjs",
6
6
  "module": "index.js",
package/types.d.ts CHANGED
@@ -24,7 +24,7 @@ export type Countries = {
24
24
  // `in` operator docs:
25
25
  // https://www.typescriptlang.org/docs/handbook/advanced-types.html#mapped-types
26
26
  // `country in CountryCode` means "for each and every CountryCode".
27
- [country in CountryCode]: any[];
27
+ [country in CountryCode]?: any[];
28
28
  };
29
29
 
30
30
  export type MetadataJson = {