@uniformdev/canvas-next-rsc 19.179.1-alpha.1 → 19.179.2-alpha.25

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.
@@ -40,11 +40,11 @@ type ResolveComponentResult = {
40
40
  fallback: ComponentType<any> | undefined;
41
41
  };
42
42
  };
43
- declare const resolveComposition: (props: Omit<ResolveComponentsOptions, 'slotName' | 'slotIndex' | 'target'> & {
43
+ declare const resolveComposition: (props: Omit<ResolveComponentsOptions, "slotName" | "slotIndex" | "target"> & {
44
44
  composition: ComponentInstance;
45
45
  compositionContext: CompositionContext;
46
46
  }) => React$1.FunctionComponentElement<{
47
- children?: ReactNode;
47
+ children?: ReactNode | undefined;
48
48
  }> | null;
49
49
  type ResolveComponentsOptions = {
50
50
  serverContext?: AppDirectoryServerContext;
@@ -40,11 +40,11 @@ type ResolveComponentResult = {
40
40
  fallback: ComponentType<any> | undefined;
41
41
  };
42
42
  };
43
- declare const resolveComposition: (props: Omit<ResolveComponentsOptions, 'slotName' | 'slotIndex' | 'target'> & {
43
+ declare const resolveComposition: (props: Omit<ResolveComponentsOptions, "slotName" | "slotIndex" | "target"> & {
44
44
  composition: ComponentInstance;
45
45
  compositionContext: CompositionContext;
46
46
  }) => React$1.FunctionComponentElement<{
47
- children?: ReactNode;
47
+ children?: ReactNode | undefined;
48
48
  }> | null;
49
49
  type ResolveComponentsOptions = {
50
50
  serverContext?: AppDirectoryServerContext;
@@ -1,7 +1,7 @@
1
1
  import { ComponentProps, CompositionContext, SlotDefinition } from '@uniformdev/canvas-next-rsc-shared';
2
2
  export { ComponentProps, CompositionContext } from '@uniformdev/canvas-next-rsc-shared';
3
3
  import React__default, { PropsWithChildren, ReactNode, Key } from 'react';
4
- export { R as ResolveComponentFunction, b as ResolveComponentResult } from './UniformComposition-B-Z17dUt.mjs';
4
+ export { R as ResolveComponentFunction, b as ResolveComponentResult } from './UniformComposition-Dw55RFP6.mjs';
5
5
  import { ComponentInstance } from '@uniformdev/canvas';
6
6
  import { RichTextNode } from '@uniformdev/richtext';
7
7
  import { PureUniformTextProps } from '@uniformdev/canvas-react/core';
@@ -43,14 +43,14 @@ declare const UniformRichText: React__default.ForwardRefExoticComponent<{
43
43
  * The name of the HTML tag to render.
44
44
  * @default "div"
45
45
  */
46
- as?: React__default.ElementType<any> | undefined;
46
+ as?: React__default.ElementType;
47
47
  /** The ID of the parameter. */
48
48
  parameterId: string;
49
49
  /**
50
50
  * A function which can provide a custom react component
51
51
  * for rendering a rich text node
52
52
  */
53
- resolveRichTextRenderer?: RenderRichTextComponentResolver | undefined;
53
+ resolveRichTextRenderer?: RenderRichTextComponentResolver;
54
54
  /** The component instance. */
55
55
  component: ComponentInstance;
56
56
  } & Omit<React__default.HTMLAttributes<HTMLDivElement>, "children"> & React__default.RefAttributes<unknown>>;
@@ -1,7 +1,7 @@
1
1
  import { ComponentProps, CompositionContext, SlotDefinition } from '@uniformdev/canvas-next-rsc-shared';
2
2
  export { ComponentProps, CompositionContext } from '@uniformdev/canvas-next-rsc-shared';
3
3
  import React__default, { PropsWithChildren, ReactNode, Key } from 'react';
4
- export { R as ResolveComponentFunction, b as ResolveComponentResult } from './UniformComposition-B-Z17dUt.js';
4
+ export { R as ResolveComponentFunction, b as ResolveComponentResult } from './UniformComposition-Dw55RFP6.js';
5
5
  import { ComponentInstance } from '@uniformdev/canvas';
6
6
  import { RichTextNode } from '@uniformdev/richtext';
7
7
  import { PureUniformTextProps } from '@uniformdev/canvas-react/core';
@@ -43,14 +43,14 @@ declare const UniformRichText: React__default.ForwardRefExoticComponent<{
43
43
  * The name of the HTML tag to render.
44
44
  * @default "div"
45
45
  */
46
- as?: React__default.ElementType<any> | undefined;
46
+ as?: React__default.ElementType;
47
47
  /** The ID of the parameter. */
48
48
  parameterId: string;
49
49
  /**
50
50
  * A function which can provide a custom react component
51
51
  * for rendering a rich text node
52
52
  */
53
- resolveRichTextRenderer?: RenderRichTextComponentResolver | undefined;
53
+ resolveRichTextRenderer?: RenderRichTextComponentResolver;
54
54
  /** The component instance. */
55
55
  component: ComponentInstance;
56
56
  } & Omit<React__default.HTMLAttributes<HTMLDivElement>, "children"> & React__default.RefAttributes<unknown>>;
package/dist/index.d.mts CHANGED
@@ -5,8 +5,8 @@ import { ManifestClient } from '@uniformdev/context/api';
5
5
  import { ProjectMapClient, ProjectMapNode } from '@uniformdev/project-map';
6
6
  import { ContextState, ContextOptions } from '@uniformdev/context';
7
7
  import React__default, { PropsWithChildren } from 'react';
8
- import { U as UniformCompositionProps } from './UniformComposition-B-Z17dUt.mjs';
9
- export { a as UniformComposition, r as resolveComposition } from './UniformComposition-B-Z17dUt.mjs';
8
+ import { U as UniformCompositionProps } from './UniformComposition-Dw55RFP6.mjs';
9
+ export { a as UniformComposition, r as resolveComposition } from './UniformComposition-Dw55RFP6.mjs';
10
10
  import { ClientContextComponent } from '@uniformdev/canvas-next-rsc-client';
11
11
 
12
12
  type GetCanvasClientOptions = {
@@ -14,7 +14,7 @@ type GetCanvasClientOptions = {
14
14
  };
15
15
  declare const getCanvasClient: (options: GetCanvasClientOptions) => CanvasClient;
16
16
  declare const getDefaultCanvasClient: ({ searchParams, }: {
17
- searchParams: PageParameters['searchParams'];
17
+ searchParams: PageParameters["searchParams"];
18
18
  }) => CanvasClient;
19
19
 
20
20
  type GetManifestClientOptions = {
@@ -22,34 +22,34 @@ type GetManifestClientOptions = {
22
22
  };
23
23
  declare const getManifestClient: (options: GetManifestClientOptions) => ManifestClient;
24
24
  declare const getDefaultManifestClient: ({ searchParams, }: {
25
- searchParams?: PageParameters['searchParams'];
25
+ searchParams?: PageParameters["searchParams"];
26
26
  }) => ManifestClient;
27
27
  declare const getManifest: ({ searchParams }: {
28
- searchParams: PageParameters['searchParams'];
28
+ searchParams: PageParameters["searchParams"];
29
29
  }) => Promise<{
30
30
  project: {
31
- id?: string | undefined;
32
- name?: string | undefined;
33
- ui_version?: number | undefined;
31
+ id?: string;
32
+ name?: string;
33
+ ui_version?: number;
34
34
  pz?: {
35
35
  sig?: {
36
36
  [key: string]: {
37
37
  str: number;
38
38
  cap: number;
39
- dur: "p" | "s" | "t";
39
+ dur: "s" | "p" | "t";
40
40
  crit: {
41
41
  type: "G";
42
- op?: "&" | "|" | undefined;
42
+ op?: "&" | "|";
43
43
  clauses: ({
44
44
  type: "G";
45
- op?: "&" | "|" | undefined;
46
- clauses: (any | {
45
+ op?: "&" | "|";
46
+ clauses: (any | ({
47
47
  type: "CK";
48
48
  cookieName: string;
49
49
  match: {
50
50
  rhs: string;
51
51
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
52
- cs?: boolean | undefined;
52
+ cs?: boolean;
53
53
  } | {
54
54
  op: "*" | "!*";
55
55
  };
@@ -59,7 +59,7 @@ declare const getManifest: ({ searchParams }: {
59
59
  match: {
60
60
  rhs: string;
61
61
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
62
- cs?: boolean | undefined;
62
+ cs?: boolean;
63
63
  } | {
64
64
  op: "*" | "!*";
65
65
  };
@@ -69,7 +69,7 @@ declare const getManifest: ({ searchParams }: {
69
69
  match: {
70
70
  rhs: string;
71
71
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
72
- cs?: boolean | undefined;
72
+ cs?: boolean;
73
73
  } | {
74
74
  op: "*" | "!*";
75
75
  };
@@ -78,7 +78,7 @@ declare const getManifest: ({ searchParams }: {
78
78
  event: {
79
79
  rhs: string;
80
80
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
81
- cs?: boolean | undefined;
81
+ cs?: boolean;
82
82
  } | {
83
83
  op: "*" | "!*";
84
84
  };
@@ -87,7 +87,7 @@ declare const getManifest: ({ searchParams }: {
87
87
  path: {
88
88
  rhs: string;
89
89
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
90
- cs?: boolean | undefined;
90
+ cs?: boolean;
91
91
  } | {
92
92
  op: "*" | "!*";
93
93
  };
@@ -95,16 +95,16 @@ declare const getManifest: ({ searchParams }: {
95
95
  type: "PVC";
96
96
  match: {
97
97
  rhs: number;
98
- op: "=" | "!=" | "<" | ">";
98
+ op: "=" | "<" | ">" | "!=";
99
99
  };
100
- })[];
101
- } | {
100
+ }))[];
101
+ } | ({
102
102
  type: "CK";
103
103
  cookieName: string;
104
104
  match: {
105
105
  rhs: string;
106
106
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
107
- cs?: boolean | undefined;
107
+ cs?: boolean;
108
108
  } | {
109
109
  op: "*" | "!*";
110
110
  };
@@ -114,7 +114,7 @@ declare const getManifest: ({ searchParams }: {
114
114
  match: {
115
115
  rhs: string;
116
116
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
117
- cs?: boolean | undefined;
117
+ cs?: boolean;
118
118
  } | {
119
119
  op: "*" | "!*";
120
120
  };
@@ -124,7 +124,7 @@ declare const getManifest: ({ searchParams }: {
124
124
  match: {
125
125
  rhs: string;
126
126
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
127
- cs?: boolean | undefined;
127
+ cs?: boolean;
128
128
  } | {
129
129
  op: "*" | "!*";
130
130
  };
@@ -133,7 +133,7 @@ declare const getManifest: ({ searchParams }: {
133
133
  event: {
134
134
  rhs: string;
135
135
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
136
- cs?: boolean | undefined;
136
+ cs?: boolean;
137
137
  } | {
138
138
  op: "*" | "!*";
139
139
  };
@@ -142,7 +142,7 @@ declare const getManifest: ({ searchParams }: {
142
142
  path: {
143
143
  rhs: string;
144
144
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
145
- cs?: boolean | undefined;
145
+ cs?: boolean;
146
146
  } | {
147
147
  op: "*" | "!*";
148
148
  };
@@ -150,35 +150,35 @@ declare const getManifest: ({ searchParams }: {
150
150
  type: "PVC";
151
151
  match: {
152
152
  rhs: number;
153
- op: "=" | "!=" | "<" | ">";
153
+ op: "=" | "<" | ">" | "!=";
154
154
  };
155
- })[];
155
+ }))[];
156
156
  };
157
157
  conversion?: {
158
158
  freq: "O";
159
- } | null | undefined;
159
+ } | null;
160
160
  };
161
- } | undefined;
161
+ };
162
162
  enr?: {
163
163
  [key: string]: {
164
164
  cap: number;
165
165
  };
166
- } | undefined;
166
+ };
167
167
  agg?: {
168
168
  [key: string]: {
169
169
  inputs: {
170
170
  dim: string;
171
- sign?: "c" | "+" | "-" | undefined;
171
+ sign?: "+" | "-" | "c";
172
172
  }[];
173
173
  };
174
- } | undefined;
175
- control?: number | undefined;
176
- } | undefined;
174
+ };
175
+ control?: number;
176
+ };
177
177
  test?: {
178
178
  [key: string]: {
179
- wv?: string | undefined;
179
+ wv?: string;
180
180
  };
181
- } | undefined;
181
+ };
182
182
  };
183
183
  }>;
184
184
 
@@ -187,7 +187,7 @@ type GetProjectMapClientOptions = {
187
187
  };
188
188
  declare const getProjectMapClient: (options: GetProjectMapClientOptions) => ProjectMapClient;
189
189
  declare const getDefaultProjectMapClient: ({ searchParams, }: {
190
- searchParams: PageParameters['searchParams'];
190
+ searchParams: PageParameters["searchParams"];
191
191
  }) => ProjectMapClient;
192
192
 
193
193
  type GetRouteClientOptions = {
@@ -195,7 +195,7 @@ type GetRouteClientOptions = {
195
195
  };
196
196
  declare const getRouteClient: (options: GetRouteClientOptions) => RouteClient;
197
197
  declare const getDefaultRouteClient: ({ searchParams }: {
198
- searchParams: PageParameters['searchParams'];
198
+ searchParams: PageParameters["searchParams"];
199
199
  }) => RouteClient;
200
200
 
201
201
  type ContextUpdateTransferProps = {
package/dist/index.d.ts CHANGED
@@ -5,8 +5,8 @@ import { ManifestClient } from '@uniformdev/context/api';
5
5
  import { ProjectMapClient, ProjectMapNode } from '@uniformdev/project-map';
6
6
  import { ContextState, ContextOptions } from '@uniformdev/context';
7
7
  import React__default, { PropsWithChildren } from 'react';
8
- import { U as UniformCompositionProps } from './UniformComposition-B-Z17dUt.js';
9
- export { a as UniformComposition, r as resolveComposition } from './UniformComposition-B-Z17dUt.js';
8
+ import { U as UniformCompositionProps } from './UniformComposition-Dw55RFP6.js';
9
+ export { a as UniformComposition, r as resolveComposition } from './UniformComposition-Dw55RFP6.js';
10
10
  import { ClientContextComponent } from '@uniformdev/canvas-next-rsc-client';
11
11
 
12
12
  type GetCanvasClientOptions = {
@@ -14,7 +14,7 @@ type GetCanvasClientOptions = {
14
14
  };
15
15
  declare const getCanvasClient: (options: GetCanvasClientOptions) => CanvasClient;
16
16
  declare const getDefaultCanvasClient: ({ searchParams, }: {
17
- searchParams: PageParameters['searchParams'];
17
+ searchParams: PageParameters["searchParams"];
18
18
  }) => CanvasClient;
19
19
 
20
20
  type GetManifestClientOptions = {
@@ -22,34 +22,34 @@ type GetManifestClientOptions = {
22
22
  };
23
23
  declare const getManifestClient: (options: GetManifestClientOptions) => ManifestClient;
24
24
  declare const getDefaultManifestClient: ({ searchParams, }: {
25
- searchParams?: PageParameters['searchParams'];
25
+ searchParams?: PageParameters["searchParams"];
26
26
  }) => ManifestClient;
27
27
  declare const getManifest: ({ searchParams }: {
28
- searchParams: PageParameters['searchParams'];
28
+ searchParams: PageParameters["searchParams"];
29
29
  }) => Promise<{
30
30
  project: {
31
- id?: string | undefined;
32
- name?: string | undefined;
33
- ui_version?: number | undefined;
31
+ id?: string;
32
+ name?: string;
33
+ ui_version?: number;
34
34
  pz?: {
35
35
  sig?: {
36
36
  [key: string]: {
37
37
  str: number;
38
38
  cap: number;
39
- dur: "p" | "s" | "t";
39
+ dur: "s" | "p" | "t";
40
40
  crit: {
41
41
  type: "G";
42
- op?: "&" | "|" | undefined;
42
+ op?: "&" | "|";
43
43
  clauses: ({
44
44
  type: "G";
45
- op?: "&" | "|" | undefined;
46
- clauses: (any | {
45
+ op?: "&" | "|";
46
+ clauses: (any | ({
47
47
  type: "CK";
48
48
  cookieName: string;
49
49
  match: {
50
50
  rhs: string;
51
51
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
52
- cs?: boolean | undefined;
52
+ cs?: boolean;
53
53
  } | {
54
54
  op: "*" | "!*";
55
55
  };
@@ -59,7 +59,7 @@ declare const getManifest: ({ searchParams }: {
59
59
  match: {
60
60
  rhs: string;
61
61
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
62
- cs?: boolean | undefined;
62
+ cs?: boolean;
63
63
  } | {
64
64
  op: "*" | "!*";
65
65
  };
@@ -69,7 +69,7 @@ declare const getManifest: ({ searchParams }: {
69
69
  match: {
70
70
  rhs: string;
71
71
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
72
- cs?: boolean | undefined;
72
+ cs?: boolean;
73
73
  } | {
74
74
  op: "*" | "!*";
75
75
  };
@@ -78,7 +78,7 @@ declare const getManifest: ({ searchParams }: {
78
78
  event: {
79
79
  rhs: string;
80
80
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
81
- cs?: boolean | undefined;
81
+ cs?: boolean;
82
82
  } | {
83
83
  op: "*" | "!*";
84
84
  };
@@ -87,7 +87,7 @@ declare const getManifest: ({ searchParams }: {
87
87
  path: {
88
88
  rhs: string;
89
89
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
90
- cs?: boolean | undefined;
90
+ cs?: boolean;
91
91
  } | {
92
92
  op: "*" | "!*";
93
93
  };
@@ -95,16 +95,16 @@ declare const getManifest: ({ searchParams }: {
95
95
  type: "PVC";
96
96
  match: {
97
97
  rhs: number;
98
- op: "=" | "!=" | "<" | ">";
98
+ op: "=" | "<" | ">" | "!=";
99
99
  };
100
- })[];
101
- } | {
100
+ }))[];
101
+ } | ({
102
102
  type: "CK";
103
103
  cookieName: string;
104
104
  match: {
105
105
  rhs: string;
106
106
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
107
- cs?: boolean | undefined;
107
+ cs?: boolean;
108
108
  } | {
109
109
  op: "*" | "!*";
110
110
  };
@@ -114,7 +114,7 @@ declare const getManifest: ({ searchParams }: {
114
114
  match: {
115
115
  rhs: string;
116
116
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
117
- cs?: boolean | undefined;
117
+ cs?: boolean;
118
118
  } | {
119
119
  op: "*" | "!*";
120
120
  };
@@ -124,7 +124,7 @@ declare const getManifest: ({ searchParams }: {
124
124
  match: {
125
125
  rhs: string;
126
126
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
127
- cs?: boolean | undefined;
127
+ cs?: boolean;
128
128
  } | {
129
129
  op: "*" | "!*";
130
130
  };
@@ -133,7 +133,7 @@ declare const getManifest: ({ searchParams }: {
133
133
  event: {
134
134
  rhs: string;
135
135
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
136
- cs?: boolean | undefined;
136
+ cs?: boolean;
137
137
  } | {
138
138
  op: "*" | "!*";
139
139
  };
@@ -142,7 +142,7 @@ declare const getManifest: ({ searchParams }: {
142
142
  path: {
143
143
  rhs: string;
144
144
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
145
- cs?: boolean | undefined;
145
+ cs?: boolean;
146
146
  } | {
147
147
  op: "*" | "!*";
148
148
  };
@@ -150,35 +150,35 @@ declare const getManifest: ({ searchParams }: {
150
150
  type: "PVC";
151
151
  match: {
152
152
  rhs: number;
153
- op: "=" | "!=" | "<" | ">";
153
+ op: "=" | "<" | ">" | "!=";
154
154
  };
155
- })[];
155
+ }))[];
156
156
  };
157
157
  conversion?: {
158
158
  freq: "O";
159
- } | null | undefined;
159
+ } | null;
160
160
  };
161
- } | undefined;
161
+ };
162
162
  enr?: {
163
163
  [key: string]: {
164
164
  cap: number;
165
165
  };
166
- } | undefined;
166
+ };
167
167
  agg?: {
168
168
  [key: string]: {
169
169
  inputs: {
170
170
  dim: string;
171
- sign?: "c" | "+" | "-" | undefined;
171
+ sign?: "+" | "-" | "c";
172
172
  }[];
173
173
  };
174
- } | undefined;
175
- control?: number | undefined;
176
- } | undefined;
174
+ };
175
+ control?: number;
176
+ };
177
177
  test?: {
178
178
  [key: string]: {
179
- wv?: string | undefined;
179
+ wv?: string;
180
180
  };
181
- } | undefined;
181
+ };
182
182
  };
183
183
  }>;
184
184
 
@@ -187,7 +187,7 @@ type GetProjectMapClientOptions = {
187
187
  };
188
188
  declare const getProjectMapClient: (options: GetProjectMapClientOptions) => ProjectMapClient;
189
189
  declare const getDefaultProjectMapClient: ({ searchParams, }: {
190
- searchParams: PageParameters['searchParams'];
190
+ searchParams: PageParameters["searchParams"];
191
191
  }) => ProjectMapClient;
192
192
 
193
193
  type GetRouteClientOptions = {
@@ -195,7 +195,7 @@ type GetRouteClientOptions = {
195
195
  };
196
196
  declare const getRouteClient: (options: GetRouteClientOptions) => RouteClient;
197
197
  declare const getDefaultRouteClient: ({ searchParams }: {
198
- searchParams: PageParameters['searchParams'];
198
+ searchParams: PageParameters["searchParams"];
199
199
  }) => RouteClient;
200
200
 
201
201
  type ContextUpdateTransferProps = {
package/dist/index.esm.js CHANGED
@@ -760,10 +760,13 @@ var UniformComposition = async ({
760
760
  update: {
761
761
  params: props.params,
762
762
  searchParams,
763
- cookies: cookies2().getAll().reduce((acc, cookie) => {
764
- acc[cookie.name] = cookie.value;
765
- return acc;
766
- }, {}),
763
+ cookies: cookies2().getAll().reduce(
764
+ (acc, cookie) => {
765
+ acc[cookie.name] = cookie.value;
766
+ return acc;
767
+ },
768
+ {}
769
+ ),
767
770
  quirks: {
768
771
  "vc-country": headersValue.get("x-vercel-ip-country") || missingQuirkValue,
769
772
  "vc-region": headersValue.get("x-vercel-ip-country-region") || missingQuirkValue,
package/dist/index.js CHANGED
@@ -790,10 +790,13 @@ var UniformComposition = async ({
790
790
  update: {
791
791
  params: props.params,
792
792
  searchParams,
793
- cookies: (0, import_headers3.cookies)().getAll().reduce((acc, cookie) => {
794
- acc[cookie.name] = cookie.value;
795
- return acc;
796
- }, {}),
793
+ cookies: (0, import_headers3.cookies)().getAll().reduce(
794
+ (acc, cookie) => {
795
+ acc[cookie.name] = cookie.value;
796
+ return acc;
797
+ },
798
+ {}
799
+ ),
797
800
  quirks: {
798
801
  "vc-country": headersValue.get("x-vercel-ip-country") || missingQuirkValue,
799
802
  "vc-region": headersValue.get("x-vercel-ip-country-region") || missingQuirkValue,
package/dist/index.mjs CHANGED
@@ -760,10 +760,13 @@ var UniformComposition = async ({
760
760
  update: {
761
761
  params: props.params,
762
762
  searchParams,
763
- cookies: cookies2().getAll().reduce((acc, cookie) => {
764
- acc[cookie.name] = cookie.value;
765
- return acc;
766
- }, {}),
763
+ cookies: cookies2().getAll().reduce(
764
+ (acc, cookie) => {
765
+ acc[cookie.name] = cookie.value;
766
+ return acc;
767
+ },
768
+ {}
769
+ ),
767
770
  quirks: {
768
771
  "vc-country": headersValue.get("x-vercel-ip-country") || missingQuirkValue,
769
772
  "vc-region": headersValue.get("x-vercel-ip-country-region") || missingQuirkValue,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-next-rsc",
3
- "version": "19.179.1-alpha.1+3adc08c00a",
3
+ "version": "19.179.2-alpha.25+252ca669db",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "scripts": {
6
6
  "build": "tsup",
@@ -53,23 +53,23 @@
53
53
  "/dist"
54
54
  ],
55
55
  "devDependencies": {
56
- "@types/node": "^20.0.0",
57
- "@types/react": "18.2.40",
58
- "eslint": "8.57.0",
56
+ "@types/node": "20.10.6",
57
+ "@types/react": "18.3.3",
58
+ "eslint": "9.9.0",
59
59
  "next": "^14.0.0",
60
- "react": "18.2.0",
61
- "react-dom": "18.2.0"
60
+ "react": "18.3.1",
61
+ "react-dom": "18.3.1"
62
62
  },
63
63
  "dependencies": {
64
- "@uniformdev/canvas": "19.179.1-alpha.1+3adc08c00a",
65
- "@uniformdev/canvas-next-rsc-client": "^19.179.1-alpha.1+3adc08c00a",
66
- "@uniformdev/canvas-next-rsc-shared": "^19.179.1-alpha.1+3adc08c00a",
67
- "@uniformdev/canvas-react": "19.179.1-alpha.1+3adc08c00a",
68
- "@uniformdev/context": "19.179.1-alpha.1+3adc08c00a",
69
- "@uniformdev/project-map": "19.179.1-alpha.1+3adc08c00a",
70
- "@uniformdev/redirect": "19.179.1-alpha.1+3adc08c00a",
71
- "@uniformdev/richtext": "19.179.1-alpha.1+3adc08c00a",
72
- "@uniformdev/webhooks": "19.179.1-alpha.1+3adc08c00a",
64
+ "@uniformdev/canvas": "19.179.2-alpha.25+252ca669db",
65
+ "@uniformdev/canvas-next-rsc-client": "^19.179.2-alpha.25+252ca669db",
66
+ "@uniformdev/canvas-next-rsc-shared": "^19.179.2-alpha.25+252ca669db",
67
+ "@uniformdev/canvas-react": "19.179.2-alpha.25+252ca669db",
68
+ "@uniformdev/context": "19.179.2-alpha.25+252ca669db",
69
+ "@uniformdev/project-map": "19.179.2-alpha.25+252ca669db",
70
+ "@uniformdev/redirect": "19.179.2-alpha.25+252ca669db",
71
+ "@uniformdev/richtext": "19.179.2-alpha.25+252ca669db",
72
+ "@uniformdev/webhooks": "19.179.2-alpha.25+252ca669db",
73
73
  "@vercel/edge-config": "^0.4.0",
74
74
  "encoding": "^0.1.13",
75
75
  "server-only": "^0.0.1",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
89
- "gitHead": "3adc08c00a0d3932b6b767faaa6157f8b71ef0a0"
89
+ "gitHead": "252ca669dbe0172211ab6b0465322c8cecd9a974"
90
90
  }