@uniformdev/context 19.154.1-alpha.22 → 19.154.1-alpha.26

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 { aB as paths$7, N as ManifestV2 } from '../types-DqYG-dCc.mjs';
1
+ import { aC as paths$7, N as ManifestV2 } from '../types-KWnn2ElZ.mjs';
2
2
  import 'mitt';
3
3
 
4
4
  type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
@@ -87,7 +87,7 @@ interface components$6 {
87
87
  * & = AND
88
88
  * | = OR
89
89
  *
90
- * Default is `&` if unspecified.
90
+ * Default is `&` if unspecified
91
91
  *
92
92
  * @default &
93
93
  * @enum {string}
@@ -114,7 +114,7 @@ interface components$6 {
114
114
  * & = AND
115
115
  * | = OR
116
116
  *
117
- * Default is `&` if unspecified.
117
+ * Default is `&` if unspecified
118
118
  *
119
119
  * @enum {string}
120
120
  */
@@ -175,7 +175,7 @@ interface components$6 {
175
175
  };
176
176
  /** @description Describes a match expression on a string */
177
177
  StringMatch: {
178
- /** @description The right hand side of the match expression */
178
+ /** @description The right-hand side of the match expression */
179
179
  rhs: string;
180
180
  /**
181
181
  * @description The match operator
@@ -188,7 +188,7 @@ interface components$6 {
188
188
  * @enum {string}
189
189
  */
190
190
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
191
- /** @description The case sensitivity of the match. Defaults to false if unspecified. */
191
+ /** @description The case sensitivity of the match. Defaults to false if unspecified */
192
192
  cs?: boolean;
193
193
  } | {
194
194
  /**
@@ -202,7 +202,7 @@ interface components$6 {
202
202
  };
203
203
  /** @description Describes a match expression on a number */
204
204
  NumberMatch: {
205
- /** @description The right hand side of the match expression */
205
+ /** @description The right-hand side of the match expression */
206
206
  rhs: number;
207
207
  /**
208
208
  * @description The type of match to perform
@@ -215,7 +215,7 @@ interface components$6 {
215
215
  */
216
216
  op: "=" | "<" | ">" | "!=";
217
217
  };
218
- /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience. */
218
+ /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience */
219
219
  AggregateDimension: {
220
220
  /** @description Input dimensions to the aggregate dimension */
221
221
  inputs: components$6["schemas"]["AggregateDimensionInput"][];
@@ -229,7 +229,7 @@ interface components$6 {
229
229
  *
230
230
  * Note that creating a cycle of aggregate dimensions is allowed, however
231
231
  * the final score will _ignore_ the cycled aggregate dimension in the result.
232
- * This can be used to create mutually exclusive aggregates.
232
+ * This can be used to create mutually exclusive aggregates
233
233
  */
234
234
  dim: string;
235
235
  /**
@@ -237,7 +237,7 @@ interface components$6 {
237
237
  *
238
238
  * '+' = add to the final score
239
239
  * '-' = subtract from the final score
240
- * 'c' = clear the final score (if the input dimension has any score at all, this aggreate will have no score regardless of other inputs)
240
+ * 'c' = clear the final score (if the input dimension has any score at all, this aggregate will have no score regardless of other inputs)
241
241
  *
242
242
  * Default if unspecified: '+'
243
243
  *
@@ -808,7 +808,7 @@ interface external$4 {
808
808
  * & = AND
809
809
  * | = OR
810
810
  *
811
- * Default is `&` if unspecified.
811
+ * Default is `&` if unspecified
812
812
  *
813
813
  * @default &
814
814
  * @enum {string}
@@ -835,7 +835,7 @@ interface external$4 {
835
835
  * & = AND
836
836
  * | = OR
837
837
  *
838
- * Default is `&` if unspecified.
838
+ * Default is `&` if unspecified
839
839
  *
840
840
  * @enum {string}
841
841
  */
@@ -896,7 +896,7 @@ interface external$4 {
896
896
  };
897
897
  /** @description Describes a match expression on a string */
898
898
  StringMatch: {
899
- /** @description The right hand side of the match expression */
899
+ /** @description The right-hand side of the match expression */
900
900
  rhs: string;
901
901
  /**
902
902
  * @description The match operator
@@ -909,7 +909,7 @@ interface external$4 {
909
909
  * @enum {string}
910
910
  */
911
911
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
912
- /** @description The case sensitivity of the match. Defaults to false if unspecified. */
912
+ /** @description The case sensitivity of the match. Defaults to false if unspecified */
913
913
  cs?: boolean;
914
914
  } | {
915
915
  /**
@@ -923,7 +923,7 @@ interface external$4 {
923
923
  };
924
924
  /** @description Describes a match expression on a number */
925
925
  NumberMatch: {
926
- /** @description The right hand side of the match expression */
926
+ /** @description The right-hand side of the match expression */
927
927
  rhs: number;
928
928
  /**
929
929
  * @description The type of match to perform
@@ -936,7 +936,7 @@ interface external$4 {
936
936
  */
937
937
  op: "=" | "<" | ">" | "!=";
938
938
  };
939
- /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience. */
939
+ /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience */
940
940
  AggregateDimension: {
941
941
  /** @description Input dimensions to the aggregate dimension */
942
942
  inputs: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["AggregateDimensionInput"][];
@@ -950,7 +950,7 @@ interface external$4 {
950
950
  *
951
951
  * Note that creating a cycle of aggregate dimensions is allowed, however
952
952
  * the final score will _ignore_ the cycled aggregate dimension in the result.
953
- * This can be used to create mutually exclusive aggregates.
953
+ * This can be used to create mutually exclusive aggregates
954
954
  */
955
955
  dim: string;
956
956
  /**
@@ -958,7 +958,7 @@ interface external$4 {
958
958
  *
959
959
  * '+' = add to the final score
960
960
  * '-' = subtract from the final score
961
- * 'c' = clear the final score (if the input dimension has any score at all, this aggreate will have no score regardless of other inputs)
961
+ * 'c' = clear the final score (if the input dimension has any score at all, this aggregate will have no score regardless of other inputs)
962
962
  *
963
963
  * Default if unspecified: '+'
964
964
  *
@@ -1411,7 +1411,7 @@ interface external$1 {
1411
1411
  * & = AND
1412
1412
  * | = OR
1413
1413
  *
1414
- * Default is `&` if unspecified.
1414
+ * Default is `&` if unspecified
1415
1415
  *
1416
1416
  * @default &
1417
1417
  * @enum {string}
@@ -1438,7 +1438,7 @@ interface external$1 {
1438
1438
  * & = AND
1439
1439
  * | = OR
1440
1440
  *
1441
- * Default is `&` if unspecified.
1441
+ * Default is `&` if unspecified
1442
1442
  *
1443
1443
  * @enum {string}
1444
1444
  */
@@ -1499,7 +1499,7 @@ interface external$1 {
1499
1499
  };
1500
1500
  /** @description Describes a match expression on a string */
1501
1501
  StringMatch: {
1502
- /** @description The right hand side of the match expression */
1502
+ /** @description The right-hand side of the match expression */
1503
1503
  rhs: string;
1504
1504
  /**
1505
1505
  * @description The match operator
@@ -1512,7 +1512,7 @@ interface external$1 {
1512
1512
  * @enum {string}
1513
1513
  */
1514
1514
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
1515
- /** @description The case sensitivity of the match. Defaults to false if unspecified. */
1515
+ /** @description The case sensitivity of the match. Defaults to false if unspecified */
1516
1516
  cs?: boolean;
1517
1517
  } | {
1518
1518
  /**
@@ -1526,7 +1526,7 @@ interface external$1 {
1526
1526
  };
1527
1527
  /** @description Describes a match expression on a number */
1528
1528
  NumberMatch: {
1529
- /** @description The right hand side of the match expression */
1529
+ /** @description The right-hand side of the match expression */
1530
1530
  rhs: number;
1531
1531
  /**
1532
1532
  * @description The type of match to perform
@@ -1539,7 +1539,7 @@ interface external$1 {
1539
1539
  */
1540
1540
  op: "=" | "<" | ">" | "!=";
1541
1541
  };
1542
- /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience. */
1542
+ /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience */
1543
1543
  AggregateDimension: {
1544
1544
  /** @description Input dimensions to the aggregate dimension */
1545
1545
  inputs: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["AggregateDimensionInput"][];
@@ -1553,7 +1553,7 @@ interface external$1 {
1553
1553
  *
1554
1554
  * Note that creating a cycle of aggregate dimensions is allowed, however
1555
1555
  * the final score will _ignore_ the cycled aggregate dimension in the result.
1556
- * This can be used to create mutually exclusive aggregates.
1556
+ * This can be used to create mutually exclusive aggregates
1557
1557
  */
1558
1558
  dim: string;
1559
1559
  /**
@@ -1561,7 +1561,7 @@ interface external$1 {
1561
1561
  *
1562
1562
  * '+' = add to the final score
1563
1563
  * '-' = subtract from the final score
1564
- * 'c' = clear the final score (if the input dimension has any score at all, this aggreate will have no score regardless of other inputs)
1564
+ * 'c' = clear the final score (if the input dimension has any score at all, this aggregate will have no score regardless of other inputs)
1565
1565
  *
1566
1566
  * Default if unspecified: '+'
1567
1567
  *
package/dist/api/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { aB as paths$7, N as ManifestV2 } from '../types-DqYG-dCc.js';
1
+ import { aC as paths$7, N as ManifestV2 } from '../types-KWnn2ElZ.js';
2
2
  import 'mitt';
3
3
 
4
4
  type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
@@ -87,7 +87,7 @@ interface components$6 {
87
87
  * & = AND
88
88
  * | = OR
89
89
  *
90
- * Default is `&` if unspecified.
90
+ * Default is `&` if unspecified
91
91
  *
92
92
  * @default &
93
93
  * @enum {string}
@@ -114,7 +114,7 @@ interface components$6 {
114
114
  * & = AND
115
115
  * | = OR
116
116
  *
117
- * Default is `&` if unspecified.
117
+ * Default is `&` if unspecified
118
118
  *
119
119
  * @enum {string}
120
120
  */
@@ -175,7 +175,7 @@ interface components$6 {
175
175
  };
176
176
  /** @description Describes a match expression on a string */
177
177
  StringMatch: {
178
- /** @description The right hand side of the match expression */
178
+ /** @description The right-hand side of the match expression */
179
179
  rhs: string;
180
180
  /**
181
181
  * @description The match operator
@@ -188,7 +188,7 @@ interface components$6 {
188
188
  * @enum {string}
189
189
  */
190
190
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
191
- /** @description The case sensitivity of the match. Defaults to false if unspecified. */
191
+ /** @description The case sensitivity of the match. Defaults to false if unspecified */
192
192
  cs?: boolean;
193
193
  } | {
194
194
  /**
@@ -202,7 +202,7 @@ interface components$6 {
202
202
  };
203
203
  /** @description Describes a match expression on a number */
204
204
  NumberMatch: {
205
- /** @description The right hand side of the match expression */
205
+ /** @description The right-hand side of the match expression */
206
206
  rhs: number;
207
207
  /**
208
208
  * @description The type of match to perform
@@ -215,7 +215,7 @@ interface components$6 {
215
215
  */
216
216
  op: "=" | "<" | ">" | "!=";
217
217
  };
218
- /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience. */
218
+ /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience */
219
219
  AggregateDimension: {
220
220
  /** @description Input dimensions to the aggregate dimension */
221
221
  inputs: components$6["schemas"]["AggregateDimensionInput"][];
@@ -229,7 +229,7 @@ interface components$6 {
229
229
  *
230
230
  * Note that creating a cycle of aggregate dimensions is allowed, however
231
231
  * the final score will _ignore_ the cycled aggregate dimension in the result.
232
- * This can be used to create mutually exclusive aggregates.
232
+ * This can be used to create mutually exclusive aggregates
233
233
  */
234
234
  dim: string;
235
235
  /**
@@ -237,7 +237,7 @@ interface components$6 {
237
237
  *
238
238
  * '+' = add to the final score
239
239
  * '-' = subtract from the final score
240
- * 'c' = clear the final score (if the input dimension has any score at all, this aggreate will have no score regardless of other inputs)
240
+ * 'c' = clear the final score (if the input dimension has any score at all, this aggregate will have no score regardless of other inputs)
241
241
  *
242
242
  * Default if unspecified: '+'
243
243
  *
@@ -808,7 +808,7 @@ interface external$4 {
808
808
  * & = AND
809
809
  * | = OR
810
810
  *
811
- * Default is `&` if unspecified.
811
+ * Default is `&` if unspecified
812
812
  *
813
813
  * @default &
814
814
  * @enum {string}
@@ -835,7 +835,7 @@ interface external$4 {
835
835
  * & = AND
836
836
  * | = OR
837
837
  *
838
- * Default is `&` if unspecified.
838
+ * Default is `&` if unspecified
839
839
  *
840
840
  * @enum {string}
841
841
  */
@@ -896,7 +896,7 @@ interface external$4 {
896
896
  };
897
897
  /** @description Describes a match expression on a string */
898
898
  StringMatch: {
899
- /** @description The right hand side of the match expression */
899
+ /** @description The right-hand side of the match expression */
900
900
  rhs: string;
901
901
  /**
902
902
  * @description The match operator
@@ -909,7 +909,7 @@ interface external$4 {
909
909
  * @enum {string}
910
910
  */
911
911
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
912
- /** @description The case sensitivity of the match. Defaults to false if unspecified. */
912
+ /** @description The case sensitivity of the match. Defaults to false if unspecified */
913
913
  cs?: boolean;
914
914
  } | {
915
915
  /**
@@ -923,7 +923,7 @@ interface external$4 {
923
923
  };
924
924
  /** @description Describes a match expression on a number */
925
925
  NumberMatch: {
926
- /** @description The right hand side of the match expression */
926
+ /** @description The right-hand side of the match expression */
927
927
  rhs: number;
928
928
  /**
929
929
  * @description The type of match to perform
@@ -936,7 +936,7 @@ interface external$4 {
936
936
  */
937
937
  op: "=" | "<" | ">" | "!=";
938
938
  };
939
- /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience. */
939
+ /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience */
940
940
  AggregateDimension: {
941
941
  /** @description Input dimensions to the aggregate dimension */
942
942
  inputs: external$4["uniform-context-types.swagger.yml"]["components"]["schemas"]["AggregateDimensionInput"][];
@@ -950,7 +950,7 @@ interface external$4 {
950
950
  *
951
951
  * Note that creating a cycle of aggregate dimensions is allowed, however
952
952
  * the final score will _ignore_ the cycled aggregate dimension in the result.
953
- * This can be used to create mutually exclusive aggregates.
953
+ * This can be used to create mutually exclusive aggregates
954
954
  */
955
955
  dim: string;
956
956
  /**
@@ -958,7 +958,7 @@ interface external$4 {
958
958
  *
959
959
  * '+' = add to the final score
960
960
  * '-' = subtract from the final score
961
- * 'c' = clear the final score (if the input dimension has any score at all, this aggreate will have no score regardless of other inputs)
961
+ * 'c' = clear the final score (if the input dimension has any score at all, this aggregate will have no score regardless of other inputs)
962
962
  *
963
963
  * Default if unspecified: '+'
964
964
  *
@@ -1411,7 +1411,7 @@ interface external$1 {
1411
1411
  * & = AND
1412
1412
  * | = OR
1413
1413
  *
1414
- * Default is `&` if unspecified.
1414
+ * Default is `&` if unspecified
1415
1415
  *
1416
1416
  * @default &
1417
1417
  * @enum {string}
@@ -1438,7 +1438,7 @@ interface external$1 {
1438
1438
  * & = AND
1439
1439
  * | = OR
1440
1440
  *
1441
- * Default is `&` if unspecified.
1441
+ * Default is `&` if unspecified
1442
1442
  *
1443
1443
  * @enum {string}
1444
1444
  */
@@ -1499,7 +1499,7 @@ interface external$1 {
1499
1499
  };
1500
1500
  /** @description Describes a match expression on a string */
1501
1501
  StringMatch: {
1502
- /** @description The right hand side of the match expression */
1502
+ /** @description The right-hand side of the match expression */
1503
1503
  rhs: string;
1504
1504
  /**
1505
1505
  * @description The match operator
@@ -1512,7 +1512,7 @@ interface external$1 {
1512
1512
  * @enum {string}
1513
1513
  */
1514
1514
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
1515
- /** @description The case sensitivity of the match. Defaults to false if unspecified. */
1515
+ /** @description The case sensitivity of the match. Defaults to false if unspecified */
1516
1516
  cs?: boolean;
1517
1517
  } | {
1518
1518
  /**
@@ -1526,7 +1526,7 @@ interface external$1 {
1526
1526
  };
1527
1527
  /** @description Describes a match expression on a number */
1528
1528
  NumberMatch: {
1529
- /** @description The right hand side of the match expression */
1529
+ /** @description The right-hand side of the match expression */
1530
1530
  rhs: number;
1531
1531
  /**
1532
1532
  * @description The type of match to perform
@@ -1539,7 +1539,7 @@ interface external$1 {
1539
1539
  */
1540
1540
  op: "=" | "<" | ">" | "!=";
1541
1541
  };
1542
- /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience. */
1542
+ /** @description Defines an aggregate dimension that is a grouping of other dimensions' scores; an intent or audience */
1543
1543
  AggregateDimension: {
1544
1544
  /** @description Input dimensions to the aggregate dimension */
1545
1545
  inputs: external$1["uniform-context-types.swagger.yml"]["components"]["schemas"]["AggregateDimensionInput"][];
@@ -1553,7 +1553,7 @@ interface external$1 {
1553
1553
  *
1554
1554
  * Note that creating a cycle of aggregate dimensions is allowed, however
1555
1555
  * the final score will _ignore_ the cycled aggregate dimension in the result.
1556
- * This can be used to create mutually exclusive aggregates.
1556
+ * This can be used to create mutually exclusive aggregates
1557
1557
  */
1558
1558
  dim: string;
1559
1559
  /**
@@ -1561,7 +1561,7 @@ interface external$1 {
1561
1561
  *
1562
1562
  * '+' = add to the final score
1563
1563
  * '-' = subtract from the final score
1564
- * 'c' = clear the final score (if the input dimension has any score at all, this aggreate will have no score regardless of other inputs)
1564
+ * 'c' = clear the final score (if the input dimension has any score at all, this aggregate will have no score regardless of other inputs)
1565
1565
  *
1566
1566
  * Default if unspecified: '+'
1567
1567
  *
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-DqYG-dCc.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, ay as ContextState, az as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, am 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, at as EnrichmentData, aw as EventData, aA as GoalStateUpdate, as 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, au as PersonalizeControlVariant, a2 as PersonalizeOptions, av as PersonalizeVariants, a6 as PersonalizedResult, a5 as PersonalizedVariant, aq as Quirks, ak as SERVER_STATE_ID, aj 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, ar as Tests, al as TransitionDataStoreEvents, ap as VisitorDataStore, ao as VisitorDataStoreEvents, an as VisitorDataStoreOptions, ax as emptyVisitorData, a3 as personalizeVariations, a0 as testVariations } from './types-DqYG-dCc.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, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-KWnn2ElZ.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-KWnn2ElZ.mjs';
3
3
  import Cookies from 'js-cookie';
4
4
  import 'mitt';
5
5
 
@@ -156,8 +156,13 @@ type EdgeTestComponentOptions = {
156
156
  declare const EdgeNodeTagName = "nesitag";
157
157
 
158
158
  type InsightsEndpoint = {
159
+ type: 'api';
159
160
  host: string;
160
161
  apiKey: string;
162
+ } | {
163
+ type: 'proxy';
164
+ path: string;
165
+ apiKey?: string;
161
166
  };
162
167
  type EnableUniformInsightsOptions = {
163
168
  endpoint: InsightsEndpoint;
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-DqYG-dCc.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, ay as ContextState, az as ContextStateUpdate, J as CriteriaEvaluatorParameters, I as CriteriaEvaluatorResult, am 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, at as EnrichmentData, aw as EventData, aA as GoalStateUpdate, as 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, au as PersonalizeControlVariant, a2 as PersonalizeOptions, av as PersonalizeVariants, a6 as PersonalizedResult, a5 as PersonalizedVariant, aq as Quirks, ak as SERVER_STATE_ID, aj 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, ar as Tests, al as TransitionDataStoreEvents, ap as VisitorDataStore, ao as VisitorDataStoreEvents, an as VisitorDataStoreOptions, ax as emptyVisitorData, a3 as personalizeVariations, a0 as testVariations } from './types-DqYG-dCc.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, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, g as DevToolsEvents } from './types-KWnn2ElZ.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-KWnn2ElZ.js';
3
3
  import Cookies from 'js-cookie';
4
4
  import 'mitt';
5
5
 
@@ -156,8 +156,13 @@ type EdgeTestComponentOptions = {
156
156
  declare const EdgeNodeTagName = "nesitag";
157
157
 
158
158
  type InsightsEndpoint = {
159
+ type: 'api';
159
160
  host: string;
160
161
  apiKey: string;
162
+ } | {
163
+ type: 'proxy';
164
+ path: string;
165
+ apiKey?: string;
161
166
  };
162
167
  type EnableUniformInsightsOptions = {
163
168
  endpoint: InsightsEndpoint;