@k03mad/ip2geo 21.0.3 → 21.0.4

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/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -45,8 +45,8 @@ import {ip2geo} from '@k03mad/ip2geo';
45
45
  const info = await ip2geo({
46
46
  ip: '1.1.1.1', // make key falsy to use current external IP
47
47
  // defaults
48
- cacheDir: path.join(os.tmpdir(), '.ip2geo'),
49
- cacheFileName: 'ips.log',
48
+ cacheDir: path.join(os.tmpdir(), '.ip2geo-cache'),
49
+ cacheFileName: 'ip.log',
50
50
  cacheFileSeparator: ';;',
51
51
  cacheFileNewline: '\n',
52
52
  cacheMap: new Map(),
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@k03mad/ip2geo",
3
- "version": "21.0.3",
3
+ "version": "21.0.4",
4
4
  "description": "GeoIP library",
5
5
  "license": "MIT",
6
6
  "maintainers": [
7
- "Kirill Molchanov <k03.mad@gmail.com"
7
+ "Kirill Molchanov <k03.mad@gmail.com>"
8
8
  ],
9
9
  "repository": {
10
10
  "type": "git",