@uniformdev/optimize-tracker-common
Advanced tools
Comparing version 1.0.1-alpha.22 to 1.0.1-alpha.83
@@ -0,0 +0,0 @@ # Change Log |
@@ -22,2 +22,3 @@ import { DeliveryIntent, IntentAxis, IntentVector, Scope, Signal } from '@uniformdev/optimize-common'; | ||
addIntentStrength(scope: Scope | string, valueToAdd: IntentVector): Promise<void>; | ||
log(data: LogMessageOptions): void; | ||
} | ||
@@ -115,2 +116,5 @@ export interface TrackerTestCheckOptions { | ||
}; | ||
export interface SignalStatistics { | ||
evaluations: number; | ||
} | ||
export interface TrackerScope { | ||
@@ -123,6 +127,10 @@ id: string; | ||
random: number; | ||
statistics?: Record<string, SignalStatistics>; | ||
} | ||
export declare type ScopeStrategyInitializeOptions = { | ||
log: LogFunction; | ||
}; | ||
export interface TrackerScopeStrategy { | ||
type: Scope | string; | ||
initialize: () => Promise<void>; | ||
initialize: (options: ScopeStrategyInitializeOptions) => Promise<void>; | ||
get: () => TrackerScope | undefined; | ||
@@ -162,3 +170,4 @@ save: () => Promise<void>; | ||
message: string; | ||
state?: any; | ||
region?: string; | ||
[k: string]: any; | ||
} | ||
@@ -165,0 +174,0 @@ export declare type LogFunction = (options: LogMessageOptions) => void; |
@@ -22,2 +22,3 @@ import { DeliveryIntent, IntentAxis, IntentVector, Scope, Signal } from '@uniformdev/optimize-common'; | ||
addIntentStrength(scope: Scope | string, valueToAdd: IntentVector): Promise<void>; | ||
log(data: LogMessageOptions): void; | ||
} | ||
@@ -115,2 +116,5 @@ export interface TrackerTestCheckOptions { | ||
}; | ||
export interface SignalStatistics { | ||
evaluations: number; | ||
} | ||
export interface TrackerScope { | ||
@@ -123,6 +127,10 @@ id: string; | ||
random: number; | ||
statistics?: Record<string, SignalStatistics>; | ||
} | ||
export declare type ScopeStrategyInitializeOptions = { | ||
log: LogFunction; | ||
}; | ||
export interface TrackerScopeStrategy { | ||
type: Scope | string; | ||
initialize: () => Promise<void>; | ||
initialize: (options: ScopeStrategyInitializeOptions) => Promise<void>; | ||
get: () => TrackerScope | undefined; | ||
@@ -162,3 +170,4 @@ save: () => Promise<void>; | ||
message: string; | ||
state?: any; | ||
region?: string; | ||
[k: string]: any; | ||
} | ||
@@ -165,0 +174,0 @@ export declare type LogFunction = (options: LogMessageOptions) => void; |
{ | ||
"name": "@uniformdev/optimize-tracker-common", | ||
"version": "1.0.1-alpha.22+6f6b50b7", | ||
"version": "1.0.1-alpha.83+49d1d90c", | ||
"description": "Uniform Optimize Tracker shared common functionality and types", | ||
@@ -25,3 +25,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@uniformdev/optimize-common": "^1.0.1-alpha.22+6f6b50b7" | ||
"@uniformdev/optimize-common": "^1.0.1-alpha.83+49d1d90c" | ||
}, | ||
@@ -45,3 +45,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "6f6b50b713096180c7c75ad2a98735b984c5ea36" | ||
"gitHead": "49d1d90c43e7ee30d5be81a3b2c1434bf414adcf" | ||
} |
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
35922
673