@types/mparticle__web-sdk
Advanced tools
Comparing version 2.14.0 to 2.15.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for mParticle/web-sdk SDK 2.14 | ||
// Type definitions for mParticle/web-sdk SDK 2.15 | ||
// Project: https://github.com/mParticle/mparticle-web-sdk | ||
@@ -20,2 +20,3 @@ // Definitions by: Alex Sapountzis <https://github.com/asap> | ||
sessionTimeout?: number | undefined; | ||
deviceId?: string | undefined; | ||
useCookieStorage?: boolean | undefined; | ||
@@ -82,2 +83,6 @@ maxCookieSize?: number | undefined; | ||
interface IsInitialized { | ||
(): boolean; | ||
} | ||
interface LogError { | ||
@@ -130,2 +135,5 @@ (error: string | errorObject, attrs?: SDKEventAttrs): void; | ||
} | ||
interface SetDeviceId { | ||
(uuid: string): void; | ||
} | ||
interface SetAppName { | ||
@@ -323,2 +331,3 @@ (name: string): void; | ||
export const getDeviceId: GetDeviceId; | ||
export const setDeviceId: SetDeviceId; | ||
export function getInstance(instanceName?: string): mParticleInstance; | ||
@@ -330,2 +339,3 @@ export const getVersion: GetVersion; | ||
export const init: Init; | ||
export const isInitialized: IsInitialized; | ||
export const logBaseEvent: LogBaseEvent; | ||
@@ -694,4 +704,6 @@ export const logError: LogError; | ||
getDeviceId: GetDeviceId; | ||
setDeviceId: SetDeviceId; | ||
getVersion: GetVersion; | ||
init: Init; | ||
isInitialized: IsInitialized; | ||
logBaseEvent: LogBaseEvent; | ||
@@ -698,0 +710,0 @@ logError: LogError; |
{ | ||
"name": "@types/mparticle__web-sdk", | ||
"version": "2.14.0", | ||
"version": "2.15.0", | ||
"description": "TypeScript definitions for mParticle/web-sdk SDK", | ||
@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mparticle__web-sdk", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "f7e13d7542f23882dfe1d5326467b4ce1cfcf4a808b1564c2ae49ec6e0de5ddf", | ||
"typeScriptVersion": "3.7" | ||
"typesPublisherContentHash": "67174723e975ac8cab105ed0bf85255b8d2daf38f67c9f3cf30afd7ef53747b7", | ||
"typeScriptVersion": "3.9" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 22 Sep 2021 16:01:22 GMT | ||
* Last updated: Wed, 02 Mar 2022 20:31:44 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `mParticle` |
26166
779