@uniformdev/context 20.69.1-alpha.10 → 20.70.1-alpha.10

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 { aJ as paths$7, a3 as ManifestV2 } from '../types-BAWsX0zQ.mjs';
1
+ import { p as paths$7, M as ManifestV2 } from '../types-C0Mthca3.mjs';
2
2
  import 'mitt';
3
3
 
4
4
  type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
@@ -79,7 +79,6 @@ interface components$7 {
79
79
  * 's' = current session (expires after a period of inactivity)
80
80
  * 'p' = permanent (expires as far in the future as possible, may be limited by browser security settings)
81
81
  * 't' = transient (score tracks the current state of the criteria every time scores are updated)
82
- *
83
82
  * @enum {string}
84
83
  */
85
84
  dur: "s" | "p" | "t";
@@ -98,7 +97,6 @@ interface components$7 {
98
97
  * | = OR
99
98
  *
100
99
  * Default is `&` if unspecified
101
- *
102
100
  * @default &
103
101
  * @enum {string}
104
102
  */
@@ -125,7 +123,6 @@ interface components$7 {
125
123
  * | = OR
126
124
  *
127
125
  * Default is `&` if unspecified
128
- *
129
126
  * @enum {string}
130
127
  */
131
128
  op?: "&" | "|";
@@ -167,9 +164,10 @@ interface components$7 {
167
164
  /** @description How to match the event name */
168
165
  event: components$7["schemas"]["StringMatch"];
169
166
  };
170
- /** @description Matches the current page's absolute path (i.e. /path/to/page.html)
167
+ /**
168
+ * @description Matches the current page's absolute path (i.e. /path/to/page.html)
171
169
  * Does not include the query string or protocol and hostname (i.e. NOT https://foo.com/path/to/page.html?query=something)
172
- * */
170
+ */
173
171
  CurrentPageCriteria: {
174
172
  /** @enum {string} */
175
173
  type: "PV";
@@ -193,7 +191,6 @@ interface components$7 {
193
191
  * '//' = regular expression match
194
192
  *
195
193
  * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
196
- *
197
194
  * @enum {string}
198
195
  */
199
196
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
@@ -204,7 +201,6 @@ interface components$7 {
204
201
  * @description The type of match to perform
205
202
  * '*' = exists with any value
206
203
  * '!*' = does not exist
207
- *
208
204
  * @enum {string}
209
205
  */
210
206
  op: "*" | "!*";
@@ -219,7 +215,6 @@ interface components$7 {
219
215
  * '!=' = not an exact match
220
216
  * '<' = less than match expression
221
217
  * '>' = greater than match expression
222
- *
223
218
  * @enum {string}
224
219
  */
225
220
  op: "=" | "<" | ">" | "!=";
@@ -231,14 +226,15 @@ interface components$7 {
231
226
  };
232
227
  /** @description Defines an input dimension to an aggregate dimension */
233
228
  AggregateDimensionInput: {
234
- /** @description Dimension name to reference as an input.
229
+ /**
230
+ * @description Dimension name to reference as an input.
235
231
  * For enrichment inputs, use CATEGORY_KEY as the dimension.
236
232
  * Enrichments, signals, and other aggregate dimensions may be referenced.
237
233
  *
238
234
  * Note that creating a cycle of aggregate dimensions is allowed, however
239
235
  * the final score will _ignore_ the cycled aggregate dimension in the result.
240
236
  * This can be used to create mutually exclusive aggregates
241
- * */
237
+ */
242
238
  dim: string;
243
239
  /**
244
240
  * @description The sign of the input dimension controls how it affects the aggregate dimension's final score.
@@ -248,7 +244,6 @@ interface components$7 {
248
244
  * 'c' = clear the final score (if the input dimension has any score at all, this aggregate will have no score regardless of other inputs)
249
245
  *
250
246
  * Default if unspecified: '+'
251
- *
252
247
  * @default +
253
248
  * @enum {string}
254
249
  */
@@ -654,10 +649,11 @@ interface paths$4 {
654
649
  projectId: string;
655
650
  /** @description Limit the results to a specific aggregate ID */
656
651
  aggregateId?: string;
657
- /** @description Limit the results to a specific aggregate type
652
+ /**
653
+ * @description Limit the results to a specific aggregate type
658
654
  * 0: Audience
659
655
  * 1: Intent
660
- * */
656
+ */
661
657
  type?: 0 | 1;
662
658
  };
663
659
  header?: never;
@@ -701,7 +697,6 @@ interface paths$4 {
701
697
  * @description Skips updating aggregate inputs and upserts only the aggregate definition.
702
698
  * Inputs data is still required, but is ignored and not saved or validated.
703
699
  * Useful when creating aggregates that reference each other: Create the definitions, then the inputs.
704
- *
705
700
  * @default false
706
701
  */
707
702
  skipInputs?: boolean;
@@ -789,7 +784,6 @@ interface components$4 {
789
784
  * @description The type of aggregate
790
785
  * 0: Audience
791
786
  * 1: Intent
792
- *
793
787
  * @enum {number}
794
788
  */
795
789
  type: 0 | 1;
@@ -797,14 +791,15 @@ interface components$4 {
797
791
  };
798
792
  /** @description Defines an input dimension to an aggregate dimension */
799
793
  AggregateDimensionInput: {
800
- /** @description Dimension name to reference as an input.
794
+ /**
795
+ * @description Dimension name to reference as an input.
801
796
  * For enrichment inputs, use CATEGORY_KEY as the dimension.
802
797
  * Enrichments, signals, and other aggregate dimensions may be referenced.
803
798
  *
804
799
  * Note that creating a cycle of aggregate dimensions is allowed, however
805
800
  * the final score will _ignore_ the cycled aggregate dimension in the result.
806
801
  * This can be used to create mutually exclusive aggregates
807
- * */
802
+ */
808
803
  dim: string;
809
804
  /**
810
805
  * @description The sign of the input dimension controls how it affects the aggregate dimension's final score.
@@ -814,7 +809,6 @@ interface components$4 {
814
809
  * 'c' = clear the final score (if the input dimension has any score at all, this aggregate will have no score regardless of other inputs)
815
810
  *
816
811
  * Default if unspecified: '+'
817
- *
818
812
  * @default +
819
813
  * @enum {string}
820
814
  */
@@ -949,16 +943,16 @@ interface components$3 {
949
943
  * AGG: Aggregation (intent or audience)
950
944
  * ENR: Enrichment
951
945
  * SIG: Signal
952
- *
953
946
  * @enum {string}
954
947
  */
955
948
  category: "AGG" | "ENR" | "SIG";
956
- /** @description Subtype of the dimension
949
+ /**
950
+ * @description Subtype of the dimension
957
951
  * AGG:0: Audience
958
952
  * AGG:1: Intent
959
953
  * ENR: Enrichment Category name
960
954
  * SIG: null
961
- * */
955
+ */
962
956
  subcategory?: string;
963
957
  /** @description The dimension's name (without category) */
964
958
  name: string;
@@ -1369,7 +1363,6 @@ interface components$1 {
1369
1363
  * | = OR
1370
1364
  *
1371
1365
  * Default is `&` if unspecified
1372
- *
1373
1366
  * @enum {string}
1374
1367
  */
1375
1368
  op?: "&" | "|";
@@ -1387,7 +1380,6 @@ interface components$1 {
1387
1380
  * '//' = regular expression match
1388
1381
  *
1389
1382
  * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
1390
- *
1391
1383
  * @enum {string}
1392
1384
  */
1393
1385
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
@@ -1398,7 +1390,6 @@ interface components$1 {
1398
1390
  * @description The type of match to perform
1399
1391
  * '*' = exists with any value
1400
1392
  * '!*' = does not exist
1401
- *
1402
1393
  * @enum {string}
1403
1394
  */
1404
1395
  op: "*" | "!*";
@@ -1437,9 +1428,10 @@ interface components$1 {
1437
1428
  /** @description How to match the event name */
1438
1429
  event: components$1["schemas"]["StringMatch"];
1439
1430
  };
1440
- /** @description Matches the current page's absolute path (i.e. /path/to/page.html)
1431
+ /**
1432
+ * @description Matches the current page's absolute path (i.e. /path/to/page.html)
1441
1433
  * Does not include the query string or protocol and hostname (i.e. NOT https://foo.com/path/to/page.html?query=something)
1442
- * */
1434
+ */
1443
1435
  CurrentPageCriteria: {
1444
1436
  /** @enum {string} */
1445
1437
  type: "PV";
@@ -1456,7 +1448,6 @@ interface components$1 {
1456
1448
  * '!=' = not an exact match
1457
1449
  * '<' = less than match expression
1458
1450
  * '>' = greater than match expression
1459
- *
1460
1451
  * @enum {string}
1461
1452
  */
1462
1453
  op: "=" | "<" | ">" | "!=";
@@ -1480,7 +1471,6 @@ interface components$1 {
1480
1471
  * | = OR
1481
1472
  *
1482
1473
  * Default is `&` if unspecified
1483
- *
1484
1474
  * @default &
1485
1475
  * @enum {string}
1486
1476
  */
@@ -1505,7 +1495,6 @@ interface components$1 {
1505
1495
  * 's' = current session (expires after a period of inactivity)
1506
1496
  * 'p' = permanent (expires as far in the future as possible, may be limited by browser security settings)
1507
1497
  * 't' = transient (score tracks the current state of the criteria every time scores are updated)
1508
- *
1509
1498
  * @enum {string}
1510
1499
  */
1511
1500
  dur: "s" | "p" | "t";
package/dist/api/api.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { aJ as paths$7, a3 as ManifestV2 } from '../types-BAWsX0zQ.js';
1
+ import { p as paths$7, M as ManifestV2 } from '../types-C0Mthca3.js';
2
2
  import 'mitt';
3
3
 
4
4
  type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
@@ -79,7 +79,6 @@ interface components$7 {
79
79
  * 's' = current session (expires after a period of inactivity)
80
80
  * 'p' = permanent (expires as far in the future as possible, may be limited by browser security settings)
81
81
  * 't' = transient (score tracks the current state of the criteria every time scores are updated)
82
- *
83
82
  * @enum {string}
84
83
  */
85
84
  dur: "s" | "p" | "t";
@@ -98,7 +97,6 @@ interface components$7 {
98
97
  * | = OR
99
98
  *
100
99
  * Default is `&` if unspecified
101
- *
102
100
  * @default &
103
101
  * @enum {string}
104
102
  */
@@ -125,7 +123,6 @@ interface components$7 {
125
123
  * | = OR
126
124
  *
127
125
  * Default is `&` if unspecified
128
- *
129
126
  * @enum {string}
130
127
  */
131
128
  op?: "&" | "|";
@@ -167,9 +164,10 @@ interface components$7 {
167
164
  /** @description How to match the event name */
168
165
  event: components$7["schemas"]["StringMatch"];
169
166
  };
170
- /** @description Matches the current page's absolute path (i.e. /path/to/page.html)
167
+ /**
168
+ * @description Matches the current page's absolute path (i.e. /path/to/page.html)
171
169
  * Does not include the query string or protocol and hostname (i.e. NOT https://foo.com/path/to/page.html?query=something)
172
- * */
170
+ */
173
171
  CurrentPageCriteria: {
174
172
  /** @enum {string} */
175
173
  type: "PV";
@@ -193,7 +191,6 @@ interface components$7 {
193
191
  * '//' = regular expression match
194
192
  *
195
193
  * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
196
- *
197
194
  * @enum {string}
198
195
  */
199
196
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
@@ -204,7 +201,6 @@ interface components$7 {
204
201
  * @description The type of match to perform
205
202
  * '*' = exists with any value
206
203
  * '!*' = does not exist
207
- *
208
204
  * @enum {string}
209
205
  */
210
206
  op: "*" | "!*";
@@ -219,7 +215,6 @@ interface components$7 {
219
215
  * '!=' = not an exact match
220
216
  * '<' = less than match expression
221
217
  * '>' = greater than match expression
222
- *
223
218
  * @enum {string}
224
219
  */
225
220
  op: "=" | "<" | ">" | "!=";
@@ -231,14 +226,15 @@ interface components$7 {
231
226
  };
232
227
  /** @description Defines an input dimension to an aggregate dimension */
233
228
  AggregateDimensionInput: {
234
- /** @description Dimension name to reference as an input.
229
+ /**
230
+ * @description Dimension name to reference as an input.
235
231
  * For enrichment inputs, use CATEGORY_KEY as the dimension.
236
232
  * Enrichments, signals, and other aggregate dimensions may be referenced.
237
233
  *
238
234
  * Note that creating a cycle of aggregate dimensions is allowed, however
239
235
  * the final score will _ignore_ the cycled aggregate dimension in the result.
240
236
  * This can be used to create mutually exclusive aggregates
241
- * */
237
+ */
242
238
  dim: string;
243
239
  /**
244
240
  * @description The sign of the input dimension controls how it affects the aggregate dimension's final score.
@@ -248,7 +244,6 @@ interface components$7 {
248
244
  * 'c' = clear the final score (if the input dimension has any score at all, this aggregate will have no score regardless of other inputs)
249
245
  *
250
246
  * Default if unspecified: '+'
251
- *
252
247
  * @default +
253
248
  * @enum {string}
254
249
  */
@@ -654,10 +649,11 @@ interface paths$4 {
654
649
  projectId: string;
655
650
  /** @description Limit the results to a specific aggregate ID */
656
651
  aggregateId?: string;
657
- /** @description Limit the results to a specific aggregate type
652
+ /**
653
+ * @description Limit the results to a specific aggregate type
658
654
  * 0: Audience
659
655
  * 1: Intent
660
- * */
656
+ */
661
657
  type?: 0 | 1;
662
658
  };
663
659
  header?: never;
@@ -701,7 +697,6 @@ interface paths$4 {
701
697
  * @description Skips updating aggregate inputs and upserts only the aggregate definition.
702
698
  * Inputs data is still required, but is ignored and not saved or validated.
703
699
  * Useful when creating aggregates that reference each other: Create the definitions, then the inputs.
704
- *
705
700
  * @default false
706
701
  */
707
702
  skipInputs?: boolean;
@@ -789,7 +784,6 @@ interface components$4 {
789
784
  * @description The type of aggregate
790
785
  * 0: Audience
791
786
  * 1: Intent
792
- *
793
787
  * @enum {number}
794
788
  */
795
789
  type: 0 | 1;
@@ -797,14 +791,15 @@ interface components$4 {
797
791
  };
798
792
  /** @description Defines an input dimension to an aggregate dimension */
799
793
  AggregateDimensionInput: {
800
- /** @description Dimension name to reference as an input.
794
+ /**
795
+ * @description Dimension name to reference as an input.
801
796
  * For enrichment inputs, use CATEGORY_KEY as the dimension.
802
797
  * Enrichments, signals, and other aggregate dimensions may be referenced.
803
798
  *
804
799
  * Note that creating a cycle of aggregate dimensions is allowed, however
805
800
  * the final score will _ignore_ the cycled aggregate dimension in the result.
806
801
  * This can be used to create mutually exclusive aggregates
807
- * */
802
+ */
808
803
  dim: string;
809
804
  /**
810
805
  * @description The sign of the input dimension controls how it affects the aggregate dimension's final score.
@@ -814,7 +809,6 @@ interface components$4 {
814
809
  * 'c' = clear the final score (if the input dimension has any score at all, this aggregate will have no score regardless of other inputs)
815
810
  *
816
811
  * Default if unspecified: '+'
817
- *
818
812
  * @default +
819
813
  * @enum {string}
820
814
  */
@@ -949,16 +943,16 @@ interface components$3 {
949
943
  * AGG: Aggregation (intent or audience)
950
944
  * ENR: Enrichment
951
945
  * SIG: Signal
952
- *
953
946
  * @enum {string}
954
947
  */
955
948
  category: "AGG" | "ENR" | "SIG";
956
- /** @description Subtype of the dimension
949
+ /**
950
+ * @description Subtype of the dimension
957
951
  * AGG:0: Audience
958
952
  * AGG:1: Intent
959
953
  * ENR: Enrichment Category name
960
954
  * SIG: null
961
- * */
955
+ */
962
956
  subcategory?: string;
963
957
  /** @description The dimension's name (without category) */
964
958
  name: string;
@@ -1369,7 +1363,6 @@ interface components$1 {
1369
1363
  * | = OR
1370
1364
  *
1371
1365
  * Default is `&` if unspecified
1372
- *
1373
1366
  * @enum {string}
1374
1367
  */
1375
1368
  op?: "&" | "|";
@@ -1387,7 +1380,6 @@ interface components$1 {
1387
1380
  * '//' = regular expression match
1388
1381
  *
1389
1382
  * Any of the above can be prefixed with '!' to invert the match (i.e. != for 'not an exact match')
1390
- *
1391
1383
  * @enum {string}
1392
1384
  */
1393
1385
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
@@ -1398,7 +1390,6 @@ interface components$1 {
1398
1390
  * @description The type of match to perform
1399
1391
  * '*' = exists with any value
1400
1392
  * '!*' = does not exist
1401
- *
1402
1393
  * @enum {string}
1403
1394
  */
1404
1395
  op: "*" | "!*";
@@ -1437,9 +1428,10 @@ interface components$1 {
1437
1428
  /** @description How to match the event name */
1438
1429
  event: components$1["schemas"]["StringMatch"];
1439
1430
  };
1440
- /** @description Matches the current page's absolute path (i.e. /path/to/page.html)
1431
+ /**
1432
+ * @description Matches the current page's absolute path (i.e. /path/to/page.html)
1441
1433
  * Does not include the query string or protocol and hostname (i.e. NOT https://foo.com/path/to/page.html?query=something)
1442
- * */
1434
+ */
1443
1435
  CurrentPageCriteria: {
1444
1436
  /** @enum {string} */
1445
1437
  type: "PV";
@@ -1456,7 +1448,6 @@ interface components$1 {
1456
1448
  * '!=' = not an exact match
1457
1449
  * '<' = less than match expression
1458
1450
  * '>' = greater than match expression
1459
- *
1460
1451
  * @enum {string}
1461
1452
  */
1462
1453
  op: "=" | "<" | ">" | "!=";
@@ -1480,7 +1471,6 @@ interface components$1 {
1480
1471
  * | = OR
1481
1472
  *
1482
1473
  * Default is `&` if unspecified
1483
- *
1484
1474
  * @default &
1485
1475
  * @enum {string}
1486
1476
  */
@@ -1505,7 +1495,6 @@ interface components$1 {
1505
1495
  * 's' = current session (expires after a period of inactivity)
1506
1496
  * 'p' = permanent (expires as far in the future as possible, may be limited by browser security settings)
1507
1497
  * 't' = transient (score tracks the current state of the criteria every time scores are updated)
1508
- *
1509
1498
  * @enum {string}
1510
1499
  */
1511
1500
  dur: "s" | "p" | "t";
package/dist/api/api.js CHANGED
@@ -84,12 +84,12 @@ var ApiClientError = class _ApiClientError extends Error {
84
84
  `${errorMessage}
85
85
  ${statusCode}${statusText ? " " + statusText : ""} (${fetchMethod} ${fetchUri}${requestId ? ` Request ID: ${requestId}` : ""})`
86
86
  );
87
- this.errorMessage = errorMessage;
88
- this.fetchMethod = fetchMethod;
89
- this.fetchUri = fetchUri;
90
- this.statusCode = statusCode;
91
- this.statusText = statusText;
92
- this.requestId = requestId;
87
+ __publicField(this, "errorMessage", errorMessage);
88
+ __publicField(this, "fetchMethod", fetchMethod);
89
+ __publicField(this, "fetchUri", fetchUri);
90
+ __publicField(this, "statusCode", statusCode);
91
+ __publicField(this, "statusText", statusText);
92
+ __publicField(this, "requestId", requestId);
93
93
  Object.setPrototypeOf(this, _ApiClientError.prototype);
94
94
  }
95
95
  };
package/dist/api/api.mjs CHANGED
@@ -18,12 +18,12 @@ var ApiClientError = class _ApiClientError extends Error {
18
18
  `${errorMessage}
19
19
  ${statusCode}${statusText ? " " + statusText : ""} (${fetchMethod} ${fetchUri}${requestId ? ` Request ID: ${requestId}` : ""})`
20
20
  );
21
- this.errorMessage = errorMessage;
22
- this.fetchMethod = fetchMethod;
23
- this.fetchUri = fetchUri;
24
- this.statusCode = statusCode;
25
- this.statusText = statusText;
26
- this.requestId = requestId;
21
+ __publicField(this, "errorMessage", errorMessage);
22
+ __publicField(this, "fetchMethod", fetchMethod);
23
+ __publicField(this, "fetchUri", fetchUri);
24
+ __publicField(this, "statusCode", statusCode);
25
+ __publicField(this, "statusText", statusText);
26
+ __publicField(this, "requestId", requestId);
27
27
  Object.setPrototypeOf(this, _ApiClientError.prototype);
28
28
  }
29
29
  };
package/dist/index.d.mts CHANGED
@@ -1,6 +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, Q as Quirks, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, P as PersonalizedVariant, g as PersonalizeOptions, h as Context, i as PersonalizedResult, j as VariationMatchDimensionCriteria, k as PersonalizationSelectionAlgorithmOptions, l as DevToolsEvents } from './types-BAWsX0zQ.mjs';
2
- export { m as AggregateDimensionInput, B as BehaviorTag, n as CONTEXTUAL_EDITING_TEST_NAME, o as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, p as CompositionMetadata, q as ContextEvents, r as ContextInstance, s as ContextOptions, t as ContextState, u as ContextStateUpdate, v as CriteriaEvaluatorParameters, w as CriteriaEvaluatorResult, x as DecayOptions, y as DevToolsActions, z as DevToolsDataEvent, E as DevToolsEvent, F as DevToolsForgetEvent, G as DevToolsHelloEvent, H as DevToolsLogEvent, I as DevToolsRawCommandsEvent, J as DevToolsState, K as DevToolsUiVersion, M as DevToolsUpdateEvent, N as DimensionMatch, R as EnrichmentCategory, U as EnrichmentData, W as EventData, X as GoalStateUpdate, Y as Goals, Z as GroupCriteriaEvaluator, _ as IdentifyCommand, $ as LogMessageGroup, a0 as LogMessageSingle, a1 as LogMessages, a2 as ManifestInstance, a3 as ManifestV2, a4 as MessageCategory, a5 as MessageFunc, a6 as ModifyScoreCommand, a7 as ModifySessionScoreCommand, a8 as NumberMatch, a9 as PersonalizationEvent, aa as PersonalizationEventVariantId, ab as PersonalizationManifest, ac as PersonalizationSelectionAlgorithm, ad as PersonalizationSelectionAlgorithms, ae as PersonalizeControlVariant, af as PersonalizeVariants, ag as QuirkMatch, ah as SERVER_STATE_ID, ai as ServerToClientTransitionState, aj as SetConsentCommand, ak as SetControlGroupCommand, al as SetGoalCommand, am as SetPersonalizeVariantControlCommand, an as SetQuirkCommand, ao as SetTestCommand, ap as Severity, aq as Signal, ar as SignalCriteria, as as SignalCriteriaGroup, at as SignalData, au as StorageCommand, av as TestDefinition, aw as TestEvent, ax as TestOptions, ay as TestResult, az as TestVariant, aA as Tests, aB as TransitionDataStoreEvents, aC as VariationMatchMetadata, aD as VisitorDataStore, aE as VisitorDataStoreEvents, aF as VisitorDataStoreOptions, aG as areCommandsEqual, aH as emptyVisitorData, aI as testVariations } from './types-BAWsX0zQ.mjs';
3
- import Cookies from 'js-cookie';
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, P as PersonalizedVariant, g as PersonalizeOptions, h as Context, i as PersonalizedResult, j as VariationMatchDimensionCriteria, k as PersonalizationSelectionAlgorithmOptions, l as DevToolsEvents } from './types-C0Mthca3.mjs';
2
+ export { m as AggregateDimensionInput, B as BehaviorTag, n as CONTEXTUAL_EDITING_TEST_NAME, o as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, q as CompositionMetadata, r as ContextEvents, s as ContextInstance, t as ContextOptions, u as ContextState, v as ContextStateUpdate, w as CriteriaEvaluatorParameters, x as CriteriaEvaluatorResult, y as DecayOptions, z as DevToolsActions, E as DevToolsDataEvent, F as DevToolsEvent, G as DevToolsForgetEvent, H as DevToolsHelloEvent, I as DevToolsLogEvent, J as DevToolsRawCommandsEvent, K as DevToolsState, N as DevToolsUiVersion, R as DevToolsUpdateEvent, U as DimensionMatch, W as EnrichmentCategory, X as EnrichmentData, Y as EventData, Z as GoalStateUpdate, _ as Goals, $ as GroupCriteriaEvaluator, a0 as IdentifyCommand, a1 as LogMessageGroup, a2 as LogMessageSingle, a3 as LogMessages, a4 as ManifestInstance, M as ManifestV2, a5 as MessageCategory, a6 as MessageFunc, a7 as ModifyScoreCommand, a8 as ModifySessionScoreCommand, a9 as NumberMatch, aa as PersonalizationEvent, ab as PersonalizationEventVariantId, ac as PersonalizationManifest, ad as PersonalizationSelectionAlgorithm, ae as PersonalizationSelectionAlgorithms, af as PersonalizeControlVariant, ag as PersonalizeVariants, ah as QuirkMatch, ai as SERVER_STATE_ID, aj as ServerToClientTransitionState, ak as SetConsentCommand, al as SetControlGroupCommand, am as SetGoalCommand, an as SetPersonalizeVariantControlCommand, ao as SetQuirkCommand, ap as SetTestCommand, aq as Severity, ar as Signal, as as SignalCriteria, at as SignalCriteriaGroup, au as SignalData, av as StorageCommand, aw as TestDefinition, ax as TestEvent, ay as TestOptions, az as TestResult, aA as TestVariant, aB as Tests, aC as TransitionDataStoreEvents, aD as VariationMatchMetadata, aE as VisitorDataStore, aF as VisitorDataStoreEvents, aG as VisitorDataStoreOptions, aH as areCommandsEqual, aI as emptyVisitorData, aJ as testVariations } from './types-C0Mthca3.mjs';
4
3
  import 'mitt';
5
4
 
6
5
  /**
package/dist/index.d.ts CHANGED
@@ -1,6 +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, Q as Quirks, b as TransitionDataStoreOptions, D as DecayFunction, c as CriteriaEvaluator, d as StringMatch, e as VariantMatchCriteria, f as LogMessage, P as PersonalizedVariant, g as PersonalizeOptions, h as Context, i as PersonalizedResult, j as VariationMatchDimensionCriteria, k as PersonalizationSelectionAlgorithmOptions, l as DevToolsEvents } from './types-BAWsX0zQ.js';
2
- export { m as AggregateDimensionInput, B as BehaviorTag, n as CONTEXTUAL_EDITING_TEST_NAME, o as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, p as CompositionMetadata, q as ContextEvents, r as ContextInstance, s as ContextOptions, t as ContextState, u as ContextStateUpdate, v as CriteriaEvaluatorParameters, w as CriteriaEvaluatorResult, x as DecayOptions, y as DevToolsActions, z as DevToolsDataEvent, E as DevToolsEvent, F as DevToolsForgetEvent, G as DevToolsHelloEvent, H as DevToolsLogEvent, I as DevToolsRawCommandsEvent, J as DevToolsState, K as DevToolsUiVersion, M as DevToolsUpdateEvent, N as DimensionMatch, R as EnrichmentCategory, U as EnrichmentData, W as EventData, X as GoalStateUpdate, Y as Goals, Z as GroupCriteriaEvaluator, _ as IdentifyCommand, $ as LogMessageGroup, a0 as LogMessageSingle, a1 as LogMessages, a2 as ManifestInstance, a3 as ManifestV2, a4 as MessageCategory, a5 as MessageFunc, a6 as ModifyScoreCommand, a7 as ModifySessionScoreCommand, a8 as NumberMatch, a9 as PersonalizationEvent, aa as PersonalizationEventVariantId, ab as PersonalizationManifest, ac as PersonalizationSelectionAlgorithm, ad as PersonalizationSelectionAlgorithms, ae as PersonalizeControlVariant, af as PersonalizeVariants, ag as QuirkMatch, ah as SERVER_STATE_ID, ai as ServerToClientTransitionState, aj as SetConsentCommand, ak as SetControlGroupCommand, al as SetGoalCommand, am as SetPersonalizeVariantControlCommand, an as SetQuirkCommand, ao as SetTestCommand, ap as Severity, aq as Signal, ar as SignalCriteria, as as SignalCriteriaGroup, at as SignalData, au as StorageCommand, av as TestDefinition, aw as TestEvent, ax as TestOptions, ay as TestResult, az as TestVariant, aA as Tests, aB as TransitionDataStoreEvents, aC as VariationMatchMetadata, aD as VisitorDataStore, aE as VisitorDataStoreEvents, aF as VisitorDataStoreOptions, aG as areCommandsEqual, aH as emptyVisitorData, aI as testVariations } from './types-BAWsX0zQ.js';
3
- import Cookies from 'js-cookie';
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, P as PersonalizedVariant, g as PersonalizeOptions, h as Context, i as PersonalizedResult, j as VariationMatchDimensionCriteria, k as PersonalizationSelectionAlgorithmOptions, l as DevToolsEvents } from './types-C0Mthca3.js';
2
+ export { m as AggregateDimensionInput, B as BehaviorTag, n as CONTEXTUAL_EDITING_TEST_NAME, o as CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID, q as CompositionMetadata, r as ContextEvents, s as ContextInstance, t as ContextOptions, u as ContextState, v as ContextStateUpdate, w as CriteriaEvaluatorParameters, x as CriteriaEvaluatorResult, y as DecayOptions, z as DevToolsActions, E as DevToolsDataEvent, F as DevToolsEvent, G as DevToolsForgetEvent, H as DevToolsHelloEvent, I as DevToolsLogEvent, J as DevToolsRawCommandsEvent, K as DevToolsState, N as DevToolsUiVersion, R as DevToolsUpdateEvent, U as DimensionMatch, W as EnrichmentCategory, X as EnrichmentData, Y as EventData, Z as GoalStateUpdate, _ as Goals, $ as GroupCriteriaEvaluator, a0 as IdentifyCommand, a1 as LogMessageGroup, a2 as LogMessageSingle, a3 as LogMessages, a4 as ManifestInstance, M as ManifestV2, a5 as MessageCategory, a6 as MessageFunc, a7 as ModifyScoreCommand, a8 as ModifySessionScoreCommand, a9 as NumberMatch, aa as PersonalizationEvent, ab as PersonalizationEventVariantId, ac as PersonalizationManifest, ad as PersonalizationSelectionAlgorithm, ae as PersonalizationSelectionAlgorithms, af as PersonalizeControlVariant, ag as PersonalizeVariants, ah as QuirkMatch, ai as SERVER_STATE_ID, aj as ServerToClientTransitionState, ak as SetConsentCommand, al as SetControlGroupCommand, am as SetGoalCommand, an as SetPersonalizeVariantControlCommand, ao as SetQuirkCommand, ap as SetTestCommand, aq as Severity, ar as Signal, as as SignalCriteria, at as SignalCriteriaGroup, au as SignalData, av as StorageCommand, aw as TestDefinition, ax as TestEvent, ay as TestOptions, az as TestResult, aA as TestVariant, aB as Tests, aC as TransitionDataStoreEvents, aD as VariationMatchMetadata, aE as VisitorDataStore, aF as VisitorDataStoreEvents, aG as VisitorDataStoreOptions, aH as areCommandsEqual, aI as emptyVisitorData, aJ as testVariations } from './types-C0Mthca3.js';
4
3
  import 'mitt';
5
4
 
6
5
  /**
package/dist/index.esm.js CHANGED
@@ -1413,7 +1413,7 @@ function applyCommandsToData(commands, state) {
1413
1413
  var _LocalStorage_instances, key_fn;
1414
1414
  var LocalStorage = class {
1415
1415
  constructor(partitionKey) {
1416
- this.partitionKey = partitionKey;
1416
+ __publicField(this, "partitionKey", partitionKey);
1417
1417
  __privateAdd(this, _LocalStorage_instances);
1418
1418
  __publicField(this, "inMemoryFallback", {});
1419
1419
  // deno implements localStorage in netlify edge workers, must also check if document is present.
package/dist/index.js CHANGED
@@ -38,8 +38,8 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
38
38
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
39
39
 
40
40
  // src/index.ts
41
- var src_exports = {};
42
- __export(src_exports, {
41
+ var index_exports = {};
42
+ __export(index_exports, {
43
43
  CONTEXTUAL_EDITING_TEST_NAME: () => CONTEXTUAL_EDITING_TEST_NAME,
44
44
  CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID: () => CONTEXTUAL_EDITING_TEST_SELECTED_VARIANT_ID,
45
45
  Context: () => Context,
@@ -101,7 +101,7 @@ __export(src_exports, {
101
101
  testVariations: () => testVariations,
102
102
  topDownCriteriaPersonalizationSelectionAlgorithm: () => topDownCriteriaPersonalizationSelectionAlgorithm
103
103
  });
104
- module.exports = __toCommonJS(src_exports);
104
+ module.exports = __toCommonJS(index_exports);
105
105
 
106
106
  // src/manifest/aggregates/computeAggregateDimensions.ts
107
107
  function computeAggregateDimensions(primitiveScores, aggregates) {
@@ -1506,7 +1506,7 @@ function applyCommandsToData(commands, state) {
1506
1506
  var _LocalStorage_instances, key_fn;
1507
1507
  var LocalStorage = class {
1508
1508
  constructor(partitionKey) {
1509
- this.partitionKey = partitionKey;
1509
+ __publicField(this, "partitionKey", partitionKey);
1510
1510
  __privateAdd(this, _LocalStorage_instances);
1511
1511
  __publicField(this, "inMemoryFallback", {});
1512
1512
  // deno implements localStorage in netlify edge workers, must also check if document is present.
package/dist/index.mjs CHANGED
@@ -1413,7 +1413,7 @@ function applyCommandsToData(commands, state) {
1413
1413
  var _LocalStorage_instances, key_fn;
1414
1414
  var LocalStorage = class {
1415
1415
  constructor(partitionKey) {
1416
- this.partitionKey = partitionKey;
1416
+ __publicField(this, "partitionKey", partitionKey);
1417
1417
  __privateAdd(this, _LocalStorage_instances);
1418
1418
  __publicField(this, "inMemoryFallback", {});
1419
1419
  // deno implements localStorage in netlify edge workers, must also check if document is present.