@uniformdev/context-vue 17.6.1-alpha.60 → 17.7.1-alpha.140
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/index.d.ts +8 -8
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as vue_demi from 'vue-demi';
|
|
2
2
|
import { ConcreteComponent, PropType, App } from 'vue-demi';
|
|
3
3
|
import { PersonalizedVariant, TestVariant, EnrichmentData, Context, Quirks, ScoreVector } from '@uniformdev/context';
|
|
4
|
-
import * as
|
|
4
|
+
import * as _uniformdev_context_dist_types_1c9fdbd2 from '@uniformdev/context/dist/types-1c9fdbd2';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
type PersonalizedVariationComponentProps = PersonalizedVariant & {
|
|
7
7
|
personalizationResult: {
|
|
8
8
|
variation: PersonalizedVariant;
|
|
9
9
|
personalizationOccurred: boolean;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
type PersonalizedVariationComponent = (variation: PersonalizedVariationComponentProps) => ConcreteComponent<any>;
|
|
13
|
+
type PersonalizeComponentProps = {
|
|
14
14
|
/**
|
|
15
15
|
* Name of the personalized placement. Should be unique to this placement location and set of variants.
|
|
16
16
|
* This name is emitted to analytics after personalization executes.
|
|
@@ -69,7 +69,7 @@ declare const PersonalizeStandard: vue_demi.DefineComponent<{
|
|
|
69
69
|
required: true;
|
|
70
70
|
};
|
|
71
71
|
variations: {
|
|
72
|
-
type: PropType<
|
|
72
|
+
type: PropType<_uniformdev_context_dist_types_1c9fdbd2.a2[]>;
|
|
73
73
|
required: true;
|
|
74
74
|
};
|
|
75
75
|
component: {
|
|
@@ -90,7 +90,7 @@ declare const PersonalizeStandard: vue_demi.DefineComponent<{
|
|
|
90
90
|
required: true;
|
|
91
91
|
};
|
|
92
92
|
variations: {
|
|
93
|
-
type: PropType<
|
|
93
|
+
type: PropType<_uniformdev_context_dist_types_1c9fdbd2.a2[]>;
|
|
94
94
|
required: true;
|
|
95
95
|
};
|
|
96
96
|
component: {
|
|
@@ -211,8 +211,8 @@ declare const TrackSlot: vue_demi.DefineComponent<{
|
|
|
211
211
|
};
|
|
212
212
|
}>>, {}>;
|
|
213
213
|
|
|
214
|
-
|
|
215
|
-
|
|
214
|
+
type VariantOutputType = 'edge' | 'standard';
|
|
215
|
+
type UniformContextProps = {
|
|
216
216
|
/** The configured Uniform Context instance to provide */
|
|
217
217
|
context: Context;
|
|
218
218
|
/** The output type to emit.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/context-vue",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.7.1-alpha.140+80ab6baf9",
|
|
4
4
|
"description": "Vue SDK for Uniform Context",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"format": "prettier --write \"src/**/*.{js,ts,tsx}\""
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@uniformdev/context": "^17.
|
|
25
|
+
"@uniformdev/context": "^17.7.1-alpha.140+80ab6baf9",
|
|
26
26
|
"cookie-es": "^0.5.0",
|
|
27
27
|
"dequal": "^2.0.2",
|
|
28
28
|
"uuid": "9.0.0",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@testing-library/vue": "6.6.1",
|
|
42
|
-
"@types/uuid": "
|
|
42
|
+
"@types/uuid": "9.0.0",
|
|
43
43
|
"@vue/server-test-utils": "1.3.0",
|
|
44
|
-
"@vue/test-utils": "2.2.
|
|
44
|
+
"@vue/test-utils": "2.2.7",
|
|
45
45
|
"vue": "3.2.45",
|
|
46
46
|
"vue-server-renderer": "2.7.14",
|
|
47
47
|
"vue-template-compiler": "2.7.14"
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"last 2 versions",
|
|
64
64
|
"not dead"
|
|
65
65
|
],
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "80ab6baf9edea6b520738bd3dff5c6afc882bf77"
|
|
67
67
|
}
|