@xemahq/authorization-internal-api-client 0.4.27 → 0.4.28

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.
@@ -8,7 +8,7 @@ export interface SubjectRefDto {
8
8
  /** Discriminator over the kinds of subject that may hold a grant. */
9
9
  kind: SubjectKind;
10
10
  /**
11
- * Opaque ref for the subject; authorization-api owns interpretation per `kind`.
11
+ * The BARE per-kind identifier — never `<kind>:<id>`, never a `xema://` address. For a `user` it is the principal id the token carries; for an `agent` the composition slug. It becomes the OpenFGA user `<kind>:<ref>` verbatim, so it may not contain `:`, `#` or whitespace; a value that does is refused with `400 SUBJECT_REF_INVALID` naming `/subject/ref`.
12
12
  * @minLength 1
13
13
  */
14
14
  ref: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/authorization-internal-api-client",
3
- "version": "0.4.27",
3
+ "version": "0.4.28",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [