@uniformdev/canvas-next-rsc-shared 20.75.1-alpha.16 → 20.75.1-alpha.6
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 +4 -4
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
|
+
* @defaultValue 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
|
+
* @defaultValue 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
|
+
* @defaultValue false
|
|
73
73
|
*/
|
|
74
74
|
edgeRedirects?: boolean;
|
|
75
75
|
/**
|
|
76
76
|
* Enables edge cache of compositions.
|
|
77
77
|
*
|
|
78
|
-
* @
|
|
78
|
+
* @defaultValue 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 Whether the user has given 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 Use `ContextUpdateTransfer` to handle Context updates instead.
|
|
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
|
+
* @defaultValue 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
|
+
* @defaultValue 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
|
+
* @defaultValue false
|
|
73
73
|
*/
|
|
74
74
|
edgeRedirects?: boolean;
|
|
75
75
|
/**
|
|
76
76
|
* Enables edge cache of compositions.
|
|
77
77
|
*
|
|
78
|
-
* @
|
|
78
|
+
* @defaultValue 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 Whether the user has given 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 Use `ContextUpdateTransfer` to handle Context updates instead.
|
|
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.6+28f494b01a",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -33,8 +33,8 @@
|
|
|
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.6+28f494b01a",
|
|
37
|
+
"@uniformdev/context": "20.75.1-alpha.6+28f494b01a"
|
|
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": "28f494b01a1b988afdf9f7e3ecf6fad402bb3777"
|
|
51
51
|
}
|