@uniformdev/context 19.146.1-alpha.1 → 19.146.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/api.d.mts +1 -25
- package/dist/api/api.d.ts +1 -25
- package/dist/index.d.mts +3 -12
- package/dist/index.d.ts +3 -12
- package/dist/index.esm.js +7 -447
- package/dist/index.js +7 -448
- package/dist/index.mjs +7 -447
- package/dist/{types-DqYG-dCc.d.mts → types-WtfxfDct.d.mts} +2 -36
- package/dist/{types-DqYG-dCc.d.ts → types-WtfxfDct.d.ts} +2 -36
- package/package.json +3 -5
package/dist/api/api.d.mts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { ay as paths$7, N as ManifestV2 } from '../types-WtfxfDct.mjs';
|
2
2
|
import 'mitt';
|
3
3
|
|
4
4
|
type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
|
@@ -74,7 +74,6 @@ interface components$6 {
|
|
74
74
|
*/
|
75
75
|
dur: "s" | "p" | "t";
|
76
76
|
crit: components$6["schemas"]["RootSignalCriteriaGroup"];
|
77
|
-
conversion?: components$6["schemas"]["Conversion"] | null;
|
78
77
|
};
|
79
78
|
RootSignalCriteriaGroup: {
|
80
79
|
/**
|
@@ -96,13 +95,6 @@ interface components$6 {
|
|
96
95
|
/** @description The criteria clauses that make up this grouping of criteria */
|
97
96
|
clauses: (components$6["schemas"]["SignalCriteriaGroup"] | components$6["schemas"]["SignalCriteria"])[];
|
98
97
|
};
|
99
|
-
Conversion: {
|
100
|
-
/**
|
101
|
-
* @description The frequency of the conversion event
|
102
|
-
* @enum {string}
|
103
|
-
*/
|
104
|
-
freq: "O";
|
105
|
-
};
|
106
98
|
SignalCriteriaGroup: {
|
107
99
|
/**
|
108
100
|
* @description Criteria type (Group of other criteria)
|
@@ -795,7 +787,6 @@ interface external$4 {
|
|
795
787
|
*/
|
796
788
|
dur: "s" | "p" | "t";
|
797
789
|
crit: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["RootSignalCriteriaGroup"];
|
798
|
-
conversion?: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["Conversion"] | null;
|
799
790
|
};
|
800
791
|
RootSignalCriteriaGroup: {
|
801
792
|
/**
|
@@ -817,13 +808,6 @@ interface external$4 {
|
|
817
808
|
/** @description The criteria clauses that make up this grouping of criteria */
|
818
809
|
clauses: (external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteriaGroup"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteria"])[];
|
819
810
|
};
|
820
|
-
Conversion: {
|
821
|
-
/**
|
822
|
-
* @description The frequency of the conversion event
|
823
|
-
* @enum {string}
|
824
|
-
*/
|
825
|
-
freq: "O";
|
826
|
-
};
|
827
811
|
SignalCriteriaGroup: {
|
828
812
|
/**
|
829
813
|
* @description Criteria type (Group of other criteria)
|
@@ -1398,7 +1382,6 @@ interface external$1 {
|
|
1398
1382
|
*/
|
1399
1383
|
dur: "s" | "p" | "t";
|
1400
1384
|
crit: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["RootSignalCriteriaGroup"];
|
1401
|
-
conversion?: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["Conversion"] | null;
|
1402
1385
|
};
|
1403
1386
|
RootSignalCriteriaGroup: {
|
1404
1387
|
/**
|
@@ -1420,13 +1403,6 @@ interface external$1 {
|
|
1420
1403
|
/** @description The criteria clauses that make up this grouping of criteria */
|
1421
1404
|
clauses: (external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteriaGroup"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteria"])[];
|
1422
1405
|
};
|
1423
|
-
Conversion: {
|
1424
|
-
/**
|
1425
|
-
* @description The frequency of the conversion event
|
1426
|
-
* @enum {string}
|
1427
|
-
*/
|
1428
|
-
freq: "O";
|
1429
|
-
};
|
1430
1406
|
SignalCriteriaGroup: {
|
1431
1407
|
/**
|
1432
1408
|
* @description Criteria type (Group of other criteria)
|
package/dist/api/api.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { ay as paths$7, N as ManifestV2 } from '../types-WtfxfDct.js';
|
2
2
|
import 'mitt';
|
3
3
|
|
4
4
|
type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
|
@@ -74,7 +74,6 @@ interface components$6 {
|
|
74
74
|
*/
|
75
75
|
dur: "s" | "p" | "t";
|
76
76
|
crit: components$6["schemas"]["RootSignalCriteriaGroup"];
|
77
|
-
conversion?: components$6["schemas"]["Conversion"] | null;
|
78
77
|
};
|
79
78
|
RootSignalCriteriaGroup: {
|
80
79
|
/**
|
@@ -96,13 +95,6 @@ interface components$6 {
|
|
96
95
|
/** @description The criteria clauses that make up this grouping of criteria */
|
97
96
|
clauses: (components$6["schemas"]["SignalCriteriaGroup"] | components$6["schemas"]["SignalCriteria"])[];
|
98
97
|
};
|
99
|
-
Conversion: {
|
100
|
-
/**
|
101
|
-
* @description The frequency of the conversion event
|
102
|
-
* @enum {string}
|
103
|
-
*/
|
104
|
-
freq: "O";
|
105
|
-
};
|
106
98
|
SignalCriteriaGroup: {
|
107
99
|
/**
|
108
100
|
* @description Criteria type (Group of other criteria)
|
@@ -795,7 +787,6 @@ interface external$4 {
|
|
795
787
|
*/
|
796
788
|
dur: "s" | "p" | "t";
|
797
789
|
crit: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["RootSignalCriteriaGroup"];
|
798
|
-
conversion?: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["Conversion"] | null;
|
799
790
|
};
|
800
791
|
RootSignalCriteriaGroup: {
|
801
792
|
/**
|
@@ -817,13 +808,6 @@ interface external$4 {
|
|
817
808
|
/** @description The criteria clauses that make up this grouping of criteria */
|
818
809
|
clauses: (external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteriaGroup"] | external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteria"])[];
|
819
810
|
};
|
820
|
-
Conversion: {
|
821
|
-
/**
|
822
|
-
* @description The frequency of the conversion event
|
823
|
-
* @enum {string}
|
824
|
-
*/
|
825
|
-
freq: "O";
|
826
|
-
};
|
827
811
|
SignalCriteriaGroup: {
|
828
812
|
/**
|
829
813
|
* @description Criteria type (Group of other criteria)
|
@@ -1398,7 +1382,6 @@ interface external$1 {
|
|
1398
1382
|
*/
|
1399
1383
|
dur: "s" | "p" | "t";
|
1400
1384
|
crit: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["RootSignalCriteriaGroup"];
|
1401
|
-
conversion?: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["Conversion"] | null;
|
1402
1385
|
};
|
1403
1386
|
RootSignalCriteriaGroup: {
|
1404
1387
|
/**
|
@@ -1420,13 +1403,6 @@ interface external$1 {
|
|
1420
1403
|
/** @description The criteria clauses that make up this grouping of criteria */
|
1421
1404
|
clauses: (external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteriaGroup"] | external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["SignalCriteria"])[];
|
1422
1405
|
};
|
1423
|
-
Conversion: {
|
1424
|
-
/**
|
1425
|
-
* @description The frequency of the conversion event
|
1426
|
-
* @enum {string}
|
1427
|
-
*/
|
1428
|
-
freq: "O";
|
1429
|
-
};
|
1430
1406
|
SignalCriteriaGroup: {
|
1431
1407
|
/**
|
1432
1408
|
* @description Criteria type (Group of other criteria)
|
package/dist/index.d.mts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { O as OutputSeverity, L as LogDrain, C as ContextPlugin, S as ScoreVector, A as AggregateDimension, T as TransitionDataStore, a as StorageCommands, V as VisitorData, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-
|
2
|
-
export { _ as AggregateDimensionInput, a4 as BehaviorTag, h as CONTEXTUAL_EDITING_TEST_NAME, i as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, n as Context, l as ContextEvents, m as ContextInstance, j as ContextOptions,
|
1
|
+
import { O as OutputSeverity, L as LogDrain, C as ContextPlugin, S as ScoreVector, A as AggregateDimension, T as TransitionDataStore, a as StorageCommands, V as VisitorData, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-WtfxfDct.mjs';
|
2
|
+
export { _ as AggregateDimensionInput, a4 as BehaviorTag, h as CONTEXTUAL_EDITING_TEST_NAME, i as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, n as Context, l as ContextEvents, m as ContextInstance, j as ContextOptions, aw as ContextState, ax as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, al as DecayOptions, q as DevToolsActions, t as DevToolsDataEvent, r as DevToolsEvent, x as DevToolsForgetEvent, u as DevToolsHelloEvent, s as DevToolsLogEvent, w as DevToolsRawCommandsEvent, p as DevToolsState, o as DevToolsUiVersion, v as DevToolsUpdateEvent, a1 as DimensionMatch, X as EnrichmentCategory, ar as EnrichmentData, au as EventData, H as GroupCriteriaEvaluator, af as IdentifyCommand, F as LogMessageGroup, E as LogMessageSingle, y as LogMessages, G as ManifestInstance, N as ManifestV2, M as MessageCategory, B as MessageFunc, aa as ModifyScoreCommand, ab as ModifySessionScoreCommand, Y as NumberMatch, P as PersonalizationEvent, Q as PersonalizationManifest, as as PersonalizeControlVariant, a2 as PersonalizeOptions, at as PersonalizeVariants, a6 as PersonalizedResult, a5 as PersonalizedVariant, ap as Quirks, aj as SERVER_STATE_ID, ai as ServerToClientTransitionState, ac as SetConsentCommand, ag as SetControlGroupCommand, ah as SetPersonalizeVariantControlCommand, ad as SetQuirkCommand, ae as SetTestCommand, z as Severity, R as Signal, W as SignalCriteria, U as SignalCriteriaGroup, K as SignalData, a9 as StorageCommand, Z as TestDefinition, k as TestEvent, $ as TestOptions, a8 as TestResult, a7 as TestVariant, aq as Tests, ak as TransitionDataStoreEvents, ao as VisitorDataStore, an as VisitorDataStoreEvents, am as VisitorDataStoreOptions, av as emptyVisitorData, a3 as personalizeVariations, a0 as testVariations } from './types-WtfxfDct.mjs';
|
3
3
|
import Cookies from 'js-cookie';
|
4
4
|
import 'mitt';
|
5
5
|
|
@@ -155,15 +155,6 @@ type EdgeTestComponentOptions = {
|
|
155
155
|
};
|
156
156
|
declare const EdgeNodeTagName = "nesitag";
|
157
157
|
|
158
|
-
type InsightsEndpoint = {
|
159
|
-
host: string;
|
160
|
-
apiKey: string;
|
161
|
-
};
|
162
|
-
type EnableUniformInsightsOptions = {
|
163
|
-
endpoint: InsightsEndpoint;
|
164
|
-
};
|
165
|
-
declare const enableUniformInsights: (options: EnableUniformInsightsOptions) => ContextPlugin;
|
166
|
-
|
167
158
|
type QuickConnectConfig = {
|
168
159
|
apiKey: string;
|
169
160
|
projectId: string;
|
@@ -172,4 +163,4 @@ type QuickConnectConfig = {
|
|
172
163
|
declare function serializeQuickConnect(config: QuickConnectConfig): string;
|
173
164
|
declare function parseQuickConnect(serialized: string): Required<QuickConnectConfig>;
|
174
165
|
|
175
|
-
export { AggregateDimension, type ConsoleDebugLogDrainOptions, type ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, type CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, type EdgePersonalizeComponentOptions, type EdgeTestComponentOptions, EdgeTransitionDataStore, type EdgeTransitionDataStoreOptions, type
|
166
|
+
export { AggregateDimension, type ConsoleDebugLogDrainOptions, type ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, type CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, type EdgePersonalizeComponentOptions, type EdgeTestComponentOptions, EdgeTransitionDataStore, type EdgeTransitionDataStoreOptions, type LinearDecayOptions, LogDrain, LogMessage, OutputSeverity, type QuickConnectConfig, ScoreVector, ScriptType, StorageCommands, StringMatch, TransitionDataStore, TransitionDataStoreOptions, UNIFORM_DEFAULT_COOKIE_NAME, VariantMatchCriteria, VisitorData, computeAggregateDimensions, cookieEvaluator, createConsoleLogDrain, createDebugConsoleLogDrain, createLinearDecay, currentPageEvaluator, enableConsoleLogDrain, enableContextDevTools, enableDebugConsoleLogDrain, evaluateVariantMatch, eventEvaluator, explainStringMatch, explainStringMatchCriteria, getEnrichmentVectorKey, isStringMatch, pageViewCountDimension, pageViewCountEvaluator, parseQuickConnect, queryStringEvaluator, quirkEvaluator, serializeQuickConnect };
|
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { O as OutputSeverity, L as LogDrain, C as ContextPlugin, S as ScoreVector, A as AggregateDimension, T as TransitionDataStore, a as StorageCommands, V as VisitorData, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-
|
2
|
-
export { _ as AggregateDimensionInput, a4 as BehaviorTag, h as CONTEXTUAL_EDITING_TEST_NAME, i as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, n as Context, l as ContextEvents, m as ContextInstance, j as ContextOptions,
|
1
|
+
import { O as OutputSeverity, L as LogDrain, C as ContextPlugin, S as ScoreVector, A as AggregateDimension, T as TransitionDataStore, a as StorageCommands, V as VisitorData, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-WtfxfDct.js';
|
2
|
+
export { _ as AggregateDimensionInput, a4 as BehaviorTag, h as CONTEXTUAL_EDITING_TEST_NAME, i as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, n as Context, l as ContextEvents, m as ContextInstance, j as ContextOptions, aw as ContextState, ax as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, al as DecayOptions, q as DevToolsActions, t as DevToolsDataEvent, r as DevToolsEvent, x as DevToolsForgetEvent, u as DevToolsHelloEvent, s as DevToolsLogEvent, w as DevToolsRawCommandsEvent, p as DevToolsState, o as DevToolsUiVersion, v as DevToolsUpdateEvent, a1 as DimensionMatch, X as EnrichmentCategory, ar as EnrichmentData, au as EventData, H as GroupCriteriaEvaluator, af as IdentifyCommand, F as LogMessageGroup, E as LogMessageSingle, y as LogMessages, G as ManifestInstance, N as ManifestV2, M as MessageCategory, B as MessageFunc, aa as ModifyScoreCommand, ab as ModifySessionScoreCommand, Y as NumberMatch, P as PersonalizationEvent, Q as PersonalizationManifest, as as PersonalizeControlVariant, a2 as PersonalizeOptions, at as PersonalizeVariants, a6 as PersonalizedResult, a5 as PersonalizedVariant, ap as Quirks, aj as SERVER_STATE_ID, ai as ServerToClientTransitionState, ac as SetConsentCommand, ag as SetControlGroupCommand, ah as SetPersonalizeVariantControlCommand, ad as SetQuirkCommand, ae as SetTestCommand, z as Severity, R as Signal, W as SignalCriteria, U as SignalCriteriaGroup, K as SignalData, a9 as StorageCommand, Z as TestDefinition, k as TestEvent, $ as TestOptions, a8 as TestResult, a7 as TestVariant, aq as Tests, ak as TransitionDataStoreEvents, ao as VisitorDataStore, an as VisitorDataStoreEvents, am as VisitorDataStoreOptions, av as emptyVisitorData, a3 as personalizeVariations, a0 as testVariations } from './types-WtfxfDct.js';
|
3
3
|
import Cookies from 'js-cookie';
|
4
4
|
import 'mitt';
|
5
5
|
|
@@ -155,15 +155,6 @@ type EdgeTestComponentOptions = {
|
|
155
155
|
};
|
156
156
|
declare const EdgeNodeTagName = "nesitag";
|
157
157
|
|
158
|
-
type InsightsEndpoint = {
|
159
|
-
host: string;
|
160
|
-
apiKey: string;
|
161
|
-
};
|
162
|
-
type EnableUniformInsightsOptions = {
|
163
|
-
endpoint: InsightsEndpoint;
|
164
|
-
};
|
165
|
-
declare const enableUniformInsights: (options: EnableUniformInsightsOptions) => ContextPlugin;
|
166
|
-
|
167
158
|
type QuickConnectConfig = {
|
168
159
|
apiKey: string;
|
169
160
|
projectId: string;
|
@@ -172,4 +163,4 @@ type QuickConnectConfig = {
|
|
172
163
|
declare function serializeQuickConnect(config: QuickConnectConfig): string;
|
173
164
|
declare function parseQuickConnect(serialized: string): Required<QuickConnectConfig>;
|
174
165
|
|
175
|
-
export { AggregateDimension, type ConsoleDebugLogDrainOptions, type ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, type CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, type EdgePersonalizeComponentOptions, type EdgeTestComponentOptions, EdgeTransitionDataStore, type EdgeTransitionDataStoreOptions, type
|
166
|
+
export { AggregateDimension, type ConsoleDebugLogDrainOptions, type ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, type CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, type EdgePersonalizeComponentOptions, type EdgeTestComponentOptions, EdgeTransitionDataStore, type EdgeTransitionDataStoreOptions, type LinearDecayOptions, LogDrain, LogMessage, OutputSeverity, type QuickConnectConfig, ScoreVector, ScriptType, StorageCommands, StringMatch, TransitionDataStore, TransitionDataStoreOptions, UNIFORM_DEFAULT_COOKIE_NAME, VariantMatchCriteria, VisitorData, computeAggregateDimensions, cookieEvaluator, createConsoleLogDrain, createDebugConsoleLogDrain, createLinearDecay, currentPageEvaluator, enableConsoleLogDrain, enableContextDevTools, enableDebugConsoleLogDrain, evaluateVariantMatch, eventEvaluator, explainStringMatch, explainStringMatchCriteria, getEnrichmentVectorKey, isStringMatch, pageViewCountDimension, pageViewCountEvaluator, parseQuickConnect, queryStringEvaluator, quirkEvaluator, serializeQuickConnect };
|