@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.
@@ -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 './client-BElN_CWD.js';
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
- * If provided, the composition will use the data client to retrieve data.
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 './client-BElN_CWD.mjs';
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
- * If provided, the composition will use the data client to retrieve data.
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-CuJ4JHeb.mjs';
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-BOvjIvM2.js';
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