@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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@based/functions",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/geo.ts CHANGED
@@ -290,7 +290,7 @@ type Char =
290
290
  export type GeoRegionISO = `${Char}${Char}` | `${Char}${Char}${Char}`
291
291
 
292
292
  export type Geo = {
293
- country: CountryCode
293
+ country: CountryCode | 'unknown'
294
294
  /**
295
295
  Ip formatted as ipv6
296
296