@uniformdev/next-app-router-shared 20.7.1-alpha.122 → 20.7.1-alpha.134
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/LICENSE.txt +1 -1
- package/dist/index.d.mts +8 -18
- package/dist/index.d.ts +8 -18
- package/dist/index.esm.js +0 -2
- package/dist/index.js +0 -3
- package/dist/index.mjs +0 -2
- package/package.json +8 -6
package/LICENSE.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
©
|
|
1
|
+
© 2026 Uniform Systems, Inc. All Rights Reserved.
|
|
2
2
|
See details of Uniform Systems, Inc. Master Subscription Agreement here: https://uniform.dev/eula
|
package/dist/index.d.mts
CHANGED
|
@@ -162,10 +162,16 @@ type TestProps = ComponentProps & {
|
|
|
162
162
|
|
|
163
163
|
type CacheMode = {
|
|
164
164
|
type: RequestInit['cache'];
|
|
165
|
+
/**
|
|
166
|
+
* @deprecated
|
|
167
|
+
*/
|
|
165
168
|
bypassCache?: boolean;
|
|
166
169
|
} | {
|
|
167
170
|
type: 'revalidate';
|
|
168
171
|
interval: number;
|
|
172
|
+
/**
|
|
173
|
+
* @deprecated
|
|
174
|
+
*/
|
|
169
175
|
bypassCache?: boolean;
|
|
170
176
|
};
|
|
171
177
|
type ManifestCacheMode = CacheMode;
|
|
@@ -184,21 +190,6 @@ type UniformServerConfig = {
|
|
|
184
190
|
* The path to the playground page.
|
|
185
191
|
*/
|
|
186
192
|
playgroundPath?: string;
|
|
187
|
-
/**
|
|
188
|
-
* Cache mode for manifest data.
|
|
189
|
-
*
|
|
190
|
-
*/
|
|
191
|
-
manifestCache?: ManifestCacheMode;
|
|
192
|
-
/**
|
|
193
|
-
* Cache mode for canvas data.
|
|
194
|
-
*
|
|
195
|
-
*/
|
|
196
|
-
canvasCache?: CanvasCacheMode;
|
|
197
|
-
/**
|
|
198
|
-
* Cache mode for project map data.
|
|
199
|
-
*
|
|
200
|
-
*/
|
|
201
|
-
projectMapCache?: ProjectMapCacheMode;
|
|
202
193
|
/**
|
|
203
194
|
* Options for Uniform Context
|
|
204
195
|
*/
|
|
@@ -211,7 +202,7 @@ type UniformServerConfig = {
|
|
|
211
202
|
disableDevTools?: boolean;
|
|
212
203
|
};
|
|
213
204
|
/**
|
|
214
|
-
*
|
|
205
|
+
* Experimental features.
|
|
215
206
|
*/
|
|
216
207
|
experimental?: {
|
|
217
208
|
/**
|
|
@@ -255,7 +246,6 @@ type RewriteRequestPathResult = {
|
|
|
255
246
|
keys?: Record<string, string>;
|
|
256
247
|
};
|
|
257
248
|
|
|
258
|
-
declare const UNIFORM_MIDDLEWARE_SCORE_COOKIE_NAME = "ufsc";
|
|
259
249
|
declare const UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME = "ufqc";
|
|
260
250
|
|
|
261
|
-
export { type CacheMode, type CanvasCacheMode, type ComponentContext, type ComponentParameter, type ComponentProps, type CompositionContext, type ExtractPersonalizationResult, type ExtractPersonalizationVariant, type ExtractTestResult, type ExtractTestVariant, type IndexedPersonalizationVariant, type IndexedTestVariant, type ManifestCacheMode, type PageState, type PageStateComponent, type PageStateComponentFields, type PersonalizeProps, type ProjectMapCacheMode, type RewriteRequestPathResult, type SlotDefinition, type TestProps, UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME,
|
|
251
|
+
export { type CacheMode, type CanvasCacheMode, type ComponentContext, type ComponentParameter, type ComponentProps, type CompositionContext, type ExtractPersonalizationResult, type ExtractPersonalizationVariant, type ExtractTestResult, type ExtractTestVariant, type IndexedPersonalizationVariant, type IndexedTestVariant, type ManifestCacheMode, type PageState, type PageStateComponent, type PageStateComponentFields, type PersonalizeProps, type ProjectMapCacheMode, type RewriteRequestPathResult, type SlotDefinition, type TestProps, UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME, type UniformServerConfig, deserializeEvaluationResult, evaluatePersonalization, evaluateTest, extractPersonalizationName, extractTestName, getRuleId, resolveComponentFromPageState, resolveRuleFromPageState, serializeEvaluationResult };
|
package/dist/index.d.ts
CHANGED
|
@@ -162,10 +162,16 @@ type TestProps = ComponentProps & {
|
|
|
162
162
|
|
|
163
163
|
type CacheMode = {
|
|
164
164
|
type: RequestInit['cache'];
|
|
165
|
+
/**
|
|
166
|
+
* @deprecated
|
|
167
|
+
*/
|
|
165
168
|
bypassCache?: boolean;
|
|
166
169
|
} | {
|
|
167
170
|
type: 'revalidate';
|
|
168
171
|
interval: number;
|
|
172
|
+
/**
|
|
173
|
+
* @deprecated
|
|
174
|
+
*/
|
|
169
175
|
bypassCache?: boolean;
|
|
170
176
|
};
|
|
171
177
|
type ManifestCacheMode = CacheMode;
|
|
@@ -184,21 +190,6 @@ type UniformServerConfig = {
|
|
|
184
190
|
* The path to the playground page.
|
|
185
191
|
*/
|
|
186
192
|
playgroundPath?: string;
|
|
187
|
-
/**
|
|
188
|
-
* Cache mode for manifest data.
|
|
189
|
-
*
|
|
190
|
-
*/
|
|
191
|
-
manifestCache?: ManifestCacheMode;
|
|
192
|
-
/**
|
|
193
|
-
* Cache mode for canvas data.
|
|
194
|
-
*
|
|
195
|
-
*/
|
|
196
|
-
canvasCache?: CanvasCacheMode;
|
|
197
|
-
/**
|
|
198
|
-
* Cache mode for project map data.
|
|
199
|
-
*
|
|
200
|
-
*/
|
|
201
|
-
projectMapCache?: ProjectMapCacheMode;
|
|
202
193
|
/**
|
|
203
194
|
* Options for Uniform Context
|
|
204
195
|
*/
|
|
@@ -211,7 +202,7 @@ type UniformServerConfig = {
|
|
|
211
202
|
disableDevTools?: boolean;
|
|
212
203
|
};
|
|
213
204
|
/**
|
|
214
|
-
*
|
|
205
|
+
* Experimental features.
|
|
215
206
|
*/
|
|
216
207
|
experimental?: {
|
|
217
208
|
/**
|
|
@@ -255,7 +246,6 @@ type RewriteRequestPathResult = {
|
|
|
255
246
|
keys?: Record<string, string>;
|
|
256
247
|
};
|
|
257
248
|
|
|
258
|
-
declare const UNIFORM_MIDDLEWARE_SCORE_COOKIE_NAME = "ufsc";
|
|
259
249
|
declare const UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME = "ufqc";
|
|
260
250
|
|
|
261
|
-
export { type CacheMode, type CanvasCacheMode, type ComponentContext, type ComponentParameter, type ComponentProps, type CompositionContext, type ExtractPersonalizationResult, type ExtractPersonalizationVariant, type ExtractTestResult, type ExtractTestVariant, type IndexedPersonalizationVariant, type IndexedTestVariant, type ManifestCacheMode, type PageState, type PageStateComponent, type PageStateComponentFields, type PersonalizeProps, type ProjectMapCacheMode, type RewriteRequestPathResult, type SlotDefinition, type TestProps, UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME,
|
|
251
|
+
export { type CacheMode, type CanvasCacheMode, type ComponentContext, type ComponentParameter, type ComponentProps, type CompositionContext, type ExtractPersonalizationResult, type ExtractPersonalizationVariant, type ExtractTestResult, type ExtractTestVariant, type IndexedPersonalizationVariant, type IndexedTestVariant, type ManifestCacheMode, type PageState, type PageStateComponent, type PageStateComponentFields, type PersonalizeProps, type ProjectMapCacheMode, type RewriteRequestPathResult, type SlotDefinition, type TestProps, UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME, type UniformServerConfig, deserializeEvaluationResult, evaluatePersonalization, evaluateTest, extractPersonalizationName, extractTestName, getRuleId, resolveComponentFromPageState, resolveRuleFromPageState, serializeEvaluationResult };
|
package/dist/index.esm.js
CHANGED
|
@@ -282,11 +282,9 @@ var deserializeEvaluationResult = ({
|
|
|
282
282
|
};
|
|
283
283
|
|
|
284
284
|
// src/index.ts
|
|
285
|
-
var UNIFORM_MIDDLEWARE_SCORE_COOKIE_NAME = "ufsc";
|
|
286
285
|
var UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME = "ufqc";
|
|
287
286
|
export {
|
|
288
287
|
UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME,
|
|
289
|
-
UNIFORM_MIDDLEWARE_SCORE_COOKIE_NAME,
|
|
290
288
|
deserializeEvaluationResult,
|
|
291
289
|
evaluatePersonalization,
|
|
292
290
|
evaluateTest,
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var src_exports = {};
|
|
22
22
|
__export(src_exports, {
|
|
23
23
|
UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME: () => UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME,
|
|
24
|
-
UNIFORM_MIDDLEWARE_SCORE_COOKIE_NAME: () => UNIFORM_MIDDLEWARE_SCORE_COOKIE_NAME,
|
|
25
24
|
deserializeEvaluationResult: () => deserializeEvaluationResult,
|
|
26
25
|
evaluatePersonalization: () => evaluatePersonalization,
|
|
27
26
|
evaluateTest: () => evaluateTest,
|
|
@@ -318,12 +317,10 @@ var deserializeEvaluationResult = ({
|
|
|
318
317
|
};
|
|
319
318
|
|
|
320
319
|
// src/index.ts
|
|
321
|
-
var UNIFORM_MIDDLEWARE_SCORE_COOKIE_NAME = "ufsc";
|
|
322
320
|
var UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME = "ufqc";
|
|
323
321
|
// Annotate the CommonJS export names for ESM import in node:
|
|
324
322
|
0 && (module.exports = {
|
|
325
323
|
UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME,
|
|
326
|
-
UNIFORM_MIDDLEWARE_SCORE_COOKIE_NAME,
|
|
327
324
|
deserializeEvaluationResult,
|
|
328
325
|
evaluatePersonalization,
|
|
329
326
|
evaluateTest,
|
package/dist/index.mjs
CHANGED
|
@@ -282,11 +282,9 @@ var deserializeEvaluationResult = ({
|
|
|
282
282
|
};
|
|
283
283
|
|
|
284
284
|
// src/index.ts
|
|
285
|
-
var UNIFORM_MIDDLEWARE_SCORE_COOKIE_NAME = "ufsc";
|
|
286
285
|
var UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME = "ufqc";
|
|
287
286
|
export {
|
|
288
287
|
UNIFORM_MIDDLEWARE_QUIRK_COOKIE_NAME,
|
|
289
|
-
UNIFORM_MIDDLEWARE_SCORE_COOKIE_NAME,
|
|
290
288
|
deserializeEvaluationResult,
|
|
291
289
|
evaluatePersonalization,
|
|
292
290
|
evaluateTest,
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/next-app-router-shared",
|
|
3
|
-
"version": "20.7.1-alpha.
|
|
3
|
+
"version": "20.7.1-alpha.134+97fe4134d7",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
7
7
|
"dev": "tsup --watch",
|
|
8
8
|
"lint": "eslint \"src/**/*.{ts,tsx}\" --fix",
|
|
9
|
-
"test": "
|
|
9
|
+
"test": "vitest"
|
|
10
10
|
},
|
|
11
11
|
"sideEffects": false,
|
|
12
12
|
"main": "./dist/index.js",
|
|
@@ -31,11 +31,13 @@
|
|
|
31
31
|
"next": "16.0.7",
|
|
32
32
|
"react": "19.2.0",
|
|
33
33
|
"react-dom": "19.2.0",
|
|
34
|
-
"typescript": "5.9.2"
|
|
34
|
+
"typescript": "5.9.2",
|
|
35
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
36
|
+
"vitest": "3.2.4"
|
|
35
37
|
},
|
|
36
38
|
"dependencies": {
|
|
37
|
-
"@uniformdev/canvas": "20.7.1-alpha.
|
|
38
|
-
"@uniformdev/context": "20.7.1-alpha.
|
|
39
|
+
"@uniformdev/canvas": "20.7.1-alpha.134+97fe4134d7",
|
|
40
|
+
"@uniformdev/context": "20.7.1-alpha.134+97fe4134d7",
|
|
39
41
|
"uuid": "9.0.1"
|
|
40
42
|
},
|
|
41
43
|
"engines": {
|
|
@@ -49,5 +51,5 @@
|
|
|
49
51
|
"publishConfig": {
|
|
50
52
|
"access": "public"
|
|
51
53
|
},
|
|
52
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "97fe4134d72fb8c0b3a3432e1a6a410fdedeedb4"
|
|
53
55
|
}
|