@iii-dev/helpers 0.22.1-alpha.13 → 0.22.1-alpha.18

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,8 +21,9 @@ type AuthResult = {
21
21
  * `match("svc::*")` spelling.
22
22
  *
23
23
  * The keys are also the namespaces the session may declare on
24
- * `engine::workers::register`. Omit to scope nothing: the session declares any
25
- * namespace, and only `allowed_functions` and `expose_functions` apply.
24
+ * `engine::workers::register`. Omit this map to add no namespace-scoped
25
+ * grants: the session may declare any namespace, and only
26
+ * `allowed_functions` and `expose_functions` apply.
26
27
  */
27
28
  namespaces?: Record<string, string[]>; /** Additional function IDs to allow beyond the `expose_functions` config, in the `default` namespace only. Put per-namespace grants in `namespaces`. Defaults to `[]` if omitted. */
28
29
  allowed_functions?: string[]; /** Function IDs to deny even if they match `expose_functions`. Takes precedence over allowed. Defaults to `[]` if omitted. */
@@ -21,8 +21,9 @@ type AuthResult = {
21
21
  * `match("svc::*")` spelling.
22
22
  *
23
23
  * The keys are also the namespaces the session may declare on
24
- * `engine::workers::register`. Omit to scope nothing: the session declares any
25
- * namespace, and only `allowed_functions` and `expose_functions` apply.
24
+ * `engine::workers::register`. Omit this map to add no namespace-scoped
25
+ * grants: the session may declare any namespace, and only
26
+ * `allowed_functions` and `expose_functions` apply.
26
27
  */
27
28
  namespaces?: Record<string, string[]>; /** Additional function IDs to allow beyond the `expose_functions` config, in the `default` namespace only. Put per-namespace grants in `namespaces`. Defaults to `[]` if omitted. */
28
29
  allowed_functions?: string[]; /** Function IDs to deny even if they match `expose_functions`. Takes precedence over allowed. Defaults to `[]` if omitted. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iii-dev/helpers",
3
- "version": "0.22.1-alpha.13",
3
+ "version": "0.22.1-alpha.18",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"