@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 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: '28.1.0',
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=
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idp.global/interfaces",
3
- "version": "28.1.0",
3
+ "version": "29.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
@@ -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
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/interfaces',
6
- version: '28.1.0',
6
+ version: '29.0.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
8
8
  }
package/ts/tags/index.ts CHANGED
@@ -6,7 +6,5 @@ export interface ITag_BackendService
6
6
  ITag_BackendService
7
7
  > {
8
8
  name: 'backend-service';
9
- payload: {
10
- backendToken: string;
11
- };
9
+ payload: Record<string, never>;
12
10
  }