ip-geolocation-api-sdk-typescript
Advanced tools
Comparing version
import {GeolocationParams} from './GeolocationParams'; | ||
import {TimezoneParams} from './TimezoneParams'; | ||
import {XMLHttpRequest} from './node_modules/xmlhttprequest'; | ||
import {XMLHttpRequest} from 'xmlhttprequest'; | ||
export class IPGeolocationAPI { | ||
@@ -8,3 +8,3 @@ | ||
constructor(apiKey: string) { | ||
constructor(apiKey: string = null) { | ||
this.apiKey = apiKey; | ||
@@ -11,0 +11,0 @@ } |
{ | ||
"_from": "ip-geolocation-api-sdk-typescript", | ||
"_id": "ip-geolocation-api-sdk-typescript@1.0.3", | ||
"_id": "ip-geolocation-api-sdk-typescript@1.0.4", | ||
"_inBundle": false, | ||
"_integrity": "sha512-0NctJAI0Cyu34VRDNqCa98+KpNPho2uovWRk83Pu2Zul2TZn9bezckYtK77zBM3MmErVMg4zf6aze1TeI3JlPw==", | ||
"_integrity": "sha512-7u4ECCg5vxxYghaf4eCmyE9M0R5B+xL/VzjRRtPNCt/aYtxtQQQc+OlOlz35Ep8Hih7mUUo10Gjfv6gpT5lvjg==", | ||
"_location": "/ip-geolocation-api-sdk-typescript", | ||
@@ -22,6 +22,6 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://registry.npmjs.org/ip-geolocation-api-sdk-typescript/-/ip-geolocation-api-sdk-typescript-1.0.3.tgz", | ||
"_shasum": "8e2b067f090ca20d2ed99ad4c4e3070daaa7309d", | ||
"_resolved": "https://registry.npmjs.org/ip-geolocation-api-sdk-typescript/-/ip-geolocation-api-sdk-typescript-1.0.4.tgz", | ||
"_shasum": "92626ab85adb5f11188ad24643744863c5830170", | ||
"_spec": "ip-geolocation-api-sdk-typescript", | ||
"_where": "/home/developer/ts", | ||
"_where": "/home/developer/test-ts", | ||
"author": "", | ||
@@ -60,3 +60,3 @@ "bugs": { | ||
}, | ||
"version": "1.0.3" | ||
"version": "1.0.4" | ||
} |
@@ -11,4 +11,4 @@ # IPGeolocation API Typescript SDK | ||
import {IPGeolocationAPI} from './node_modules/ip-geolocation-api-sdk-typescript/IPGeolocationAPI'; | ||
import {GeolocationParams} from './node_modules/ip-geolocation-api-sdk-typescript/IPGeolocationAPI'; | ||
import {TimezoneParams} from './node_modules/ip-geolocation-api-sdk-typescript/IPGeolocationAPI'; | ||
import {GeolocationParams} from './node_modules/ip-geolocation-api-sdk-typescript/GeolocationParams'; | ||
import {TimezoneParams} from './node_modules/ip-geolocation-api-sdk-typescript/TimezoneParams'; | ||
``` | ||
@@ -15,0 +15,0 @@ ### Setup API |
8976
-0.04%