@idp.global/interfaces 26.0.0 → 26.1.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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-07-23 - 26.1.0
4
+
5
+ ### Features
6
+
7
+ - add optional refresh token to registration completion response (registration)
8
+ - Expose an optional refreshToken on registration completion responses when a session can be issued directly.
9
+ - Document that clients should fall back to normal sign-in when no refresh token is returned.
10
+
3
11
  ## 2026-07-22 - 26.0.0
4
12
 
5
13
  ### Breaking Changes
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/interfaces',
6
- version: '26.0.0',
6
+ version: '26.1.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=
@@ -68,5 +68,13 @@ export interface IReq_FinishRegistration extends plugins.typedRequestInterfaces.
68
68
  response: {
69
69
  status: 'ok' | 'not ok';
70
70
  accountData?: dto.IUserProfileDto;
71
+ /**
72
+ * Refresh token for the session minted on completion. The registration
73
+ * token proves email ownership, so no separate credential round trip is
74
+ * needed. Absent when a session cannot be issued directly (for example a
75
+ * crash-retried completion for an account that has since enrolled MFA) —
76
+ * the client then routes to the normal sign-in.
77
+ */
78
+ refreshToken?: string;
71
79
  };
72
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idp.global/interfaces",
3
- "version": "26.0.0",
3
+ "version": "26.1.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.",
6
6
  "exports": {
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/interfaces',
6
- version: '26.0.0',
6
+ version: '26.1.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
8
8
  }
@@ -94,5 +94,13 @@ export interface IReq_FinishRegistration
94
94
  response: {
95
95
  status: 'ok' | 'not ok';
96
96
  accountData?: dto.IUserProfileDto;
97
+ /**
98
+ * Refresh token for the session minted on completion. The registration
99
+ * token proves email ownership, so no separate credential round trip is
100
+ * needed. Absent when a session cannot be issued directly (for example a
101
+ * crash-retried completion for an account that has since enrolled MFA) —
102
+ * the client then routes to the normal sign-in.
103
+ */
104
+ refreshToken?: string;
97
105
  };
98
106
  }