@fullstory/snippet
Advanced tools
Comparing version 2.0.0-beta.1 to 2.0.0-beta.2
@@ -10,11 +10,41 @@ // Generated by dts-bundle-generator v8.0.0 | ||
export interface V1PublicApi { | ||
/** | ||
* @deprecated use FS('setIdentity', { consent }) instead: https://developer.fullstory.com/browser/v2/auto-capture/user-consent/ | ||
*/ | ||
consent(userConsents?: boolean): void; | ||
/** | ||
* @deprecated use FS('trackEvent') instead: https://developer.fullstory.com/browser/v2/capture-events/analytics-events/ | ||
*/ | ||
event(eventName: string, eventProperties: V1OperationOption): void; | ||
/** | ||
* @deprecated use FS('setIdentity') instead: https://developer.fullstory.com/browser/v2/identification/identify-users/ | ||
*/ | ||
identify(uid: string | undefined | null | boolean, customVars?: V1OperationOption): void; | ||
/** | ||
* @deprecated use FS('setIdentity', { anonymous }) instead: https://developer.fullstory.com/browser/v2/identification/anonymize-users/ | ||
*/ | ||
anonymize(): void; | ||
/** | ||
* @deprecated use FS('log') instead: https://developer.fullstory.com/browser/v2/auto-capture/logging/ | ||
*/ | ||
log(level: PublicLogLevel, ...msg: any[]): void; | ||
/** | ||
* @deprecated use FS('log') instead: https://developer.fullstory.com/browser/v2/auto-capture/logging/ | ||
*/ | ||
log(...msg: any[]): void; | ||
/** | ||
* @deprecated use FS('restart') instead: https://developer.fullstory.com/browser/v2/auto-capture/capture-data/#restart-data-capture | ||
*/ | ||
restart(): void; | ||
/** | ||
* @deprecated use FS('shutdown') instead: https://developer.fullstory.com/browser/v2/auto-capture/capture-data/#stop-data-capture | ||
*/ | ||
shutdown(): void; | ||
/** | ||
* @deprecated use FS('setProperties', { type: 'user' }) instead: https://developer.fullstory.com/browser/v2/identification/set-user-properties/ | ||
*/ | ||
setUserVars(customVars: V1OperationOption): void; | ||
/** | ||
* @deprecated use FS('setProperties') instead: https://developer.fullstory.com/browser/v2/set-page-properties/ | ||
*/ | ||
setVars(varScope: PublicVarScope, properties?: V1OperationOption): void; | ||
@@ -24,5 +54,17 @@ } | ||
export interface V1DeferredPublicApi { | ||
/** | ||
* @deprecated use FS('setConfig', { console: false }) instead | ||
*/ | ||
disableConsole?: () => void; | ||
/** | ||
* @deprecated use FS('setConfig', { console: true }) instead | ||
*/ | ||
enableConsole?: () => void; | ||
/** | ||
* @deprecated use FS('getSession', { format: 'id' }) instead: https://developer.fullstory.com/browser/v2/get-session-details/ | ||
*/ | ||
getCurrentSession?: () => string | null; | ||
/** | ||
* @deprecated use FS('getSession') instead: https://developer.fullstory.com/browser/v2/get-session-details/ | ||
*/ | ||
getCurrentSessionURL?: (now?: boolean) => string | null; | ||
@@ -29,0 +71,0 @@ } |
{ | ||
"name": "@fullstory/snippet", | ||
"version": "2.0.0-beta.1", | ||
"version": "2.0.0-beta.2", | ||
"description": "FullStory snippet source", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34567
775