ip-finder-client 1.0.2 → 1.0.3

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/index.js CHANGED
@@ -159,7 +159,7 @@ var IPInsight = class {
159
159
  const response = await fetch(url, {
160
160
  method: "GET",
161
161
  headers: {
162
- "X-API-Key": this.apiKey,
162
+ "Authorization": `ApiKey ${this.apiKey}`,
163
163
  "Accept": "application/json",
164
164
  "User-Agent": "ip-finder-client/1.0.0"
165
165
  },
package/dist/index.mjs CHANGED
@@ -132,7 +132,7 @@ var IPInsight = class {
132
132
  const response = await fetch(url, {
133
133
  method: "GET",
134
134
  headers: {
135
- "X-API-Key": this.apiKey,
135
+ "Authorization": `ApiKey ${this.apiKey}`,
136
136
  "Accept": "application/json",
137
137
  "User-Agent": "ip-finder-client/1.0.0"
138
138
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ip-finder-client",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Lightweight SDK for IP geolocation, ASN lookup, and network information",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",