@idp.global/interfaces 19.0.0 → 20.0.0

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/changelog.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-07-18 - 20.0.0
4
+
5
+ ### Breaking Changes
6
+
7
+ - expose user revision in global admin DTOs (dto)
8
+ - Add required revision to IGlobalUserAdminDto for compare-and-set administration.
9
+ - Document revision as the review token for global admin directory and mutation responses.
10
+
11
+ ## 2026-07-18 - next
12
+
13
+ ### Breaking Changes
14
+
15
+ - expose the exact current User revision in every global-user administration
16
+ DTO so callers can satisfy the mandatory compare-and-set contract
17
+
3
18
  ## 2026-07-18 - 19.0.0
4
19
 
5
20
  ### Breaking Changes
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/interfaces',
6
- version: '19.0.0',
6
+ version: '20.0.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
@@ -29,6 +29,8 @@ export interface IUserProfileDto {
29
29
  */
30
30
  export interface IGlobalUserAdminDto {
31
31
  id: string;
32
+ /** Exact current User revision for compare-and-set administration. */
33
+ revision: number;
32
34
  name: string;
33
35
  username: string;
34
36
  email: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idp.global/interfaces",
3
- "version": "19.0.0",
3
+ "version": "20.0.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.",
6
6
  "exports": {
package/readme.md CHANGED
@@ -64,6 +64,8 @@ distinct actor and target identities, serialized compare-and-set mutation, and
64
64
  must never remove the last active global administrator. The request requires a
65
65
  caller-stable `operationId` and the exact reviewed `expectedUserRevision` so
66
66
  retries reconcile one durable attempt without overwriting a newer decision.
67
+ `IGlobalUserAdminDto.revision` supplies that exact review token in directory
68
+ and mutation responses.
67
69
  Grant/removal attempt and result events use the closed `global_admin_granted`
68
70
  and `global_admin_removed` activity actions.
69
71
  The target hash is derived server-side from the canonical, authorized
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/interfaces',
6
- version: '19.0.0',
6
+ version: '20.0.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
8
8
  }
package/ts/dto/user.ts CHANGED
@@ -32,6 +32,8 @@ export interface IUserProfileDto {
32
32
  */
33
33
  export interface IGlobalUserAdminDto {
34
34
  id: string;
35
+ /** Exact current User revision for compare-and-set administration. */
36
+ revision: number;
35
37
  name: string;
36
38
  username: string;
37
39
  email: string;