@uniformdev/context-react 20.2.0 → 20.3.1-alpha.7
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.esm.js +2 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
@@ -124,6 +124,7 @@ function PersonalizeStandard({
|
|
124
124
|
}) {
|
125
125
|
const { context } = useUniformContext();
|
126
126
|
const scores = useScores();
|
127
|
+
const quirks = useQuirks();
|
127
128
|
const { variations: personalizedVariations, personalized: personalizationOccurred } = useMemo(
|
128
129
|
() => context.personalize({
|
129
130
|
name,
|
@@ -131,7 +132,7 @@ function PersonalizeStandard({
|
|
131
132
|
take: count
|
132
133
|
}),
|
133
134
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
134
|
-
[scores, context, count, name, variations]
|
135
|
+
[scores, quirks, context, count, name, variations]
|
135
136
|
);
|
136
137
|
const Wrapper = wrapperComponent != null ? wrapperComponent : ({ children }) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, children);
|
137
138
|
const Component = component;
|
package/dist/index.js
CHANGED
@@ -166,6 +166,7 @@ function PersonalizeStandard({
|
|
166
166
|
}) {
|
167
167
|
const { context } = useUniformContext();
|
168
168
|
const scores = useScores();
|
169
|
+
const quirks = useQuirks();
|
169
170
|
const { variations: personalizedVariations, personalized: personalizationOccurred } = (0, import_react7.useMemo)(
|
170
171
|
() => context.personalize({
|
171
172
|
name,
|
@@ -173,7 +174,7 @@ function PersonalizeStandard({
|
|
173
174
|
take: count
|
174
175
|
}),
|
175
176
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
176
|
-
[scores, context, count, name, variations]
|
177
|
+
[scores, quirks, context, count, name, variations]
|
177
178
|
);
|
178
179
|
const Wrapper = wrapperComponent != null ? wrapperComponent : ({ children }) => /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, children);
|
179
180
|
const Component = component;
|
package/dist/index.mjs
CHANGED
@@ -124,6 +124,7 @@ function PersonalizeStandard({
|
|
124
124
|
}) {
|
125
125
|
const { context } = useUniformContext();
|
126
126
|
const scores = useScores();
|
127
|
+
const quirks = useQuirks();
|
127
128
|
const { variations: personalizedVariations, personalized: personalizationOccurred } = useMemo(
|
128
129
|
() => context.personalize({
|
129
130
|
name,
|
@@ -131,7 +132,7 @@ function PersonalizeStandard({
|
|
131
132
|
take: count
|
132
133
|
}),
|
133
134
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
134
|
-
[scores, context, count, name, variations]
|
135
|
+
[scores, quirks, context, count, name, variations]
|
135
136
|
);
|
136
137
|
const Wrapper = wrapperComponent != null ? wrapperComponent : ({ children }) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, children);
|
137
138
|
const Component = component;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/context-react",
|
3
|
-
"version": "20.
|
3
|
+
"version": "20.3.1-alpha.7+bede5bf489",
|
4
4
|
"description": "Uniform Context React integration package",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"main": "./dist/index.js",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"react-dom": "18.3.1"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
33
|
-
"@uniformdev/context": "20.
|
33
|
+
"@uniformdev/context": "20.3.1-alpha.7+bede5bf489",
|
34
34
|
"cookie": "1.0.1",
|
35
35
|
"dequal": "2.0.3"
|
36
36
|
},
|
@@ -44,5 +44,5 @@
|
|
44
44
|
"publishConfig": {
|
45
45
|
"access": "public"
|
46
46
|
},
|
47
|
-
"gitHead": "
|
47
|
+
"gitHead": "bede5bf4893bf814af6aba78a558e28efd9f5682"
|
48
48
|
}
|