geocodio-library-node 1.13.0 → 1.15.0

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/lib/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -129,13 +129,13 @@ class Geocodio {
129
129
  this.apiKey = apiKey || process.env.GEOCODIO_API_KEY || null;
130
130
  this.hostname =
131
131
  hostname || process.env.GEOCODIO_HOSTNAME || "api.geocod.io";
132
- this.apiVersion = apiVersion || process.env.GEOCODIO_API_VERSION || "v1.9";
132
+ this.apiVersion = apiVersion || process.env.GEOCODIO_API_VERSION || "v1.11";
133
133
 
134
134
  this.SINGLE_TIMEOUT_MS = 5000;
135
135
  this.BATCH_TIMEOUT_MS = 30 * 60 * 1000;
136
136
 
137
137
  this.HTTP_HEADERS = {
138
- "User-Agent": "geocodio-library-node/1.12.0",
138
+ "User-Agent": "geocodio-library-node/1.15.0",
139
139
  Authorization: `Bearer ${this.apiKey}`
140
140
  };
141
141
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geocodio-library-node",
3
- "version": "1.13.0",
3
+ "version": "1.15.0",
4
4
  "description": "geocod.io geocoding API library",
5
5
  "homepage": "https://github.com/Geocodio/geocodio-library-node",
6
6
  "author": {