@nadicodeai/ui 12.1.47 → 12.1.48
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.
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
|
|
22
22
|
/** Every helper that resolves the viewer and refuses an unauthorized one. */
|
|
23
23
|
const AUTH_CALLS = new Set([
|
|
24
|
-
"
|
|
24
|
+
"actionActor",
|
|
25
25
|
"accountActionContext",
|
|
26
26
|
"companyActionContext",
|
|
27
27
|
"getPortalSession",
|
|
28
28
|
"installationActionContext",
|
|
29
|
-
"
|
|
29
|
+
"pageActor",
|
|
30
30
|
"requirePlatformAdminViewer",
|
|
31
31
|
"requirePlatformOrPartnerViewer",
|
|
32
32
|
"requirePortalAdmin",
|
|
@@ -102,7 +102,7 @@ export const serverActionDiscipline = {
|
|
|
102
102
|
schema: [],
|
|
103
103
|
messages: {
|
|
104
104
|
missingAuth:
|
|
105
|
-
"Server action '{{name}}' calls no viewer check. Resolve the viewer first (
|
|
105
|
+
"Server action '{{name}}' calls no viewer check. Resolve the viewer first (actionActor, requirePortalViewer, companyActionContext, …), or disable this rule inline with the reason it is public.",
|
|
106
106
|
missingValidation:
|
|
107
107
|
"Server action '{{name}}' takes client input and never parses it. Run the Zod schema's parse/safeParse before trusting the argument.",
|
|
108
108
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadicodeai/ui",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.48",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@assistant-ui/react": "0.15.22",
|
|
78
78
|
"@assistant-ui/react-markdown": "0.14.17",
|
|
79
79
|
"@base-ui/react": "^1.8.0",
|
|
80
|
-
"@nadicodeai/design-system": "12.1.
|
|
80
|
+
"@nadicodeai/design-system": "12.1.48",
|
|
81
81
|
"class-variance-authority": "^0.7.1",
|
|
82
82
|
"clsx": "^2.1.1",
|
|
83
83
|
"cmdk": "^1.1.1",
|