@based/functions 1.2.0 → 1.2.1
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/geo.d.ts +1 -1
- package/package.json +1 -1
- package/src/geo.ts +1 -1
package/dist/geo.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export type CountryCode = 'AF' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ'
|
|
|
2
2
|
type Char = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'U' | 'V' | 'W' | 'X' | 'Y' | 'Z' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
|
|
3
3
|
export type GeoRegionISO = `${Char}${Char}` | `${Char}${Char}${Char}`;
|
|
4
4
|
export type Geo = {
|
|
5
|
-
country: CountryCode;
|
|
5
|
+
country: CountryCode | 'unknown';
|
|
6
6
|
/**
|
|
7
7
|
Ip formatted as ipv6
|
|
8
8
|
|
package/package.json
CHANGED