@uniformdev/context-react 20.3.1-alpha.7 → 20.4.1-alpha.3
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 +1 -2
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
@@ -124,7 +124,6 @@ function PersonalizeStandard({
|
|
124
124
|
}) {
|
125
125
|
const { context } = useUniformContext();
|
126
126
|
const scores = useScores();
|
127
|
-
const quirks = useQuirks();
|
128
127
|
const { variations: personalizedVariations, personalized: personalizationOccurred } = useMemo(
|
129
128
|
() => context.personalize({
|
130
129
|
name,
|
@@ -132,7 +131,7 @@ function PersonalizeStandard({
|
|
132
131
|
take: count
|
133
132
|
}),
|
134
133
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
135
|
-
[scores,
|
134
|
+
[scores, context, count, name, variations]
|
136
135
|
);
|
137
136
|
const Wrapper = wrapperComponent != null ? wrapperComponent : ({ children }) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, children);
|
138
137
|
const Component = component;
|
package/dist/index.js
CHANGED
@@ -166,7 +166,6 @@ function PersonalizeStandard({
|
|
166
166
|
}) {
|
167
167
|
const { context } = useUniformContext();
|
168
168
|
const scores = useScores();
|
169
|
-
const quirks = useQuirks();
|
170
169
|
const { variations: personalizedVariations, personalized: personalizationOccurred } = (0, import_react7.useMemo)(
|
171
170
|
() => context.personalize({
|
172
171
|
name,
|
@@ -174,7 +173,7 @@ function PersonalizeStandard({
|
|
174
173
|
take: count
|
175
174
|
}),
|
176
175
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
177
|
-
[scores,
|
176
|
+
[scores, context, count, name, variations]
|
178
177
|
);
|
179
178
|
const Wrapper = wrapperComponent != null ? wrapperComponent : ({ children }) => /* @__PURE__ */ import_react7.default.createElement(import_react7.default.Fragment, null, children);
|
180
179
|
const Component = component;
|
package/dist/index.mjs
CHANGED
@@ -124,7 +124,6 @@ function PersonalizeStandard({
|
|
124
124
|
}) {
|
125
125
|
const { context } = useUniformContext();
|
126
126
|
const scores = useScores();
|
127
|
-
const quirks = useQuirks();
|
128
127
|
const { variations: personalizedVariations, personalized: personalizationOccurred } = useMemo(
|
129
128
|
() => context.personalize({
|
130
129
|
name,
|
@@ -132,7 +131,7 @@ function PersonalizeStandard({
|
|
132
131
|
take: count
|
133
132
|
}),
|
134
133
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
135
|
-
[scores,
|
134
|
+
[scores, context, count, name, variations]
|
136
135
|
);
|
137
136
|
const Wrapper = wrapperComponent != null ? wrapperComponent : ({ children }) => /* @__PURE__ */ React2.createElement(React2.Fragment, null, children);
|
138
137
|
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.4.1-alpha.3+bc2e6fc5f7",
|
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.4.1-alpha.3+bc2e6fc5f7",
|
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": "bc2e6fc5f7d2920e46605385db043782f023bbbb"
|
48
48
|
}
|