Skip to content

Commit 9820df9

Browse files
MiniCodeMonkeyelchukc
authored andcommitted
Updated to Geocodio API v1.8
1 parent b8a6dfc commit 9820df9

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `geocodio-library-node` will be documented in this file
44

5+
## 1.10.0 - 2025-05-20
6+
7+
- Added support for Geocodio API v1.8
8+
59
## 1.9.1 - 2025-03-06
610

711
- Updated typescript definitions thanks to contribution by [Adrastopoulos](https://github.com/Geocodio/geocodio-library-node/pull/43)

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ class Geocodio {
99
this.apiKey = apiKey || process.env.GEOCODIO_API_KEY || null;
1010
this.hostname =
1111
hostname || process.env.GEOCODIO_HOSTNAME || "api.geocod.io";
12-
this.apiVersion = apiVersion || process.env.GEOCODIO_API_VERSION || "v1.7";
12+
this.apiVersion = apiVersion || process.env.GEOCODIO_API_VERSION || "v1.8";
1313

1414
this.SINGLE_TIMEOUT_MS = 5000;
1515
this.BATCH_TIMEOUT_MS = 30 * 60 * 1000;
1616

1717
this.HTTP_HEADERS = {
18-
"User-Agent": "geocodio-library-node/1.8.0",
18+
"User-Agent": "geocodio-library-node/1.10.0",
1919
Authorization: `Bearer ${this.apiKey}`
2020
};
2121

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "geocodio-library-node",
3-
"version": "1.9.1",
3+
"version": "1.10.0",
44
"description": "geocod.io geocoding API library",
55
"homepage": "https://github.com/Geocodio/geocodio-library-node",
66
"author": {

0 commit comments

Comments
 (0)