@idp.global/sdk 11.0.0 → 12.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,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-07-18 - 12.0.0
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
|
|
7
|
+
- adopt interfaces v20 current-user DTO for password auth results (server-client)
|
|
8
|
+
- Upgrade @idp.global/interfaces to ^20.0.1.
|
|
9
|
+
- Change IIdpPasswordAuthResult.user from IUser to ICurrentUserDto to match the privacy-safe whoIs response.
|
|
10
|
+
|
|
11
|
+
## 2026-07-18 - next
|
|
12
|
+
|
|
13
|
+
### Breaking Changes
|
|
14
|
+
|
|
15
|
+
- adopt `@idp.global/interfaces` 20 and type password-login identity data as the
|
|
16
|
+
privacy-safe `ICurrentUserDto` actually returned by `whoIs`, rather than the
|
|
17
|
+
persisted `IUser` shape that includes server-only credential fields
|
|
18
|
+
|
|
3
19
|
## 2026-07-16 - 11.0.0
|
|
4
20
|
|
|
5
21
|
### Breaking Changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@idp.global/sdk',
|
|
6
|
-
version: '
|
|
6
|
+
version: '12.0.0',
|
|
7
7
|
description: 'Reusable browser and server SDK for idp.global authentication.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxpQkFBaUI7SUFDdkIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLGdFQUFnRTtDQUM5RSxDQUFBIn0=
|
|
@@ -5,7 +5,7 @@ export interface IIdpGlobalServerClientOptions {
|
|
|
5
5
|
}
|
|
6
6
|
export declare const defaultIdpGlobalBaseUrl = "https://idp.global";
|
|
7
7
|
export interface IIdpPasswordAuthResult {
|
|
8
|
-
user: plugins.idpInterfaces.
|
|
8
|
+
user: plugins.idpInterfaces.dto.ICurrentUserDto;
|
|
9
9
|
jwt: string;
|
|
10
10
|
refreshToken: string;
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idp.global/sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Reusable browser and server SDK for idp.global authentication.",
|
|
6
6
|
"type": "module",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@api.global/typedrequest": "^3.3.2",
|
|
18
18
|
"@api.global/typedsocket": "^4.2.5",
|
|
19
|
-
"@idp.global/interfaces": "^
|
|
19
|
+
"@idp.global/interfaces": "^20.0.1",
|
|
20
20
|
"@push.rocks/smartdata": "^7.2.1",
|
|
21
21
|
"@push.rocks/smartjson": "^6.0.1",
|
|
22
22
|
"@push.rocks/smartpromise": "^4.2.4",
|
package/readme.md
CHANGED
|
@@ -294,7 +294,7 @@ The server export includes these TypeScript types:
|
|
|
294
294
|
| `IAuthenticateAccountOptions` | Input for `AccountAuthService.authenticate()`. |
|
|
295
295
|
| `IAuthenticatedAccountResult` | Successful auth result with account, auth source, and optional idp.global tokens. |
|
|
296
296
|
| `IIdpGlobalServerClientOptions` | Server client configuration with optional `baseUrl` and `backendToken`; defaults to `https://idp.global`. |
|
|
297
|
-
| `IIdpPasswordAuthResult` |
|
|
297
|
+
| `IIdpPasswordAuthResult` | Privacy-safe current-user DTO, JWT, and refresh-token result. |
|
|
298
298
|
|
|
299
299
|
## Runtime Notes
|
|
300
300
|
|
package/ts/00_commitinfo_data.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface IIdpGlobalServerClientOptions {
|
|
|
8
8
|
export const defaultIdpGlobalBaseUrl = 'https://idp.global';
|
|
9
9
|
|
|
10
10
|
export interface IIdpPasswordAuthResult {
|
|
11
|
-
user: plugins.idpInterfaces.
|
|
11
|
+
user: plugins.idpInterfaces.dto.ICurrentUserDto;
|
|
12
12
|
jwt: string;
|
|
13
13
|
refreshToken: string;
|
|
14
14
|
}
|