@uniformdev/context 17.0.0 → 17.1.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.
- package/dist/api/api.d.ts +4 -4
- package/dist/cli/cli.d.ts +2 -2
- package/dist/{contextTypes-cf6ec8ea.d.ts → contextTypes-ec62120f.d.ts} +99 -1
- package/dist/index.d.ts +3 -3
- package/dist/{types-6d12d75f.d.ts → types-c398dba8.d.ts} +1 -1
- package/dist/{v2-manifest.swagger-a1738c9a.d.ts → v2-manifest.swagger-200ca5ee.d.ts} +6 -0
- package/package.json +4 -4
package/dist/api/api.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { A as AggregateGetParameters, a as AggregateGetResponse, b as AggregatePutParameters, c as AggregateDeleteParameters, D as DimensionGetParameters, d as DimensionGetResponse, E as EnrichmentGetParameters, e as EnrichmentGetResponse, f as EnrichmentPutParameters, g as EnrichmentDeleteParameters, h as EnrichmentValuePutParameters, i as EnrichmentValueDeleteParameters, M as ManifestGetParameters, j as ManifestGetResponse, Q as QuirkGetParameters, k as QuirkGetResponse, l as QuirkPutParameters, m as QuirkDeleteParameters, S as SignalGetParameters, n as SignalGetResponse, o as SignalPutParameters, p as SignalDeleteParameters, T as TestGetParameters, q as TestGetResponse, r as TestPutParameters, s as TestDeleteParameters, t as DimensionDefinition } from '../contextTypes-
|
2
|
-
export { x as Aggregate, c as AggregateDeleteParameters, A as AggregateGetParameters, a as AggregateGetResponse, b as AggregatePutParameters, C as ContextDefinitions, F as CookieCriteria, J as CurrentPageCriteria, t as DimensionDefinition, D as DimensionGetParameters, d as DimensionGetResponse, u as EnrichmentCategory, v as EnrichmentCategoryWithValues, g as EnrichmentDeleteParameters, E as EnrichmentGetParameters, e as EnrichmentGetResponse, f as EnrichmentPutParameters, w as EnrichmentValue, i as EnrichmentValueDeleteParameters, h as EnrichmentValuePutParameters, I as EventCriteria, M as ManifestGetParameters, j as ManifestGetResponse, P as PageViewCountCriteria, G as QueryStringCriteria, y as Quirk, H as QuirkCriteria, m as QuirkDeleteParameters, Q as QuirkGetParameters, k as QuirkGetResponse, l as QuirkPutParameters, R as RootSignalCriteriaGroup, p as SignalDeleteParameters, S as SignalGetParameters, n as SignalGetResponse, o as SignalPutParameters, B as SignalWithId, z as Test, s as TestDeleteParameters, T as TestGetParameters, q as TestGetResponse, r as TestPutParameters } from '../contextTypes-
|
3
|
-
import { g as ManifestV2 } from '../types-
|
4
|
-
import '../v2-manifest.swagger-
|
1
|
+
import { A as AggregateGetParameters, a as AggregateGetResponse, b as AggregatePutParameters, c as AggregateDeleteParameters, D as DimensionGetParameters, d as DimensionGetResponse, E as EnrichmentGetParameters, e as EnrichmentGetResponse, f as EnrichmentPutParameters, g as EnrichmentDeleteParameters, h as EnrichmentValuePutParameters, i as EnrichmentValueDeleteParameters, M as ManifestGetParameters, j as ManifestGetResponse, Q as QuirkGetParameters, k as QuirkGetResponse, l as QuirkPutParameters, m as QuirkDeleteParameters, S as SignalGetParameters, n as SignalGetResponse, o as SignalPutParameters, p as SignalDeleteParameters, T as TestGetParameters, q as TestGetResponse, r as TestPutParameters, s as TestDeleteParameters, t as DimensionDefinition } from '../contextTypes-ec62120f.js';
|
2
|
+
export { x as Aggregate, c as AggregateDeleteParameters, A as AggregateGetParameters, a as AggregateGetResponse, b as AggregatePutParameters, C as ContextDefinitions, F as CookieCriteria, J as CurrentPageCriteria, t as DimensionDefinition, D as DimensionGetParameters, d as DimensionGetResponse, u as EnrichmentCategory, v as EnrichmentCategoryWithValues, g as EnrichmentDeleteParameters, E as EnrichmentGetParameters, e as EnrichmentGetResponse, f as EnrichmentPutParameters, w as EnrichmentValue, i as EnrichmentValueDeleteParameters, h as EnrichmentValuePutParameters, I as EventCriteria, M as ManifestGetParameters, j as ManifestGetResponse, P as PageViewCountCriteria, G as QueryStringCriteria, y as Quirk, H as QuirkCriteria, m as QuirkDeleteParameters, Q as QuirkGetParameters, k as QuirkGetResponse, l as QuirkPutParameters, R as RootSignalCriteriaGroup, p as SignalDeleteParameters, S as SignalGetParameters, n as SignalGetResponse, o as SignalPutParameters, B as SignalWithId, z as Test, s as TestDeleteParameters, T as TestGetParameters, q as TestGetResponse, r as TestPutParameters } from '../contextTypes-ec62120f.js';
|
3
|
+
import { g as ManifestV2 } from '../types-c398dba8.js';
|
4
|
+
import '../v2-manifest.swagger-200ca5ee.js';
|
5
5
|
import 'mitt';
|
6
6
|
|
7
7
|
declare type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
|
package/dist/cli/cli.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { UniformCLIPlugin } from '@uniformdev/cli';
|
2
2
|
import { UniformPackage } from '@uniformdev/cli/sync';
|
3
|
-
import { C as ContextDefinitions } from '../contextTypes-
|
4
|
-
import '../v2-manifest.swagger-
|
3
|
+
import { C as ContextDefinitions } from '../contextTypes-ec62120f.js';
|
4
|
+
import '../v2-manifest.swagger-200ca5ee.js';
|
5
5
|
|
6
6
|
declare type ContextPackage = UniformPackage & ContextDefinitions;
|
7
7
|
declare function readContextPackage(filename: string, assertExists: boolean): ContextPackage;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { p as paths$7 } from './v2-manifest.swagger-
|
1
|
+
import { p as paths$7 } from './v2-manifest.swagger-200ca5ee.js';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* This file was auto-generated by openapi-typescript.
|
@@ -68,6 +68,13 @@ interface paths$6 {
|
|
68
68
|
};
|
69
69
|
};
|
70
70
|
};
|
71
|
+
/** Handles preflight requests. This endpoint allows CORS. */
|
72
|
+
options: {
|
73
|
+
responses: {
|
74
|
+
/** OK */
|
75
|
+
204: never;
|
76
|
+
};
|
77
|
+
};
|
71
78
|
};
|
72
79
|
}
|
73
80
|
interface components$6 {
|
@@ -127,6 +134,12 @@ interface external$6 {
|
|
127
134
|
"application/json": external$6["swagger.yml"]["components"]["schemas"]["Error"];
|
128
135
|
};
|
129
136
|
};
|
137
|
+
/** Resource not found */
|
138
|
+
NotFoundError: {
|
139
|
+
content: {
|
140
|
+
"application/json": external$6["swagger.yml"]["components"]["schemas"]["Error"];
|
141
|
+
};
|
142
|
+
};
|
130
143
|
/** Too many requests in allowed time period */
|
131
144
|
RateLimitError: unknown;
|
132
145
|
/** Execution error occurred */
|
@@ -187,6 +200,13 @@ interface paths$5 {
|
|
187
200
|
};
|
188
201
|
};
|
189
202
|
};
|
203
|
+
/** Handles preflight requests. This endpoint allows CORS. */
|
204
|
+
options: {
|
205
|
+
responses: {
|
206
|
+
/** OK */
|
207
|
+
204: never;
|
208
|
+
};
|
209
|
+
};
|
190
210
|
};
|
191
211
|
}
|
192
212
|
interface external$5 {
|
@@ -218,6 +238,12 @@ interface external$5 {
|
|
218
238
|
"application/json": external$5["swagger.yml"]["components"]["schemas"]["Error"];
|
219
239
|
};
|
220
240
|
};
|
241
|
+
/** Resource not found */
|
242
|
+
NotFoundError: {
|
243
|
+
content: {
|
244
|
+
"application/json": external$5["swagger.yml"]["components"]["schemas"]["Error"];
|
245
|
+
};
|
246
|
+
};
|
221
247
|
/** Too many requests in allowed time period */
|
222
248
|
RateLimitError: unknown;
|
223
249
|
/** Execution error occurred */
|
@@ -291,6 +317,13 @@ interface external$5 {
|
|
291
317
|
};
|
292
318
|
};
|
293
319
|
};
|
320
|
+
/** Handles preflight requests. This endpoint allows CORS. */
|
321
|
+
options: {
|
322
|
+
responses: {
|
323
|
+
/** OK */
|
324
|
+
204: never;
|
325
|
+
};
|
326
|
+
};
|
294
327
|
};
|
295
328
|
};
|
296
329
|
components: {
|
@@ -410,6 +443,13 @@ interface paths$4 {
|
|
410
443
|
};
|
411
444
|
};
|
412
445
|
};
|
446
|
+
/** Handles preflight requests. This endpoint allows CORS. */
|
447
|
+
options: {
|
448
|
+
responses: {
|
449
|
+
/** OK */
|
450
|
+
204: never;
|
451
|
+
};
|
452
|
+
};
|
413
453
|
};
|
414
454
|
}
|
415
455
|
interface components$5 {
|
@@ -459,6 +499,12 @@ interface external$4 {
|
|
459
499
|
"application/json": external$4["swagger.yml"]["components"]["schemas"]["Error"];
|
460
500
|
};
|
461
501
|
};
|
502
|
+
/** Resource not found */
|
503
|
+
NotFoundError: {
|
504
|
+
content: {
|
505
|
+
"application/json": external$4["swagger.yml"]["components"]["schemas"]["Error"];
|
506
|
+
};
|
507
|
+
};
|
462
508
|
/** Too many requests in allowed time period */
|
463
509
|
RateLimitError: unknown;
|
464
510
|
/** Execution error occurred */
|
@@ -699,6 +745,13 @@ interface paths$3 {
|
|
699
745
|
500: external$3["swagger.yml"]["components"]["responses"]["InternalServerError"];
|
700
746
|
};
|
701
747
|
};
|
748
|
+
/** Handles preflight requests. This endpoint allows CORS. */
|
749
|
+
options: {
|
750
|
+
responses: {
|
751
|
+
/** OK */
|
752
|
+
204: never;
|
753
|
+
};
|
754
|
+
};
|
702
755
|
};
|
703
756
|
}
|
704
757
|
interface components$4 {
|
@@ -761,6 +814,12 @@ interface external$3 {
|
|
761
814
|
"application/json": external$3["swagger.yml"]["components"]["schemas"]["Error"];
|
762
815
|
};
|
763
816
|
};
|
817
|
+
/** Resource not found */
|
818
|
+
NotFoundError: {
|
819
|
+
content: {
|
820
|
+
"application/json": external$3["swagger.yml"]["components"]["schemas"]["Error"];
|
821
|
+
};
|
822
|
+
};
|
764
823
|
/** Too many requests in allowed time period */
|
765
824
|
RateLimitError: unknown;
|
766
825
|
/** Execution error occurred */
|
@@ -845,6 +904,13 @@ interface paths$2 {
|
|
845
904
|
};
|
846
905
|
};
|
847
906
|
};
|
907
|
+
/** Handles preflight requests. This endpoint allows CORS. */
|
908
|
+
options: {
|
909
|
+
responses: {
|
910
|
+
/** OK */
|
911
|
+
204: never;
|
912
|
+
};
|
913
|
+
};
|
848
914
|
};
|
849
915
|
}
|
850
916
|
interface components$3 {
|
@@ -896,6 +962,12 @@ interface external$2 {
|
|
896
962
|
"application/json": external$2["swagger.yml"]["components"]["schemas"]["Error"];
|
897
963
|
};
|
898
964
|
};
|
965
|
+
/** Resource not found */
|
966
|
+
NotFoundError: {
|
967
|
+
content: {
|
968
|
+
"application/json": external$2["swagger.yml"]["components"]["schemas"]["Error"];
|
969
|
+
};
|
970
|
+
};
|
899
971
|
/** Too many requests in allowed time period */
|
900
972
|
RateLimitError: unknown;
|
901
973
|
/** Execution error occurred */
|
@@ -978,6 +1050,13 @@ interface paths$1 {
|
|
978
1050
|
};
|
979
1051
|
};
|
980
1052
|
};
|
1053
|
+
/** Handles preflight requests. This endpoint allows CORS. */
|
1054
|
+
options: {
|
1055
|
+
responses: {
|
1056
|
+
/** OK */
|
1057
|
+
204: never;
|
1058
|
+
};
|
1059
|
+
};
|
981
1060
|
};
|
982
1061
|
}
|
983
1062
|
interface components$2 {
|
@@ -1021,6 +1100,12 @@ interface external$1 {
|
|
1021
1100
|
"application/json": external$1["swagger.yml"]["components"]["schemas"]["Error"];
|
1022
1101
|
};
|
1023
1102
|
};
|
1103
|
+
/** Resource not found */
|
1104
|
+
NotFoundError: {
|
1105
|
+
content: {
|
1106
|
+
"application/json": external$1["swagger.yml"]["components"]["schemas"]["Error"];
|
1107
|
+
};
|
1108
|
+
};
|
1024
1109
|
/** Too many requests in allowed time period */
|
1025
1110
|
RateLimitError: unknown;
|
1026
1111
|
/** Execution error occurred */
|
@@ -1102,6 +1187,13 @@ interface paths {
|
|
1102
1187
|
};
|
1103
1188
|
};
|
1104
1189
|
};
|
1190
|
+
/** Handles preflight requests. This endpoint allows CORS. */
|
1191
|
+
options: {
|
1192
|
+
responses: {
|
1193
|
+
/** OK */
|
1194
|
+
204: never;
|
1195
|
+
};
|
1196
|
+
};
|
1105
1197
|
};
|
1106
1198
|
}
|
1107
1199
|
interface components$1 {
|
@@ -1140,6 +1232,12 @@ interface external {
|
|
1140
1232
|
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
|
1141
1233
|
};
|
1142
1234
|
};
|
1235
|
+
/** Resource not found */
|
1236
|
+
NotFoundError: {
|
1237
|
+
content: {
|
1238
|
+
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
|
1239
|
+
};
|
1240
|
+
};
|
1143
1241
|
/** Too many requests in allowed time period */
|
1144
1242
|
RateLimitError: unknown;
|
1145
1243
|
/** Execution error occurred */
|
package/dist/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { T as TransitionDataStore, S as StorageCommands, V as VisitorData, a as TransitionDataStoreOptions, D as DecayFunction, O as OutputSeverity, L as LogDrain, C as ContextPlugin, b as CriteriaEvaluator, c as StringMatch, d as ScoreVector, A as AggregateDimension, e as VariantMatchCriteria, f as LogMessage } from './types-
|
2
|
-
export { A as AggregateDimension, l as AggregateDimensionInput, ac as BehaviorTag, a0 as Context, $ as ContextEvents, Y as ContextOptions, C as ContextPlugin, t as ContextState, u as ContextStateUpdate, b as CriteriaEvaluator, n as CriteriaEvaluatorParameters, m as CriteriaEvaluatorResult, D as DecayFunction, H as DecayOptions, aj as DevToolsActions, an as DevToolsDataEvent, ak as DevToolsEvent, al as DevToolsEvents, ar as DevToolsForgetEvent, ao as DevToolsHelloEvent, am as DevToolsLogEvent, aq as DevToolsRawCommandsEvent, ai as DevToolsState, ah as DevToolsUiVersion, ap as DevToolsUpdateEvent, ab as DimensionMatch, E as EnrichmentCategory, q as EnrichmentData, r as EventData, G as GroupCriteriaEvaluator, I as IdentifyCommand, L as LogDrain, f as LogMessage, a6 as LogMessageGroup, a5 as LogMessageSingle, a1 as LogMessages, M as ManifestInstance, g as ManifestV2, a3 as MessageCategory, a4 as MessageFunc, w as ModifyScoreCommand, x as ModifySessionScoreCommand, N as NumberMatch, O as OutputSeverity, Z as PersonalizationEvent, P as PersonalizationManifest, a9 as PersonalizeOptions, ae as PersonalizedResult, ad as PersonalizedVariant, Q as Quirks, W as SERVER_STATE_ID, d as ScoreVector, U as ServerToClientTransitionState, y as SetConsentCommand, F as SetControlGroupCommand, z as SetQuirkCommand, B as SetTestCommand, a2 as Severity, h as Signal, j as SignalCriteria, i as SignalCriteriaGroup, o as SignalData, v as StorageCommand, S as StorageCommands, c as StringMatch, k as TestDefinition, _ as TestEvent, a8 as TestOptions, ag as TestResult, af as TestVariant, p as Tests, T as TransitionDataStore, X as TransitionDataStoreEvents, a as TransitionDataStoreOptions, e as VariantMatchCriteria, V as VisitorData, R as VisitorDataStore, K as VisitorDataStoreEvents, J as VisitorDataStoreOptions, s as emptyVisitorData, aa as personalizeVariations, a7 as testVariations } from './types-
|
1
|
+
import { T as TransitionDataStore, S as StorageCommands, V as VisitorData, a as TransitionDataStoreOptions, D as DecayFunction, O as OutputSeverity, L as LogDrain, C as ContextPlugin, b as CriteriaEvaluator, c as StringMatch, d as ScoreVector, A as AggregateDimension, e as VariantMatchCriteria, f as LogMessage } from './types-c398dba8.js';
|
2
|
+
export { A as AggregateDimension, l as AggregateDimensionInput, ac as BehaviorTag, a0 as Context, $ as ContextEvents, Y as ContextOptions, C as ContextPlugin, t as ContextState, u as ContextStateUpdate, b as CriteriaEvaluator, n as CriteriaEvaluatorParameters, m as CriteriaEvaluatorResult, D as DecayFunction, H as DecayOptions, aj as DevToolsActions, an as DevToolsDataEvent, ak as DevToolsEvent, al as DevToolsEvents, ar as DevToolsForgetEvent, ao as DevToolsHelloEvent, am as DevToolsLogEvent, aq as DevToolsRawCommandsEvent, ai as DevToolsState, ah as DevToolsUiVersion, ap as DevToolsUpdateEvent, ab as DimensionMatch, E as EnrichmentCategory, q as EnrichmentData, r as EventData, G as GroupCriteriaEvaluator, I as IdentifyCommand, L as LogDrain, f as LogMessage, a6 as LogMessageGroup, a5 as LogMessageSingle, a1 as LogMessages, M as ManifestInstance, g as ManifestV2, a3 as MessageCategory, a4 as MessageFunc, w as ModifyScoreCommand, x as ModifySessionScoreCommand, N as NumberMatch, O as OutputSeverity, Z as PersonalizationEvent, P as PersonalizationManifest, a9 as PersonalizeOptions, ae as PersonalizedResult, ad as PersonalizedVariant, Q as Quirks, W as SERVER_STATE_ID, d as ScoreVector, U as ServerToClientTransitionState, y as SetConsentCommand, F as SetControlGroupCommand, z as SetQuirkCommand, B as SetTestCommand, a2 as Severity, h as Signal, j as SignalCriteria, i as SignalCriteriaGroup, o as SignalData, v as StorageCommand, S as StorageCommands, c as StringMatch, k as TestDefinition, _ as TestEvent, a8 as TestOptions, ag as TestResult, af as TestVariant, p as Tests, T as TransitionDataStore, X as TransitionDataStoreEvents, a as TransitionDataStoreOptions, e as VariantMatchCriteria, V as VisitorData, R as VisitorDataStore, K as VisitorDataStoreEvents, J as VisitorDataStoreOptions, s as emptyVisitorData, aa as personalizeVariations, a7 as testVariations } from './types-c398dba8.js';
|
3
3
|
import Cookies from 'js-cookie';
|
4
4
|
import 'mitt';
|
5
|
-
import './v2-manifest.swagger-
|
5
|
+
import './v2-manifest.swagger-200ca5ee.js';
|
6
6
|
|
7
7
|
declare type CookieTransitionDataStoreOptions = {
|
8
8
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as mitt from 'mitt';
|
2
|
-
import { c as components, e as external } from './v2-manifest.swagger-
|
2
|
+
import { c as components, e as external } from './v2-manifest.swagger-200ca5ee.js';
|
3
3
|
|
4
4
|
declare type StorageCommand<TID extends string = string, TData = unknown> = {
|
5
5
|
type: TID;
|
@@ -111,6 +111,12 @@ interface external {
|
|
111
111
|
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
|
112
112
|
};
|
113
113
|
};
|
114
|
+
/** Resource not found */
|
115
|
+
NotFoundError: {
|
116
|
+
content: {
|
117
|
+
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"];
|
118
|
+
};
|
119
|
+
};
|
114
120
|
/** Too many requests in allowed time period */
|
115
121
|
RateLimitError: unknown;
|
116
122
|
/** Execution error occurred */
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/context",
|
3
|
-
"version": "17.
|
3
|
+
"version": "17.1.0",
|
4
4
|
"description": "Uniform Context core package",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"main": "./dist/index.js",
|
@@ -58,8 +58,8 @@
|
|
58
58
|
},
|
59
59
|
"devDependencies": {
|
60
60
|
"@types/js-cookie": "3.0.2",
|
61
|
-
"@types/yargs": "17.0.
|
62
|
-
"@uniformdev/cli": "^17.
|
61
|
+
"@types/yargs": "17.0.11",
|
62
|
+
"@uniformdev/cli": "^17.1.0",
|
63
63
|
"benny": "3.7.1",
|
64
64
|
"yargs": "17.5.1"
|
65
65
|
},
|
@@ -76,5 +76,5 @@
|
|
76
76
|
"publishConfig": {
|
77
77
|
"access": "public"
|
78
78
|
},
|
79
|
-
"gitHead": "
|
79
|
+
"gitHead": "47c6abcea06f19dcd2e723bbee79da32e7c395e5"
|
80
80
|
}
|