@uniformdev/context 19.206.0 → 19.207.0

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.
@@ -1,4 +1,4 @@
1
- import { aC as paths$7, N as ManifestV2 } from '../types-GEdDZEPP.mjs';
1
+ import { aC as paths$7, N as ManifestV2 } from '../types-yhnsCpvC.mjs';
2
2
  import 'mitt';
3
3
 
4
4
  type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
package/dist/api/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { aC as paths$7, N as ManifestV2 } from '../types-GEdDZEPP.js';
1
+ import { aC as paths$7, N as ManifestV2 } from '../types-yhnsCpvC.js';
2
2
  import 'mitt';
3
3
 
4
4
  type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
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-GEdDZEPP.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, az as ContextState, aA as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, an 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, au as EnrichmentData, ax as EventData, aB as GoalStateUpdate, at as Goals, H as GroupCriteriaEvaluator, ag as IdentifyCommand, F as LogMessageGroup, E as LogMessageSingle, y as LogMessages, G as ManifestInstance, N as ManifestV2, M as MessageCategory, B as MessageFunc, ab as ModifyScoreCommand, ac as ModifySessionScoreCommand, Y as NumberMatch, P as PersonalizationEvent, Q as PersonalizationManifest, av as PersonalizeControlVariant, a2 as PersonalizeOptions, aw as PersonalizeVariants, a6 as PersonalizedResult, a5 as PersonalizedVariant, ar as Quirks, al as SERVER_STATE_ID, ak as ServerToClientTransitionState, ad as SetConsentCommand, ah as SetControlGroupCommand, aa as SetGoalCommand, ai as SetPersonalizeVariantControlCommand, ae as SetQuirkCommand, af 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, as as Tests, am as TransitionDataStoreEvents, aq as VisitorDataStore, ap as VisitorDataStoreEvents, ao as VisitorDataStoreOptions, aj as areCommandsEqual, ay as emptyVisitorData, a3 as personalizeVariations, a0 as testVariations } from './types-GEdDZEPP.mjs';
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, Q as Quirks, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-yhnsCpvC.mjs';
2
+ export { $ as AggregateDimensionInput, a5 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, az as ContextState, aA as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, ao 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, a2 as DimensionMatch, Y as EnrichmentCategory, au as EnrichmentData, ax as EventData, aB as GoalStateUpdate, at as Goals, H as GroupCriteriaEvaluator, ah as IdentifyCommand, F as LogMessageGroup, E as LogMessageSingle, y as LogMessages, G as ManifestInstance, N as ManifestV2, M as MessageCategory, B as MessageFunc, ac as ModifyScoreCommand, ad as ModifySessionScoreCommand, Z as NumberMatch, P as PersonalizationEvent, R as PersonalizationManifest, av as PersonalizeControlVariant, a3 as PersonalizeOptions, aw as PersonalizeVariants, a7 as PersonalizedResult, a6 as PersonalizedVariant, am as SERVER_STATE_ID, al as ServerToClientTransitionState, ae as SetConsentCommand, ai as SetControlGroupCommand, ab as SetGoalCommand, aj as SetPersonalizeVariantControlCommand, af as SetQuirkCommand, ag as SetTestCommand, z as Severity, U as Signal, X as SignalCriteria, W as SignalCriteriaGroup, K as SignalData, aa as StorageCommand, _ as TestDefinition, k as TestEvent, a0 as TestOptions, a9 as TestResult, a8 as TestVariant, as as Tests, an as TransitionDataStoreEvents, ar as VisitorDataStore, aq as VisitorDataStoreEvents, ap as VisitorDataStoreOptions, ak as areCommandsEqual, ay as emptyVisitorData, a4 as personalizeVariations, a1 as testVariations } from './types-yhnsCpvC.mjs';
3
3
  import Cookies from 'js-cookie';
4
4
  import 'mitt';
5
5
 
@@ -27,11 +27,27 @@ type CookieTransitionDataStoreOptions = {
27
27
  * IMPORTANT: If not passed, the transition store will not have any effect during SSR.
28
28
  */
29
29
  serverCookieValue?: string;
30
+ /**
31
+ * @deprecated
32
+ * The value of the quirk cookie during server-side rendering.
33
+ */
34
+ quirkCookieValue?: string;
35
+ /**
36
+ * @deprecated
37
+ * Whether to enable the experimental quirks feature.
38
+ */
39
+ experimental_quirksEnabled?: boolean;
30
40
  /**
31
41
  * The name of the cookie to store client-to-server score information in.
32
42
  * Defaults to UNIFORM_DEFAULT_COOKIE_NAME if not set.
33
43
  */
34
44
  cookieName?: string;
45
+ /**
46
+ * @deprecated
47
+ * The name of the cookie to store quirks in.
48
+ * Defaults to UNIFORM_DEFAULT_QUIRK_COOKIE_NAME if not set.
49
+ */
50
+ quirkCookieName?: string;
35
51
  /**
36
52
  * Attributes to set on the transfer cookie.
37
53
  * Persistence is not necessary, because the data is only used for temporary transition;
@@ -40,20 +56,23 @@ type CookieTransitionDataStoreOptions = {
40
56
  cookieAttributes?: Cookies.CookieAttributes;
41
57
  };
42
58
  declare const UNIFORM_DEFAULT_COOKIE_NAME = "ufvd";
59
+ declare const UNIFORM_DEFAULT_QUIRK_COOKIE_NAME = "ufvdqk";
43
60
  /**
44
61
  * Handles client-to-server score handoff using an encoded cookie with the visitor score vector.
45
62
  * NOTE: forget me is not supported when on the server side.
46
63
  */
47
64
  declare class CookieTransitionDataStore extends TransitionDataStore {
48
65
  #private;
49
- constructor({ serverCookieValue, cookieName, cookieAttributes, }: CookieTransitionDataStoreOptions);
66
+ constructor({ serverCookieValue, experimental_quirksEnabled, quirkCookieValue, quirkCookieName, cookieName, cookieAttributes, }: CookieTransitionDataStoreOptions);
50
67
  handleDelete(): Promise<void>;
51
68
  handleUpdateData(_: StorageCommands[], computedValue: VisitorData): Promise<void>;
52
69
  }
53
70
  declare const TYPE_SEP = "~";
54
71
  declare const PAIR_SEP = "!";
55
72
  declare const KV_SEP = "-";
56
- declare function parseScoreCookie(cookieValue: string | undefined): Partial<VisitorData> | undefined;
73
+ declare const QUIRK_SEP = "!!";
74
+ declare function parseScoreCookie(cookieValue: string | undefined, quirkCookieValue?: string): Partial<VisitorData> | undefined;
75
+ declare function parseQuirkCookie(quirkCookieValue: string): Quirks;
57
76
  declare function parseCookieScores(type: string | undefined): Record<string, string>;
58
77
  declare function parseCookieType(type: string | undefined): Record<string, string>;
59
78
  declare function decodeCookieType(type: Record<string, string>): Record<string, number>;
@@ -62,6 +81,7 @@ declare function serializePersonalizeVariants({ personalizeVariants, }: Pick<Vis
62
81
  declare function decodePersonalizeVariants(data: string | undefined): VisitorData['personalizeVariants'];
63
82
  declare function encodeCookieType(type: Record<string, number>): Record<string, string>;
64
83
  declare function serializeCookieType(type: Record<string, string>): string;
84
+ declare function serializeQuirks(quirks: Quirks): string;
65
85
 
66
86
  type EdgeTransitionDataStoreOptions = TransitionDataStoreOptions & {
67
87
  serverCookieValue?: string;
@@ -189,4 +209,4 @@ type QuickConnectConfig = {
189
209
  declare function serializeQuickConnect(config: QuickConnectConfig): string;
190
210
  declare function parseQuickConnect(serialized: string): Required<QuickConnectConfig>;
191
211
 
192
- export { AggregateDimension, type ConsoleDebugLogDrainOptions, type ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, type CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, type EdgePersonalizeComponentOptions, type EdgeTestComponentOptions, EdgeTransitionDataStore, type EdgeTransitionDataStoreOptions, type EnableUniformInsightsOptions, KV_SEP, type LinearDecayOptions, LogDrain, LogMessage, OutputSeverity, PAIR_SEP, type QuickConnectConfig, ScoreVector, ScriptType, StorageCommands, StringMatch, TYPE_SEP, TransitionDataStore, TransitionDataStoreOptions, UNIFORM_DEFAULT_COOKIE_NAME, VariantMatchCriteria, VisitorData, computeAggregateDimensions, cookieEvaluator, createConsoleLogDrain, createDebugConsoleLogDrain, createLinearDecay, currentPageEvaluator, decodeCookieType, decodePersonalizeVariants, enableConsoleLogDrain, enableContextDevTools, enableDebugConsoleLogDrain, enableUniformInsights, encodeCookieType, evaluateVariantMatch, eventEvaluator, explainStringMatch, explainStringMatchCriteria, getEnrichmentVectorKey, isStringMatch, pageViewCountDimension, pageViewCountEvaluator, parseCookieScores, parseCookieType, parseQuickConnect, parseScoreCookie, queryStringEvaluator, quirkEvaluator, serializeCookie, serializeCookieType, serializePersonalizeVariants, serializeQuickConnect };
212
+ export { AggregateDimension, type ConsoleDebugLogDrainOptions, type ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, type CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, type EdgePersonalizeComponentOptions, type EdgeTestComponentOptions, EdgeTransitionDataStore, type EdgeTransitionDataStoreOptions, type EnableUniformInsightsOptions, KV_SEP, type LinearDecayOptions, LogDrain, LogMessage, OutputSeverity, PAIR_SEP, QUIRK_SEP, type QuickConnectConfig, Quirks, ScoreVector, ScriptType, StorageCommands, StringMatch, TYPE_SEP, TransitionDataStore, TransitionDataStoreOptions, UNIFORM_DEFAULT_COOKIE_NAME, UNIFORM_DEFAULT_QUIRK_COOKIE_NAME, VariantMatchCriteria, VisitorData, computeAggregateDimensions, cookieEvaluator, createConsoleLogDrain, createDebugConsoleLogDrain, createLinearDecay, currentPageEvaluator, decodeCookieType, decodePersonalizeVariants, enableConsoleLogDrain, enableContextDevTools, enableDebugConsoleLogDrain, enableUniformInsights, encodeCookieType, evaluateVariantMatch, eventEvaluator, explainStringMatch, explainStringMatchCriteria, getEnrichmentVectorKey, isStringMatch, pageViewCountDimension, pageViewCountEvaluator, parseCookieScores, parseCookieType, parseQuickConnect, parseQuirkCookie, parseScoreCookie, queryStringEvaluator, quirkEvaluator, serializeCookie, serializeCookieType, serializePersonalizeVariants, serializeQuickConnect, serializeQuirks };
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-GEdDZEPP.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, az as ContextState, aA as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, an 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, au as EnrichmentData, ax as EventData, aB as GoalStateUpdate, at as Goals, H as GroupCriteriaEvaluator, ag as IdentifyCommand, F as LogMessageGroup, E as LogMessageSingle, y as LogMessages, G as ManifestInstance, N as ManifestV2, M as MessageCategory, B as MessageFunc, ab as ModifyScoreCommand, ac as ModifySessionScoreCommand, Y as NumberMatch, P as PersonalizationEvent, Q as PersonalizationManifest, av as PersonalizeControlVariant, a2 as PersonalizeOptions, aw as PersonalizeVariants, a6 as PersonalizedResult, a5 as PersonalizedVariant, ar as Quirks, al as SERVER_STATE_ID, ak as ServerToClientTransitionState, ad as SetConsentCommand, ah as SetControlGroupCommand, aa as SetGoalCommand, ai as SetPersonalizeVariantControlCommand, ae as SetQuirkCommand, af 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, as as Tests, am as TransitionDataStoreEvents, aq as VisitorDataStore, ap as VisitorDataStoreEvents, ao as VisitorDataStoreOptions, aj as areCommandsEqual, ay as emptyVisitorData, a3 as personalizeVariations, a0 as testVariations } from './types-GEdDZEPP.js';
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, Q as Quirks, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-yhnsCpvC.js';
2
+ export { $ as AggregateDimensionInput, a5 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, az as ContextState, aA as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, ao 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, a2 as DimensionMatch, Y as EnrichmentCategory, au as EnrichmentData, ax as EventData, aB as GoalStateUpdate, at as Goals, H as GroupCriteriaEvaluator, ah as IdentifyCommand, F as LogMessageGroup, E as LogMessageSingle, y as LogMessages, G as ManifestInstance, N as ManifestV2, M as MessageCategory, B as MessageFunc, ac as ModifyScoreCommand, ad as ModifySessionScoreCommand, Z as NumberMatch, P as PersonalizationEvent, R as PersonalizationManifest, av as PersonalizeControlVariant, a3 as PersonalizeOptions, aw as PersonalizeVariants, a7 as PersonalizedResult, a6 as PersonalizedVariant, am as SERVER_STATE_ID, al as ServerToClientTransitionState, ae as SetConsentCommand, ai as SetControlGroupCommand, ab as SetGoalCommand, aj as SetPersonalizeVariantControlCommand, af as SetQuirkCommand, ag as SetTestCommand, z as Severity, U as Signal, X as SignalCriteria, W as SignalCriteriaGroup, K as SignalData, aa as StorageCommand, _ as TestDefinition, k as TestEvent, a0 as TestOptions, a9 as TestResult, a8 as TestVariant, as as Tests, an as TransitionDataStoreEvents, ar as VisitorDataStore, aq as VisitorDataStoreEvents, ap as VisitorDataStoreOptions, ak as areCommandsEqual, ay as emptyVisitorData, a4 as personalizeVariations, a1 as testVariations } from './types-yhnsCpvC.js';
3
3
  import Cookies from 'js-cookie';
4
4
  import 'mitt';
5
5
 
@@ -27,11 +27,27 @@ type CookieTransitionDataStoreOptions = {
27
27
  * IMPORTANT: If not passed, the transition store will not have any effect during SSR.
28
28
  */
29
29
  serverCookieValue?: string;
30
+ /**
31
+ * @deprecated
32
+ * The value of the quirk cookie during server-side rendering.
33
+ */
34
+ quirkCookieValue?: string;
35
+ /**
36
+ * @deprecated
37
+ * Whether to enable the experimental quirks feature.
38
+ */
39
+ experimental_quirksEnabled?: boolean;
30
40
  /**
31
41
  * The name of the cookie to store client-to-server score information in.
32
42
  * Defaults to UNIFORM_DEFAULT_COOKIE_NAME if not set.
33
43
  */
34
44
  cookieName?: string;
45
+ /**
46
+ * @deprecated
47
+ * The name of the cookie to store quirks in.
48
+ * Defaults to UNIFORM_DEFAULT_QUIRK_COOKIE_NAME if not set.
49
+ */
50
+ quirkCookieName?: string;
35
51
  /**
36
52
  * Attributes to set on the transfer cookie.
37
53
  * Persistence is not necessary, because the data is only used for temporary transition;
@@ -40,20 +56,23 @@ type CookieTransitionDataStoreOptions = {
40
56
  cookieAttributes?: Cookies.CookieAttributes;
41
57
  };
42
58
  declare const UNIFORM_DEFAULT_COOKIE_NAME = "ufvd";
59
+ declare const UNIFORM_DEFAULT_QUIRK_COOKIE_NAME = "ufvdqk";
43
60
  /**
44
61
  * Handles client-to-server score handoff using an encoded cookie with the visitor score vector.
45
62
  * NOTE: forget me is not supported when on the server side.
46
63
  */
47
64
  declare class CookieTransitionDataStore extends TransitionDataStore {
48
65
  #private;
49
- constructor({ serverCookieValue, cookieName, cookieAttributes, }: CookieTransitionDataStoreOptions);
66
+ constructor({ serverCookieValue, experimental_quirksEnabled, quirkCookieValue, quirkCookieName, cookieName, cookieAttributes, }: CookieTransitionDataStoreOptions);
50
67
  handleDelete(): Promise<void>;
51
68
  handleUpdateData(_: StorageCommands[], computedValue: VisitorData): Promise<void>;
52
69
  }
53
70
  declare const TYPE_SEP = "~";
54
71
  declare const PAIR_SEP = "!";
55
72
  declare const KV_SEP = "-";
56
- declare function parseScoreCookie(cookieValue: string | undefined): Partial<VisitorData> | undefined;
73
+ declare const QUIRK_SEP = "!!";
74
+ declare function parseScoreCookie(cookieValue: string | undefined, quirkCookieValue?: string): Partial<VisitorData> | undefined;
75
+ declare function parseQuirkCookie(quirkCookieValue: string): Quirks;
57
76
  declare function parseCookieScores(type: string | undefined): Record<string, string>;
58
77
  declare function parseCookieType(type: string | undefined): Record<string, string>;
59
78
  declare function decodeCookieType(type: Record<string, string>): Record<string, number>;
@@ -62,6 +81,7 @@ declare function serializePersonalizeVariants({ personalizeVariants, }: Pick<Vis
62
81
  declare function decodePersonalizeVariants(data: string | undefined): VisitorData['personalizeVariants'];
63
82
  declare function encodeCookieType(type: Record<string, number>): Record<string, string>;
64
83
  declare function serializeCookieType(type: Record<string, string>): string;
84
+ declare function serializeQuirks(quirks: Quirks): string;
65
85
 
66
86
  type EdgeTransitionDataStoreOptions = TransitionDataStoreOptions & {
67
87
  serverCookieValue?: string;
@@ -189,4 +209,4 @@ type QuickConnectConfig = {
189
209
  declare function serializeQuickConnect(config: QuickConnectConfig): string;
190
210
  declare function parseQuickConnect(serialized: string): Required<QuickConnectConfig>;
191
211
 
192
- export { AggregateDimension, type ConsoleDebugLogDrainOptions, type ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, type CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, type EdgePersonalizeComponentOptions, type EdgeTestComponentOptions, EdgeTransitionDataStore, type EdgeTransitionDataStoreOptions, type EnableUniformInsightsOptions, KV_SEP, type LinearDecayOptions, LogDrain, LogMessage, OutputSeverity, PAIR_SEP, type QuickConnectConfig, ScoreVector, ScriptType, StorageCommands, StringMatch, TYPE_SEP, TransitionDataStore, TransitionDataStoreOptions, UNIFORM_DEFAULT_COOKIE_NAME, VariantMatchCriteria, VisitorData, computeAggregateDimensions, cookieEvaluator, createConsoleLogDrain, createDebugConsoleLogDrain, createLinearDecay, currentPageEvaluator, decodeCookieType, decodePersonalizeVariants, enableConsoleLogDrain, enableContextDevTools, enableDebugConsoleLogDrain, enableUniformInsights, encodeCookieType, evaluateVariantMatch, eventEvaluator, explainStringMatch, explainStringMatchCriteria, getEnrichmentVectorKey, isStringMatch, pageViewCountDimension, pageViewCountEvaluator, parseCookieScores, parseCookieType, parseQuickConnect, parseScoreCookie, queryStringEvaluator, quirkEvaluator, serializeCookie, serializeCookieType, serializePersonalizeVariants, serializeQuickConnect };
212
+ export { AggregateDimension, type ConsoleDebugLogDrainOptions, type ContextDevToolOptions, ContextPlugin, CookieTransitionDataStore, type CookieTransitionDataStoreOptions, CriteriaEvaluator, DecayFunction, DevToolsEvents, EdgeNodeTagName, type EdgePersonalizeComponentOptions, type EdgeTestComponentOptions, EdgeTransitionDataStore, type EdgeTransitionDataStoreOptions, type EnableUniformInsightsOptions, KV_SEP, type LinearDecayOptions, LogDrain, LogMessage, OutputSeverity, PAIR_SEP, QUIRK_SEP, type QuickConnectConfig, Quirks, ScoreVector, ScriptType, StorageCommands, StringMatch, TYPE_SEP, TransitionDataStore, TransitionDataStoreOptions, UNIFORM_DEFAULT_COOKIE_NAME, UNIFORM_DEFAULT_QUIRK_COOKIE_NAME, VariantMatchCriteria, VisitorData, computeAggregateDimensions, cookieEvaluator, createConsoleLogDrain, createDebugConsoleLogDrain, createLinearDecay, currentPageEvaluator, decodeCookieType, decodePersonalizeVariants, enableConsoleLogDrain, enableContextDevTools, enableDebugConsoleLogDrain, enableUniformInsights, encodeCookieType, evaluateVariantMatch, eventEvaluator, explainStringMatch, explainStringMatchCriteria, getEnrichmentVectorKey, isStringMatch, pageViewCountDimension, pageViewCountEvaluator, parseCookieScores, parseCookieType, parseQuickConnect, parseQuirkCookie, parseScoreCookie, queryStringEvaluator, quirkEvaluator, serializeCookie, serializeCookieType, serializePersonalizeVariants, serializeQuickConnect, serializeQuirks };
package/dist/index.esm.js CHANGED
@@ -919,20 +919,28 @@ var bton = (base64) => {
919
919
  // src/storage/CookieTransitionDataStore.ts
920
920
  var ssr = typeof document === "undefined";
921
921
  var UNIFORM_DEFAULT_COOKIE_NAME = "ufvd";
922
- var _cookieName, _cookieAttributes;
922
+ var UNIFORM_DEFAULT_QUIRK_COOKIE_NAME = `ufvdqk`;
923
+ var _cookieName, _quirkCookieName, _cookieAttributes, _quirksEnabled;
923
924
  var CookieTransitionDataStore = class extends TransitionDataStore {
924
925
  constructor({
925
926
  serverCookieValue,
927
+ experimental_quirksEnabled,
928
+ quirkCookieValue,
929
+ quirkCookieName = UNIFORM_DEFAULT_QUIRK_COOKIE_NAME,
926
930
  cookieName = UNIFORM_DEFAULT_COOKIE_NAME,
927
931
  cookieAttributes = { sameSite: "lax" }
928
932
  }) {
929
933
  super({
930
- initialData: ssr ? parseScoreCookie(serverCookieValue) : void 0
934
+ initialData: ssr ? parseScoreCookie(serverCookieValue, experimental_quirksEnabled ? quirkCookieValue : void 0) : void 0
931
935
  });
932
936
  __privateAdd(this, _cookieName);
937
+ __privateAdd(this, _quirkCookieName);
933
938
  __privateAdd(this, _cookieAttributes);
939
+ __privateAdd(this, _quirksEnabled);
934
940
  __privateSet(this, _cookieName, cookieName);
935
941
  __privateSet(this, _cookieAttributes, cookieAttributes);
942
+ __privateSet(this, _quirkCookieName, quirkCookieName);
943
+ __privateSet(this, _quirksEnabled, experimental_quirksEnabled || false);
936
944
  }
937
945
  handleDelete() {
938
946
  if (ssr) return Promise.resolve();
@@ -943,17 +951,27 @@ var CookieTransitionDataStore = class extends TransitionDataStore {
943
951
  if (ssr) return;
944
952
  if (computedValue.consent) {
945
953
  Cookies.set(__privateGet(this, _cookieName), serializeCookie(computedValue), __privateGet(this, _cookieAttributes));
954
+ if (__privateGet(this, _quirksEnabled) && Object.keys(computedValue.quirks || {}).length) {
955
+ const quirkCookieValue = serializeQuirks(computedValue.quirks || {});
956
+ Cookies.set(__privateGet(this, _quirkCookieName), quirkCookieValue, __privateGet(this, _cookieAttributes));
957
+ }
946
958
  } else {
947
959
  Cookies.remove(__privateGet(this, _cookieName));
960
+ if (__privateGet(this, _quirksEnabled)) {
961
+ Cookies.remove(__privateGet(this, _quirkCookieName));
962
+ }
948
963
  }
949
964
  }
950
965
  };
951
966
  _cookieName = new WeakMap();
967
+ _quirkCookieName = new WeakMap();
952
968
  _cookieAttributes = new WeakMap();
969
+ _quirksEnabled = new WeakMap();
953
970
  var TYPE_SEP = "~";
954
971
  var PAIR_SEP = "!";
955
972
  var KV_SEP = "-";
956
- function parseScoreCookie(cookieValue) {
973
+ var QUIRK_SEP = "!!";
974
+ function parseScoreCookie(cookieValue, quirkCookieValue) {
957
975
  if (!cookieValue) return;
958
976
  const types = cookieValue.split(TYPE_SEP);
959
977
  if (types.length > 5) return;
@@ -967,8 +985,30 @@ function parseScoreCookie(cookieValue) {
967
985
  controlGroup: controlGroup === "1",
968
986
  personalizeVariants: decodePersonalizeVariants(personalizeVariants)
969
987
  };
988
+ if (quirkCookieValue) {
989
+ data.quirks = parseQuirkCookie(quirkCookieValue);
990
+ }
970
991
  return data;
971
992
  }
993
+ function parseQuirkCookie(quirkCookieValue) {
994
+ const pairs = quirkCookieValue.split(QUIRK_SEP);
995
+ const splitPairs = pairs.map((pair) => {
996
+ const sep = pair.indexOf(KV_SEP);
997
+ if (sep === -1) {
998
+ return void 0;
999
+ }
1000
+ return [pair.slice(0, sep), pair.slice(sep + 1)];
1001
+ });
1002
+ const areAllPairsValid = splitPairs.every((pair) => pair !== void 0);
1003
+ if (!areAllPairsValid) {
1004
+ return {};
1005
+ }
1006
+ return splitPairs.reduce((acc, cur) => {
1007
+ const [key, value] = cur;
1008
+ acc[key] = value;
1009
+ return acc;
1010
+ }, {});
1011
+ }
972
1012
  function parseCookieScores(type) {
973
1013
  if (!type) {
974
1014
  return {};
@@ -1053,6 +1093,9 @@ function encodeCookieType(type) {
1053
1093
  function serializeCookieType(type) {
1054
1094
  return Object.entries(type).map((kv) => kv.join(KV_SEP)).join(PAIR_SEP);
1055
1095
  }
1096
+ function serializeQuirks(quirks) {
1097
+ return Object.entries(quirks).map((kv) => kv.join(KV_SEP)).join(QUIRK_SEP);
1098
+ }
1056
1099
 
1057
1100
  // src/storage/EdgeTransitionDataStore.ts
1058
1101
  var _EdgeTransitionDataStore_instances, fetchData_fn;
@@ -2557,11 +2600,13 @@ export {
2557
2600
  KV_SEP,
2558
2601
  ManifestInstance,
2559
2602
  PAIR_SEP,
2603
+ QUIRK_SEP,
2560
2604
  SERVER_STATE_ID,
2561
2605
  ScriptType,
2562
2606
  TYPE_SEP,
2563
2607
  TransitionDataStore,
2564
2608
  UNIFORM_DEFAULT_COOKIE_NAME,
2609
+ UNIFORM_DEFAULT_QUIRK_COOKIE_NAME,
2565
2610
  VisitorDataStore,
2566
2611
  areCommandsEqual,
2567
2612
  computeAggregateDimensions,
@@ -2589,6 +2634,7 @@ export {
2589
2634
  parseCookieScores,
2590
2635
  parseCookieType,
2591
2636
  parseQuickConnect,
2637
+ parseQuirkCookie,
2592
2638
  parseScoreCookie,
2593
2639
  personalizeVariations,
2594
2640
  queryStringEvaluator,
@@ -2597,5 +2643,6 @@ export {
2597
2643
  serializeCookieType,
2598
2644
  serializePersonalizeVariants,
2599
2645
  serializeQuickConnect,
2646
+ serializeQuirks,
2600
2647
  testVariations
2601
2648
  };
package/dist/index.js CHANGED
@@ -50,11 +50,13 @@ __export(src_exports, {
50
50
  KV_SEP: () => KV_SEP,
51
51
  ManifestInstance: () => ManifestInstance,
52
52
  PAIR_SEP: () => PAIR_SEP,
53
+ QUIRK_SEP: () => QUIRK_SEP,
53
54
  SERVER_STATE_ID: () => SERVER_STATE_ID,
54
55
  ScriptType: () => ScriptType,
55
56
  TYPE_SEP: () => TYPE_SEP,
56
57
  TransitionDataStore: () => TransitionDataStore,
57
58
  UNIFORM_DEFAULT_COOKIE_NAME: () => UNIFORM_DEFAULT_COOKIE_NAME,
59
+ UNIFORM_DEFAULT_QUIRK_COOKIE_NAME: () => UNIFORM_DEFAULT_QUIRK_COOKIE_NAME,
58
60
  VisitorDataStore: () => VisitorDataStore,
59
61
  areCommandsEqual: () => areCommandsEqual,
60
62
  computeAggregateDimensions: () => computeAggregateDimensions,
@@ -82,6 +84,7 @@ __export(src_exports, {
82
84
  parseCookieScores: () => parseCookieScores,
83
85
  parseCookieType: () => parseCookieType,
84
86
  parseQuickConnect: () => parseQuickConnect,
87
+ parseQuirkCookie: () => parseQuirkCookie,
85
88
  parseScoreCookie: () => parseScoreCookie,
86
89
  personalizeVariations: () => personalizeVariations,
87
90
  queryStringEvaluator: () => queryStringEvaluator,
@@ -90,6 +93,7 @@ __export(src_exports, {
90
93
  serializeCookieType: () => serializeCookieType,
91
94
  serializePersonalizeVariants: () => serializePersonalizeVariants,
92
95
  serializeQuickConnect: () => serializeQuickConnect,
96
+ serializeQuirks: () => serializeQuirks,
93
97
  testVariations: () => testVariations
94
98
  });
95
99
  module.exports = __toCommonJS(src_exports);
@@ -1003,20 +1007,28 @@ var bton = (base64) => {
1003
1007
  // src/storage/CookieTransitionDataStore.ts
1004
1008
  var ssr = typeof document === "undefined";
1005
1009
  var UNIFORM_DEFAULT_COOKIE_NAME = "ufvd";
1006
- var _cookieName, _cookieAttributes;
1010
+ var UNIFORM_DEFAULT_QUIRK_COOKIE_NAME = `ufvdqk`;
1011
+ var _cookieName, _quirkCookieName, _cookieAttributes, _quirksEnabled;
1007
1012
  var CookieTransitionDataStore = class extends TransitionDataStore {
1008
1013
  constructor({
1009
1014
  serverCookieValue,
1015
+ experimental_quirksEnabled,
1016
+ quirkCookieValue,
1017
+ quirkCookieName = UNIFORM_DEFAULT_QUIRK_COOKIE_NAME,
1010
1018
  cookieName = UNIFORM_DEFAULT_COOKIE_NAME,
1011
1019
  cookieAttributes = { sameSite: "lax" }
1012
1020
  }) {
1013
1021
  super({
1014
- initialData: ssr ? parseScoreCookie(serverCookieValue) : void 0
1022
+ initialData: ssr ? parseScoreCookie(serverCookieValue, experimental_quirksEnabled ? quirkCookieValue : void 0) : void 0
1015
1023
  });
1016
1024
  __privateAdd(this, _cookieName);
1025
+ __privateAdd(this, _quirkCookieName);
1017
1026
  __privateAdd(this, _cookieAttributes);
1027
+ __privateAdd(this, _quirksEnabled);
1018
1028
  __privateSet(this, _cookieName, cookieName);
1019
1029
  __privateSet(this, _cookieAttributes, cookieAttributes);
1030
+ __privateSet(this, _quirkCookieName, quirkCookieName);
1031
+ __privateSet(this, _quirksEnabled, experimental_quirksEnabled || false);
1020
1032
  }
1021
1033
  handleDelete() {
1022
1034
  if (ssr) return Promise.resolve();
@@ -1027,17 +1039,27 @@ var CookieTransitionDataStore = class extends TransitionDataStore {
1027
1039
  if (ssr) return;
1028
1040
  if (computedValue.consent) {
1029
1041
  import_js_cookie.default.set(__privateGet(this, _cookieName), serializeCookie(computedValue), __privateGet(this, _cookieAttributes));
1042
+ if (__privateGet(this, _quirksEnabled) && Object.keys(computedValue.quirks || {}).length) {
1043
+ const quirkCookieValue = serializeQuirks(computedValue.quirks || {});
1044
+ import_js_cookie.default.set(__privateGet(this, _quirkCookieName), quirkCookieValue, __privateGet(this, _cookieAttributes));
1045
+ }
1030
1046
  } else {
1031
1047
  import_js_cookie.default.remove(__privateGet(this, _cookieName));
1048
+ if (__privateGet(this, _quirksEnabled)) {
1049
+ import_js_cookie.default.remove(__privateGet(this, _quirkCookieName));
1050
+ }
1032
1051
  }
1033
1052
  }
1034
1053
  };
1035
1054
  _cookieName = new WeakMap();
1055
+ _quirkCookieName = new WeakMap();
1036
1056
  _cookieAttributes = new WeakMap();
1057
+ _quirksEnabled = new WeakMap();
1037
1058
  var TYPE_SEP = "~";
1038
1059
  var PAIR_SEP = "!";
1039
1060
  var KV_SEP = "-";
1040
- function parseScoreCookie(cookieValue) {
1061
+ var QUIRK_SEP = "!!";
1062
+ function parseScoreCookie(cookieValue, quirkCookieValue) {
1041
1063
  if (!cookieValue) return;
1042
1064
  const types = cookieValue.split(TYPE_SEP);
1043
1065
  if (types.length > 5) return;
@@ -1051,8 +1073,30 @@ function parseScoreCookie(cookieValue) {
1051
1073
  controlGroup: controlGroup === "1",
1052
1074
  personalizeVariants: decodePersonalizeVariants(personalizeVariants)
1053
1075
  };
1076
+ if (quirkCookieValue) {
1077
+ data.quirks = parseQuirkCookie(quirkCookieValue);
1078
+ }
1054
1079
  return data;
1055
1080
  }
1081
+ function parseQuirkCookie(quirkCookieValue) {
1082
+ const pairs = quirkCookieValue.split(QUIRK_SEP);
1083
+ const splitPairs = pairs.map((pair) => {
1084
+ const sep = pair.indexOf(KV_SEP);
1085
+ if (sep === -1) {
1086
+ return void 0;
1087
+ }
1088
+ return [pair.slice(0, sep), pair.slice(sep + 1)];
1089
+ });
1090
+ const areAllPairsValid = splitPairs.every((pair) => pair !== void 0);
1091
+ if (!areAllPairsValid) {
1092
+ return {};
1093
+ }
1094
+ return splitPairs.reduce((acc, cur) => {
1095
+ const [key, value] = cur;
1096
+ acc[key] = value;
1097
+ return acc;
1098
+ }, {});
1099
+ }
1056
1100
  function parseCookieScores(type) {
1057
1101
  if (!type) {
1058
1102
  return {};
@@ -1137,6 +1181,9 @@ function encodeCookieType(type) {
1137
1181
  function serializeCookieType(type) {
1138
1182
  return Object.entries(type).map((kv) => kv.join(KV_SEP)).join(PAIR_SEP);
1139
1183
  }
1184
+ function serializeQuirks(quirks) {
1185
+ return Object.entries(quirks).map((kv) => kv.join(KV_SEP)).join(QUIRK_SEP);
1186
+ }
1140
1187
 
1141
1188
  // src/storage/EdgeTransitionDataStore.ts
1142
1189
  var _EdgeTransitionDataStore_instances, fetchData_fn;
@@ -2642,11 +2689,13 @@ function parseQuickConnect(serialized) {
2642
2689
  KV_SEP,
2643
2690
  ManifestInstance,
2644
2691
  PAIR_SEP,
2692
+ QUIRK_SEP,
2645
2693
  SERVER_STATE_ID,
2646
2694
  ScriptType,
2647
2695
  TYPE_SEP,
2648
2696
  TransitionDataStore,
2649
2697
  UNIFORM_DEFAULT_COOKIE_NAME,
2698
+ UNIFORM_DEFAULT_QUIRK_COOKIE_NAME,
2650
2699
  VisitorDataStore,
2651
2700
  areCommandsEqual,
2652
2701
  computeAggregateDimensions,
@@ -2674,6 +2723,7 @@ function parseQuickConnect(serialized) {
2674
2723
  parseCookieScores,
2675
2724
  parseCookieType,
2676
2725
  parseQuickConnect,
2726
+ parseQuirkCookie,
2677
2727
  parseScoreCookie,
2678
2728
  personalizeVariations,
2679
2729
  queryStringEvaluator,
@@ -2682,5 +2732,6 @@ function parseQuickConnect(serialized) {
2682
2732
  serializeCookieType,
2683
2733
  serializePersonalizeVariants,
2684
2734
  serializeQuickConnect,
2735
+ serializeQuirks,
2685
2736
  testVariations
2686
2737
  });
package/dist/index.mjs CHANGED
@@ -919,20 +919,28 @@ var bton = (base64) => {
919
919
  // src/storage/CookieTransitionDataStore.ts
920
920
  var ssr = typeof document === "undefined";
921
921
  var UNIFORM_DEFAULT_COOKIE_NAME = "ufvd";
922
- var _cookieName, _cookieAttributes;
922
+ var UNIFORM_DEFAULT_QUIRK_COOKIE_NAME = `ufvdqk`;
923
+ var _cookieName, _quirkCookieName, _cookieAttributes, _quirksEnabled;
923
924
  var CookieTransitionDataStore = class extends TransitionDataStore {
924
925
  constructor({
925
926
  serverCookieValue,
927
+ experimental_quirksEnabled,
928
+ quirkCookieValue,
929
+ quirkCookieName = UNIFORM_DEFAULT_QUIRK_COOKIE_NAME,
926
930
  cookieName = UNIFORM_DEFAULT_COOKIE_NAME,
927
931
  cookieAttributes = { sameSite: "lax" }
928
932
  }) {
929
933
  super({
930
- initialData: ssr ? parseScoreCookie(serverCookieValue) : void 0
934
+ initialData: ssr ? parseScoreCookie(serverCookieValue, experimental_quirksEnabled ? quirkCookieValue : void 0) : void 0
931
935
  });
932
936
  __privateAdd(this, _cookieName);
937
+ __privateAdd(this, _quirkCookieName);
933
938
  __privateAdd(this, _cookieAttributes);
939
+ __privateAdd(this, _quirksEnabled);
934
940
  __privateSet(this, _cookieName, cookieName);
935
941
  __privateSet(this, _cookieAttributes, cookieAttributes);
942
+ __privateSet(this, _quirkCookieName, quirkCookieName);
943
+ __privateSet(this, _quirksEnabled, experimental_quirksEnabled || false);
936
944
  }
937
945
  handleDelete() {
938
946
  if (ssr) return Promise.resolve();
@@ -943,17 +951,27 @@ var CookieTransitionDataStore = class extends TransitionDataStore {
943
951
  if (ssr) return;
944
952
  if (computedValue.consent) {
945
953
  Cookies.set(__privateGet(this, _cookieName), serializeCookie(computedValue), __privateGet(this, _cookieAttributes));
954
+ if (__privateGet(this, _quirksEnabled) && Object.keys(computedValue.quirks || {}).length) {
955
+ const quirkCookieValue = serializeQuirks(computedValue.quirks || {});
956
+ Cookies.set(__privateGet(this, _quirkCookieName), quirkCookieValue, __privateGet(this, _cookieAttributes));
957
+ }
946
958
  } else {
947
959
  Cookies.remove(__privateGet(this, _cookieName));
960
+ if (__privateGet(this, _quirksEnabled)) {
961
+ Cookies.remove(__privateGet(this, _quirkCookieName));
962
+ }
948
963
  }
949
964
  }
950
965
  };
951
966
  _cookieName = new WeakMap();
967
+ _quirkCookieName = new WeakMap();
952
968
  _cookieAttributes = new WeakMap();
969
+ _quirksEnabled = new WeakMap();
953
970
  var TYPE_SEP = "~";
954
971
  var PAIR_SEP = "!";
955
972
  var KV_SEP = "-";
956
- function parseScoreCookie(cookieValue) {
973
+ var QUIRK_SEP = "!!";
974
+ function parseScoreCookie(cookieValue, quirkCookieValue) {
957
975
  if (!cookieValue) return;
958
976
  const types = cookieValue.split(TYPE_SEP);
959
977
  if (types.length > 5) return;
@@ -967,8 +985,30 @@ function parseScoreCookie(cookieValue) {
967
985
  controlGroup: controlGroup === "1",
968
986
  personalizeVariants: decodePersonalizeVariants(personalizeVariants)
969
987
  };
988
+ if (quirkCookieValue) {
989
+ data.quirks = parseQuirkCookie(quirkCookieValue);
990
+ }
970
991
  return data;
971
992
  }
993
+ function parseQuirkCookie(quirkCookieValue) {
994
+ const pairs = quirkCookieValue.split(QUIRK_SEP);
995
+ const splitPairs = pairs.map((pair) => {
996
+ const sep = pair.indexOf(KV_SEP);
997
+ if (sep === -1) {
998
+ return void 0;
999
+ }
1000
+ return [pair.slice(0, sep), pair.slice(sep + 1)];
1001
+ });
1002
+ const areAllPairsValid = splitPairs.every((pair) => pair !== void 0);
1003
+ if (!areAllPairsValid) {
1004
+ return {};
1005
+ }
1006
+ return splitPairs.reduce((acc, cur) => {
1007
+ const [key, value] = cur;
1008
+ acc[key] = value;
1009
+ return acc;
1010
+ }, {});
1011
+ }
972
1012
  function parseCookieScores(type) {
973
1013
  if (!type) {
974
1014
  return {};
@@ -1053,6 +1093,9 @@ function encodeCookieType(type) {
1053
1093
  function serializeCookieType(type) {
1054
1094
  return Object.entries(type).map((kv) => kv.join(KV_SEP)).join(PAIR_SEP);
1055
1095
  }
1096
+ function serializeQuirks(quirks) {
1097
+ return Object.entries(quirks).map((kv) => kv.join(KV_SEP)).join(QUIRK_SEP);
1098
+ }
1056
1099
 
1057
1100
  // src/storage/EdgeTransitionDataStore.ts
1058
1101
  var _EdgeTransitionDataStore_instances, fetchData_fn;
@@ -2557,11 +2600,13 @@ export {
2557
2600
  KV_SEP,
2558
2601
  ManifestInstance,
2559
2602
  PAIR_SEP,
2603
+ QUIRK_SEP,
2560
2604
  SERVER_STATE_ID,
2561
2605
  ScriptType,
2562
2606
  TYPE_SEP,
2563
2607
  TransitionDataStore,
2564
2608
  UNIFORM_DEFAULT_COOKIE_NAME,
2609
+ UNIFORM_DEFAULT_QUIRK_COOKIE_NAME,
2565
2610
  VisitorDataStore,
2566
2611
  areCommandsEqual,
2567
2612
  computeAggregateDimensions,
@@ -2589,6 +2634,7 @@ export {
2589
2634
  parseCookieScores,
2590
2635
  parseCookieType,
2591
2636
  parseQuickConnect,
2637
+ parseQuirkCookie,
2592
2638
  parseScoreCookie,
2593
2639
  personalizeVariations,
2594
2640
  queryStringEvaluator,
@@ -2597,5 +2643,6 @@ export {
2597
2643
  serializeCookieType,
2598
2644
  serializePersonalizeVariants,
2599
2645
  serializeQuickConnect,
2646
+ serializeQuirks,
2600
2647
  testVariations
2601
2648
  };
@@ -1259,4 +1259,4 @@ declare global {
1259
1259
  }
1260
1260
  }
1261
1261
 
1262
- export { type TestOptions as $, type AggregateDimension as A, type MessageFunc as B, type ContextPlugin as C, type DecayFunction as D, type LogMessageSingle as E, type LogMessageGroup as F, ManifestInstance as G, GroupCriteriaEvaluator as H, type CriteriaEvaluatorResult as I, type CriteriaEvaluatorParameters as J, type SignalData as K, type LogDrain as L, type MessageCategory as M, type ManifestV2 as N, type OutputSeverity as O, type PersonalizationEvent as P, type PersonalizationManifest as Q, type Signal as R, type ScoreVector as S, TransitionDataStore as T, type SignalCriteriaGroup as U, type VisitorData as V, type SignalCriteria as W, type EnrichmentCategory as X, type NumberMatch as Y, type TestDefinition as Z, type AggregateDimensionInput as _, type StorageCommands as a, testVariations as a0, type DimensionMatch as a1, type PersonalizeOptions as a2, personalizeVariations as a3, type BehaviorTag as a4, type PersonalizedVariant as a5, type PersonalizedResult as a6, type TestVariant as a7, type TestResult as a8, type StorageCommand as a9, type ContextStateUpdate as aA, type GoalStateUpdate as aB, type paths as aC, type SetGoalCommand as aa, type ModifyScoreCommand as ab, type ModifySessionScoreCommand as ac, type SetConsentCommand as ad, type SetQuirkCommand as ae, type SetTestCommand as af, type IdentifyCommand as ag, type SetControlGroupCommand as ah, type SetPersonalizeVariantControlCommand as ai, areCommandsEqual as aj, type ServerToClientTransitionState as ak, SERVER_STATE_ID as al, type TransitionDataStoreEvents as am, type DecayOptions as an, type VisitorDataStoreOptions as ao, type VisitorDataStoreEvents as ap, VisitorDataStore as aq, type Quirks as ar, type Tests as as, type Goals as at, type EnrichmentData as au, type PersonalizeControlVariant as av, type PersonalizeVariants as aw, type EventData as ax, emptyVisitorData as ay, type ContextState as az, type TransitionDataStoreOptions as b, type CriteriaEvaluator as c, type StringMatch as d, type VariantMatchCriteria as e, type LogMessage as f, type DevToolsEvents as g, CONTEXTUAL_EDITING_TEST_NAME as h, CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID as i, type ContextOptions as j, type TestEvent as k, type ContextEvents as l, type ContextInstance as m, Context as n, type DevToolsUiVersion as o, type DevToolsState as p, type DevToolsActions as q, type DevToolsEvent as r, type DevToolsLogEvent as s, type DevToolsDataEvent as t, type DevToolsHelloEvent as u, type DevToolsUpdateEvent as v, type DevToolsRawCommandsEvent as w, type DevToolsForgetEvent as x, type LogMessages as y, type Severity as z };
1262
+ export { type AggregateDimensionInput as $, type AggregateDimension as A, type MessageFunc as B, type ContextPlugin as C, type DecayFunction as D, type LogMessageSingle as E, type LogMessageGroup as F, ManifestInstance as G, GroupCriteriaEvaluator as H, type CriteriaEvaluatorResult as I, type CriteriaEvaluatorParameters as J, type SignalData as K, type LogDrain as L, type MessageCategory as M, type ManifestV2 as N, type OutputSeverity as O, type PersonalizationEvent as P, type Quirks as Q, type PersonalizationManifest as R, type ScoreVector as S, TransitionDataStore as T, type Signal as U, type VisitorData as V, type SignalCriteriaGroup as W, type SignalCriteria as X, type EnrichmentCategory as Y, type NumberMatch as Z, type TestDefinition as _, type StorageCommands as a, type TestOptions as a0, testVariations as a1, type DimensionMatch as a2, type PersonalizeOptions as a3, personalizeVariations as a4, type BehaviorTag as a5, type PersonalizedVariant as a6, type PersonalizedResult as a7, type TestVariant as a8, type TestResult as a9, type ContextStateUpdate as aA, type GoalStateUpdate as aB, type paths as aC, type StorageCommand as aa, type SetGoalCommand as ab, type ModifyScoreCommand as ac, type ModifySessionScoreCommand as ad, type SetConsentCommand as ae, type SetQuirkCommand as af, type SetTestCommand as ag, type IdentifyCommand as ah, type SetControlGroupCommand as ai, type SetPersonalizeVariantControlCommand as aj, areCommandsEqual as ak, type ServerToClientTransitionState as al, SERVER_STATE_ID as am, type TransitionDataStoreEvents as an, type DecayOptions as ao, type VisitorDataStoreOptions as ap, type VisitorDataStoreEvents as aq, VisitorDataStore as ar, type Tests as as, type Goals as at, type EnrichmentData as au, type PersonalizeControlVariant as av, type PersonalizeVariants as aw, type EventData as ax, emptyVisitorData as ay, type ContextState as az, type TransitionDataStoreOptions as b, type CriteriaEvaluator as c, type StringMatch as d, type VariantMatchCriteria as e, type LogMessage as f, type DevToolsEvents as g, CONTEXTUAL_EDITING_TEST_NAME as h, CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID as i, type ContextOptions as j, type TestEvent as k, type ContextEvents as l, type ContextInstance as m, Context as n, type DevToolsUiVersion as o, type DevToolsState as p, type DevToolsActions as q, type DevToolsEvent as r, type DevToolsLogEvent as s, type DevToolsDataEvent as t, type DevToolsHelloEvent as u, type DevToolsUpdateEvent as v, type DevToolsRawCommandsEvent as w, type DevToolsForgetEvent as x, type LogMessages as y, type Severity as z };
@@ -1259,4 +1259,4 @@ declare global {
1259
1259
  }
1260
1260
  }
1261
1261
 
1262
- export { type TestOptions as $, type AggregateDimension as A, type MessageFunc as B, type ContextPlugin as C, type DecayFunction as D, type LogMessageSingle as E, type LogMessageGroup as F, ManifestInstance as G, GroupCriteriaEvaluator as H, type CriteriaEvaluatorResult as I, type CriteriaEvaluatorParameters as J, type SignalData as K, type LogDrain as L, type MessageCategory as M, type ManifestV2 as N, type OutputSeverity as O, type PersonalizationEvent as P, type PersonalizationManifest as Q, type Signal as R, type ScoreVector as S, TransitionDataStore as T, type SignalCriteriaGroup as U, type VisitorData as V, type SignalCriteria as W, type EnrichmentCategory as X, type NumberMatch as Y, type TestDefinition as Z, type AggregateDimensionInput as _, type StorageCommands as a, testVariations as a0, type DimensionMatch as a1, type PersonalizeOptions as a2, personalizeVariations as a3, type BehaviorTag as a4, type PersonalizedVariant as a5, type PersonalizedResult as a6, type TestVariant as a7, type TestResult as a8, type StorageCommand as a9, type ContextStateUpdate as aA, type GoalStateUpdate as aB, type paths as aC, type SetGoalCommand as aa, type ModifyScoreCommand as ab, type ModifySessionScoreCommand as ac, type SetConsentCommand as ad, type SetQuirkCommand as ae, type SetTestCommand as af, type IdentifyCommand as ag, type SetControlGroupCommand as ah, type SetPersonalizeVariantControlCommand as ai, areCommandsEqual as aj, type ServerToClientTransitionState as ak, SERVER_STATE_ID as al, type TransitionDataStoreEvents as am, type DecayOptions as an, type VisitorDataStoreOptions as ao, type VisitorDataStoreEvents as ap, VisitorDataStore as aq, type Quirks as ar, type Tests as as, type Goals as at, type EnrichmentData as au, type PersonalizeControlVariant as av, type PersonalizeVariants as aw, type EventData as ax, emptyVisitorData as ay, type ContextState as az, type TransitionDataStoreOptions as b, type CriteriaEvaluator as c, type StringMatch as d, type VariantMatchCriteria as e, type LogMessage as f, type DevToolsEvents as g, CONTEXTUAL_EDITING_TEST_NAME as h, CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID as i, type ContextOptions as j, type TestEvent as k, type ContextEvents as l, type ContextInstance as m, Context as n, type DevToolsUiVersion as o, type DevToolsState as p, type DevToolsActions as q, type DevToolsEvent as r, type DevToolsLogEvent as s, type DevToolsDataEvent as t, type DevToolsHelloEvent as u, type DevToolsUpdateEvent as v, type DevToolsRawCommandsEvent as w, type DevToolsForgetEvent as x, type LogMessages as y, type Severity as z };
1262
+ export { type AggregateDimensionInput as $, type AggregateDimension as A, type MessageFunc as B, type ContextPlugin as C, type DecayFunction as D, type LogMessageSingle as E, type LogMessageGroup as F, ManifestInstance as G, GroupCriteriaEvaluator as H, type CriteriaEvaluatorResult as I, type CriteriaEvaluatorParameters as J, type SignalData as K, type LogDrain as L, type MessageCategory as M, type ManifestV2 as N, type OutputSeverity as O, type PersonalizationEvent as P, type Quirks as Q, type PersonalizationManifest as R, type ScoreVector as S, TransitionDataStore as T, type Signal as U, type VisitorData as V, type SignalCriteriaGroup as W, type SignalCriteria as X, type EnrichmentCategory as Y, type NumberMatch as Z, type TestDefinition as _, type StorageCommands as a, type TestOptions as a0, testVariations as a1, type DimensionMatch as a2, type PersonalizeOptions as a3, personalizeVariations as a4, type BehaviorTag as a5, type PersonalizedVariant as a6, type PersonalizedResult as a7, type TestVariant as a8, type TestResult as a9, type ContextStateUpdate as aA, type GoalStateUpdate as aB, type paths as aC, type StorageCommand as aa, type SetGoalCommand as ab, type ModifyScoreCommand as ac, type ModifySessionScoreCommand as ad, type SetConsentCommand as ae, type SetQuirkCommand as af, type SetTestCommand as ag, type IdentifyCommand as ah, type SetControlGroupCommand as ai, type SetPersonalizeVariantControlCommand as aj, areCommandsEqual as ak, type ServerToClientTransitionState as al, SERVER_STATE_ID as am, type TransitionDataStoreEvents as an, type DecayOptions as ao, type VisitorDataStoreOptions as ap, type VisitorDataStoreEvents as aq, VisitorDataStore as ar, type Tests as as, type Goals as at, type EnrichmentData as au, type PersonalizeControlVariant as av, type PersonalizeVariants as aw, type EventData as ax, emptyVisitorData as ay, type ContextState as az, type TransitionDataStoreOptions as b, type CriteriaEvaluator as c, type StringMatch as d, type VariantMatchCriteria as e, type LogMessage as f, type DevToolsEvents as g, CONTEXTUAL_EDITING_TEST_NAME as h, CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID as i, type ContextOptions as j, type TestEvent as k, type ContextEvents as l, type ContextInstance as m, Context as n, type DevToolsUiVersion as o, type DevToolsState as p, type DevToolsActions as q, type DevToolsEvent as r, type DevToolsLogEvent as s, type DevToolsDataEvent as t, type DevToolsHelloEvent as u, type DevToolsUpdateEvent as v, type DevToolsRawCommandsEvent as w, type DevToolsForgetEvent as x, type LogMessages as y, type Severity as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/context",
3
- "version": "19.206.0",
3
+ "version": "19.207.0",
4
4
  "description": "Uniform Context core package",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "1053420353bc9a7ec6930f9e65e18089c6497977"
71
+ "gitHead": "e90334452c3b50b7657f7ae55ffb9c6fe97febb3"
72
72
  }