@uniformdev/optimize-tracker-common
Advanced tools
Comparing version 2.0.1-alpha.35 to 2.0.1-alpha.39
@@ -0,1 +1,2 @@ | ||
import { IntentVector } from '@uniformdev/optimize-common'; | ||
import { Tracker } from './tracker'; | ||
@@ -5,2 +6,3 @@ export declare type AnalyticsMetaData = { | ||
includedInTest: boolean; | ||
intentScores: IntentVector; | ||
}; | ||
@@ -7,0 +9,0 @@ export declare type AnalyticsEventEmitterOptions = { |
@@ -122,3 +122,3 @@ import { DeliveryAPIResult, DeliveryIntent, IntentAxis, IntentTagStrength, IntentVector, Scope, Signal } from '@uniformdev/optimize-common'; | ||
export declare type SignalEvaluatorMappingFunction = () => Record<string, SignalEvaluator<any>>; | ||
export declare type TrackFunction = (eventName: string, payload?: AnalyticsEventPayload) => void; | ||
export declare type TrackFunction = (eventName: string, payload: AnalyticsEventPayload) => Promise<boolean>; | ||
export declare type GetStateFunction = () => any; | ||
@@ -159,2 +159,4 @@ export declare type SaveFunction = () => Promise<void>; | ||
value: any; | ||
/** The scores that lead to this result */ | ||
intentScores: IntentVector; | ||
}; | ||
@@ -161,0 +163,0 @@ export declare type ListenerFunction = (value: IntentVector | null) => void; |
@@ -0,1 +1,2 @@ | ||
import { IntentVector } from '@uniformdev/optimize-common'; | ||
import { Tracker } from './tracker'; | ||
@@ -5,2 +6,3 @@ export declare type AnalyticsMetaData = { | ||
includedInTest: boolean; | ||
intentScores: IntentVector; | ||
}; | ||
@@ -7,0 +9,0 @@ export declare type AnalyticsEventEmitterOptions = { |
@@ -122,3 +122,3 @@ import { DeliveryAPIResult, DeliveryIntent, IntentAxis, IntentTagStrength, IntentVector, Scope, Signal } from '@uniformdev/optimize-common'; | ||
export declare type SignalEvaluatorMappingFunction = () => Record<string, SignalEvaluator<any>>; | ||
export declare type TrackFunction = (eventName: string, payload?: AnalyticsEventPayload) => void; | ||
export declare type TrackFunction = (eventName: string, payload: AnalyticsEventPayload) => Promise<boolean>; | ||
export declare type GetStateFunction = () => any; | ||
@@ -159,2 +159,4 @@ export declare type SaveFunction = () => Promise<void>; | ||
value: any; | ||
/** The scores that lead to this result */ | ||
intentScores: IntentVector; | ||
}; | ||
@@ -161,0 +163,0 @@ export declare type ListenerFunction = (value: IntentVector | null) => void; |
{ | ||
"name": "@uniformdev/optimize-tracker-common", | ||
"version": "2.0.1-alpha.35+9771b51", | ||
"version": "2.0.1-alpha.39+ea76e22", | ||
"description": "Uniform Optimize Tracker shared common functionality and types", | ||
@@ -29,3 +29,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@uniformdev/optimize-common": "^2.0.1-alpha.35+9771b51" | ||
"@uniformdev/optimize-common": "^2.0.1-alpha.39+ea76e22" | ||
}, | ||
@@ -49,3 +49,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "9771b516ca4e9197d234d0d2a7c16669443d4c46" | ||
"gitHead": "ea76e22933ec310afc7ab4a7041f2d8213adb8f9" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
36667
793