@idp.global/interfaces 28.1.0 → 29.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 +9 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/tags/index.d.ts +1 -3
- package/package.json +1 -1
- package/readme.md +2 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/tags/index.ts +1 -3
package/changelog.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-08-02 - 29.0.0
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
|
|
7
|
+
- make backend-service tag payload credential-free (tags)
|
|
8
|
+
- Remove backendToken from the protected backend-service tag payload
|
|
9
|
+
- Change ITag_BackendService payload to Record<string, never>
|
|
10
|
+
- Clarify that backend tokens are only validated during registration and are not retained in connection tag state
|
|
11
|
+
|
|
3
12
|
## 2026-08-02 - 28.1.0
|
|
4
13
|
|
|
5
14
|
### Features
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@idp.global/interfaces',
|
|
6
|
-
version: '
|
|
6
|
+
version: '29.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=
|
package/dist_ts/tags/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
export interface ITag_BackendService extends plugins.typedRequestInterfaces.implementsTag<plugins.typedRequestInterfaces.ITag, ITag_BackendService> {
|
|
3
3
|
name: 'backend-service';
|
|
4
|
-
payload:
|
|
5
|
-
backendToken: string;
|
|
6
|
-
};
|
|
4
|
+
payload: Record<string, never>;
|
|
7
5
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -146,7 +146,8 @@ Backend TypedSocket clients authenticate the exact request peer with
|
|
|
146
146
|
token and success is exactly `{ registered: true }`. The idp.global handler
|
|
147
147
|
validates the token before resolving that peer and assigning the protected
|
|
148
148
|
backend-service role as server-owned connection state; clients do not set the
|
|
149
|
-
role tag themselves.
|
|
149
|
+
role tag themselves. The tag payload is exactly empty, so the backend token is
|
|
150
|
+
used only for validation and is never retained in connection tag state.
|
|
150
151
|
|
|
151
152
|
`transferTarget` is required both when a refresh token issues a transfer token
|
|
152
153
|
and when a transfer token is consumed. The server authorizes and canonicalizes
|
package/ts/00_commitinfo_data.ts
CHANGED