Comparing version 1.0.1 to 1.0.2
@@ -1,1 +0,19 @@ | ||
export {}; | ||
import { KochavaState, IdentityLink, Callback } from "./interfaces.js"; | ||
export declare class Kochava { | ||
readonly kochavaState: KochavaState; | ||
constructor(app_id: string, verbose: boolean, use_cookie: boolean, disable_auto_install: boolean, custom_traits?: IdentityLink); | ||
identify(customTraits: IdentityLink | string, callback?: Callback): void; | ||
page(pageName: string, optsObject?: { | ||
[key: string]: any; | ||
}, callback?: Callback): void; | ||
activity(eventName: string, optsObject?: { | ||
[key: string]: any; | ||
}, callback?: Callback): void; | ||
conversion(eventName: string, optsObject?: { | ||
[key: string]: any; | ||
}, callback?: Callback): void; | ||
install(callback?: Callback): void; | ||
installWithIdentity(customTraits: IdentityLink | string, callback?: Callback): void; | ||
getKochavaId(): string; | ||
getMAID(apikey: string, nonce: string, authCode: string, async: boolean, callback?: Callback): void; | ||
} |
@@ -14,2 +14,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Kochava = void 0; | ||
var Kochava = /** @class */ (function () { | ||
@@ -157,2 +158,3 @@ function Kochava(app_id, verbose, use_cookie, disable_auto_install, custom_traits) { | ||
}()); | ||
exports.Kochava = Kochava; | ||
; | ||
@@ -159,0 +161,0 @@ var request = function (state, request, currRetries, callback) { |
@@ -17,3 +17,3 @@ import { | ||
class Kochava { | ||
export class Kochava { | ||
readonly kochavaState: KochavaState; | ||
@@ -20,0 +20,0 @@ |
{ | ||
"name": "kochava", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "dist/kochava.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
46215
1274