Skip to content

Commit bb92449

Browse files
committed
bump version
1 parent bc07fc8 commit bb92449

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-iplocate",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Find geolocation data from IP addresses (e.g. city, country, timezone) using the IPLocate.io API",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.mjs",

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default class IPLocate {
7878
...this.httpClientOptions,
7979
headers: {
8080
'Accept': 'application/json',
81-
'User-Agent': 'node-iplocate/2.0.0',
81+
'User-Agent': 'node-iplocate/2.0.1',
8282
...this.httpClientOptions.headers,
8383
},
8484
signal: controller.signal,

tests/client.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ describe('IPLocate Client', () => {
115115
method: 'GET',
116116
headers: expect.objectContaining({
117117
'Accept': 'application/json',
118-
'User-Agent': 'node-iplocate/2.0.0',
118+
'User-Agent': 'node-iplocate/2.0.1',
119119
}),
120120
})
121121
);
@@ -313,7 +313,7 @@ describe('IPLocate Client', () => {
313313
expect.objectContaining({
314314
'Custom-Header': 'test-value',
315315
'Accept': 'application/json',
316-
'User-Agent': 'node-iplocate/2.0.0',
316+
'User-Agent': 'node-iplocate/2.0.1',
317317
})
318318
);
319319
});

0 commit comments

Comments
 (0)