Socket
Socket
Sign inDemoInstall

@uniformdev/optimize-tracker-common

Package Overview
Dependencies
Maintainers
9
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniformdev/optimize-tracker-common - npm Package Compare versions

Comparing version 1.0.1-alpha.22 to 1.0.1-alpha.83

0

CHANGELOG.md

@@ -0,0 +0,0 @@ # Change Log

13

dist/cjs/tracker.d.ts

@@ -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;

6

package.json
{
"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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc