@uniformdev/next-app-router 20.80.2-alpha.17.sha-6b1014c36e → 20.81.1-alpha.4.sha-de16ebeee7
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/{UniformComposition-DBO-oo7J.d.ts → UniformComposition-T7CRvU1H.d.ts} +2 -8
- package/dist/{UniformComposition-le6UEB_r.d.mts → UniformComposition-fq7Qfhvp.d.mts} +2 -8
- package/dist/cache.d.mts +1 -3
- package/dist/cache.d.ts +1 -3
- package/dist/cache.js +127 -811
- package/dist/cache.mjs +126 -810
- package/dist/compat.d.mts +2 -4
- package/dist/compat.d.ts +2 -4
- package/dist/component.d.mts +10 -1
- package/dist/component.d.ts +10 -1
- package/dist/component.js +113 -617
- package/dist/component.mjs +112 -640
- package/dist/config/default.js +0 -1
- package/dist/config/default.mjs +0 -1
- package/dist/edge.d.mts +44 -0
- package/dist/edge.d.ts +44 -0
- package/dist/edge.js +751 -0
- package/dist/edge.mjs +720 -0
- package/dist/handler.js +87 -616
- package/dist/handler.mjs +85 -614
- package/dist/index.d.mts +15 -36
- package/dist/index.d.ts +15 -36
- package/dist/index.esm.js +1935 -5585
- package/dist/index.js +1929 -5579
- package/dist/index.mjs +1935 -5585
- package/dist/middleware.d.mts +52 -13
- package/dist/middleware.d.ts +52 -13
- package/dist/middleware.js +410 -5746
- package/dist/middleware.mjs +417 -5776
- package/dist/resolveRouteFromCode-CId7aItt.d.mts +48 -0
- package/dist/resolveRouteFromCode-CId7aItt.d.ts +48 -0
- package/package.json +24 -9
- package/dist/client-BElN_CWD.d.mts +0 -786
- package/dist/client-BElN_CWD.d.ts +0 -786
- package/dist/resolveRouteFromCode-BOvjIvM2.d.ts +0 -18
- package/dist/resolveRouteFromCode-CuJ4JHeb.d.mts +0 -18
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { RootComponentInstance, ComponentInstance } from '@uniformdev/canvas';
|
|
2
2
|
import { ComponentProps } from '@uniformdev/next-app-router-shared';
|
|
3
3
|
import React, { ComponentType } from 'react';
|
|
4
|
-
import { D as DataClient } from './
|
|
5
|
-
import { a as ResolvedRouteResult, R as ResolveRouteFunction } from './resolveRouteFromCode-BOvjIvM2.js';
|
|
4
|
+
import { a as ResolvedRouteResult, R as ResolveRouteFunction, D as DataClient } from './resolveRouteFromCode-CId7aItt.js';
|
|
6
5
|
import { ClientContextComponent } from '@uniformdev/next-app-router-client';
|
|
7
6
|
|
|
8
7
|
type CompositionCache = {
|
|
@@ -62,12 +61,7 @@ type UniformCompositionProps = {
|
|
|
62
61
|
*/
|
|
63
62
|
resolveComponent: ResolveComponentFunction;
|
|
64
63
|
/**
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* Pass the same client here that you pass to `handleUniformRoute`. Without it, this component
|
|
68
|
-
* falls back to `DefaultDataClient` for the route it resolves and, on draft requests,
|
|
69
|
-
* for the manifest it evaluates personalization against - so a custom manifest source
|
|
70
|
-
* configured only on the middleware would not apply while the page renders.
|
|
64
|
+
* Resolves the route for the code. Defaults to `DefaultDataClient`.
|
|
71
65
|
*/
|
|
72
66
|
dataClient?: DataClient;
|
|
73
67
|
/**
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { RootComponentInstance, ComponentInstance } from '@uniformdev/canvas';
|
|
2
2
|
import { ComponentProps } from '@uniformdev/next-app-router-shared';
|
|
3
3
|
import React, { ComponentType } from 'react';
|
|
4
|
-
import { D as DataClient } from './
|
|
5
|
-
import { a as ResolvedRouteResult, R as ResolveRouteFunction } from './resolveRouteFromCode-CuJ4JHeb.mjs';
|
|
4
|
+
import { a as ResolvedRouteResult, R as ResolveRouteFunction, D as DataClient } from './resolveRouteFromCode-CId7aItt.mjs';
|
|
6
5
|
import { ClientContextComponent } from '@uniformdev/next-app-router-client';
|
|
7
6
|
|
|
8
7
|
type CompositionCache = {
|
|
@@ -62,12 +61,7 @@ type UniformCompositionProps = {
|
|
|
62
61
|
*/
|
|
63
62
|
resolveComponent: ResolveComponentFunction;
|
|
64
63
|
/**
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* Pass the same client here that you pass to `handleUniformRoute`. Without it, this component
|
|
68
|
-
* falls back to `DefaultDataClient` for the route it resolves and, on draft requests,
|
|
69
|
-
* for the manifest it evaluates personalization against - so a custom manifest source
|
|
70
|
-
* configured only on the middleware would not apply while the page renders.
|
|
64
|
+
* Resolves the route for the code. Defaults to `DefaultDataClient`.
|
|
71
65
|
*/
|
|
72
66
|
dataClient?: DataClient;
|
|
73
67
|
/**
|
package/dist/cache.d.mts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { R as ResolveRouteFunction } from './resolveRouteFromCode-
|
|
1
|
+
import { R as ResolveRouteFunction } from './resolveRouteFromCode-CId7aItt.mjs';
|
|
2
2
|
import '@uniformdev/canvas';
|
|
3
3
|
import '@uniformdev/next-app-router-shared';
|
|
4
|
-
import './client-BElN_CWD.mjs';
|
|
5
|
-
import '@uniformdev/context';
|
|
6
4
|
|
|
7
5
|
declare const resolveRouteFromCode: ResolveRouteFunction;
|
|
8
6
|
|
package/dist/cache.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { R as ResolveRouteFunction } from './resolveRouteFromCode-
|
|
1
|
+
import { R as ResolveRouteFunction } from './resolveRouteFromCode-CId7aItt.js';
|
|
2
2
|
import '@uniformdev/canvas';
|
|
3
3
|
import '@uniformdev/next-app-router-shared';
|
|
4
|
-
import './client-BElN_CWD.js';
|
|
5
|
-
import '@uniformdev/context';
|
|
6
4
|
|
|
7
5
|
declare const resolveRouteFromCode: ResolveRouteFunction;
|
|
8
6
|
|