@uniformdev/canvas-next-rsc-shared 20.75.1-alpha.15.sha-b6ff05804e → 20.75.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.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -13,7 +13,7 @@ type UniformServerConfig = {
|
|
|
13
13
|
/**
|
|
14
14
|
* Sets the default value of storage consent for new unknown visitors.
|
|
15
15
|
*
|
|
16
|
-
* @
|
|
16
|
+
* @default false
|
|
17
17
|
*/
|
|
18
18
|
defaultConsent?: boolean;
|
|
19
19
|
/**
|
|
@@ -45,7 +45,7 @@ type UniformServerConfig = {
|
|
|
45
45
|
/**
|
|
46
46
|
* Disables the Uniform Context dev tools.
|
|
47
47
|
*
|
|
48
|
-
* @
|
|
48
|
+
* @default false
|
|
49
49
|
*/
|
|
50
50
|
disableDevTools?: boolean;
|
|
51
51
|
};
|
|
@@ -69,13 +69,13 @@ type UniformServerConfig = {
|
|
|
69
69
|
/**
|
|
70
70
|
* Enables edge cache of redirects.
|
|
71
71
|
*
|
|
72
|
-
* @
|
|
72
|
+
* @default false
|
|
73
73
|
*/
|
|
74
74
|
edgeRedirects?: boolean;
|
|
75
75
|
/**
|
|
76
76
|
* Enables edge cache of compositions.
|
|
77
77
|
*
|
|
78
|
-
* @
|
|
78
|
+
* @default false
|
|
79
79
|
*/
|
|
80
80
|
edgeCompositions?: boolean;
|
|
81
81
|
/**
|
|
@@ -163,7 +163,7 @@ type AppDirectoryContext = Omit<ContextInstance, 'update'> & {
|
|
|
163
163
|
update: (update: Partial<AppDirectoryContextState>) => Promise<void>;
|
|
164
164
|
/**
|
|
165
165
|
* Set the consent state for the current user.
|
|
166
|
-
* @param consent
|
|
166
|
+
* @param consent Whether the user has given consent.
|
|
167
167
|
*/
|
|
168
168
|
updateConsent: (consent: boolean) => Promise<void>;
|
|
169
169
|
/**
|
|
@@ -173,7 +173,7 @@ type AppDirectoryContext = Omit<ContextInstance, 'update'> & {
|
|
|
173
173
|
/**
|
|
174
174
|
* Internal use only. Please use `ContextUpdateTransfer` to handle any Context updates.
|
|
175
175
|
*
|
|
176
|
-
* @deprecated
|
|
176
|
+
* @deprecated
|
|
177
177
|
*/
|
|
178
178
|
internal_update: AppDirectoryContext['update'];
|
|
179
179
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ type UniformServerConfig = {
|
|
|
13
13
|
/**
|
|
14
14
|
* Sets the default value of storage consent for new unknown visitors.
|
|
15
15
|
*
|
|
16
|
-
* @
|
|
16
|
+
* @default false
|
|
17
17
|
*/
|
|
18
18
|
defaultConsent?: boolean;
|
|
19
19
|
/**
|
|
@@ -45,7 +45,7 @@ type UniformServerConfig = {
|
|
|
45
45
|
/**
|
|
46
46
|
* Disables the Uniform Context dev tools.
|
|
47
47
|
*
|
|
48
|
-
* @
|
|
48
|
+
* @default false
|
|
49
49
|
*/
|
|
50
50
|
disableDevTools?: boolean;
|
|
51
51
|
};
|
|
@@ -69,13 +69,13 @@ type UniformServerConfig = {
|
|
|
69
69
|
/**
|
|
70
70
|
* Enables edge cache of redirects.
|
|
71
71
|
*
|
|
72
|
-
* @
|
|
72
|
+
* @default false
|
|
73
73
|
*/
|
|
74
74
|
edgeRedirects?: boolean;
|
|
75
75
|
/**
|
|
76
76
|
* Enables edge cache of compositions.
|
|
77
77
|
*
|
|
78
|
-
* @
|
|
78
|
+
* @default false
|
|
79
79
|
*/
|
|
80
80
|
edgeCompositions?: boolean;
|
|
81
81
|
/**
|
|
@@ -163,7 +163,7 @@ type AppDirectoryContext = Omit<ContextInstance, 'update'> & {
|
|
|
163
163
|
update: (update: Partial<AppDirectoryContextState>) => Promise<void>;
|
|
164
164
|
/**
|
|
165
165
|
* Set the consent state for the current user.
|
|
166
|
-
* @param consent
|
|
166
|
+
* @param consent Whether the user has given consent.
|
|
167
167
|
*/
|
|
168
168
|
updateConsent: (consent: boolean) => Promise<void>;
|
|
169
169
|
/**
|
|
@@ -173,7 +173,7 @@ type AppDirectoryContext = Omit<ContextInstance, 'update'> & {
|
|
|
173
173
|
/**
|
|
174
174
|
* Internal use only. Please use `ContextUpdateTransfer` to handle any Context updates.
|
|
175
175
|
*
|
|
176
|
-
* @deprecated
|
|
176
|
+
* @deprecated
|
|
177
177
|
*/
|
|
178
178
|
internal_update: AppDirectoryContext['update'];
|
|
179
179
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc-shared",
|
|
3
|
-
"version": "20.75.1-alpha.
|
|
3
|
+
"version": "20.75.1-alpha.3+8eaaa5230a",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "26.0.0",
|
|
30
30
|
"@types/react": "19.2.17",
|
|
31
|
-
"next": "
|
|
31
|
+
"next": "15.5.19",
|
|
32
32
|
"react": "19.2.1",
|
|
33
33
|
"react-dom": "19.2.1"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@uniformdev/canvas": "20.75.1-alpha.
|
|
37
|
-
"@uniformdev/context": "20.75.1-alpha.
|
|
36
|
+
"@uniformdev/canvas": "20.75.1-alpha.3+8eaaa5230a",
|
|
37
|
+
"@uniformdev/context": "20.75.1-alpha.3+8eaaa5230a"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": "^18.18.0 || ^19.8.0 || >= 20.0.0"
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "8eaaa5230a5621f7b30b1b54b48dcd097f684af9"
|
|
51
51
|
}
|