@types/clevertap-web-sdk
Advanced tools
Comparing version
@@ -100,3 +100,3 @@ type Region = "sg1" | "in1" | "us1" | "aps3" | "mec1"; | ||
declare class CleverTap { | ||
init(accountId: string, region?: Region, targetDomain?: string): void; | ||
init(accountId: string, region?: Region, targetDomain?: string, token?: string): void; | ||
privacy: Privacy; | ||
@@ -141,4 +141,9 @@ event: EventHandler; | ||
getLocation: (lat: number, lng: number) => void; | ||
defineVariable: (name: string, defaultValue: string | number | boolean) => any; | ||
syncVariables(onSyncSuccess: () => void, onSyncFailure: (error: Error) => void): Promise<void>; | ||
fetchVariables(onFetchCallback: () => void): void; | ||
addVariablesChangedCallback(callback: () => void): void; | ||
addOneTimeVariablesChangedCallback(callback: () => void): void; | ||
} | ||
export default CleverTap; |
{ | ||
"name": "@types/clevertap-web-sdk", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "TypeScript definitions for clevertap-web-sdk", | ||
@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/clevertap-web-sdk", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "2edefcc855b33d915a69d169b738b06736fe37866e6b85324166e7276a5cb3f6", | ||
"typeScriptVersion": "4.6" | ||
"typesPublisherContentHash": "7b4335ad06833100276214ef14366d1df53123e8ed7016803b8abc3bf6043b84", | ||
"typeScriptVersion": "4.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 25 Jan 2024 09:06:59 GMT | ||
* Last updated: Fri, 05 Apr 2024 08:07:57 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
7629
5.3%147
3.52%