@idp.global/interfaces 29.1.1 → 30.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,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-10-30 - 30.1.0
4
+
5
+ ### Features
6
+
7
+ - Add signed markPassportAlertSeenById so native dashboard clients acknowledge their own alerts by public ID while private push hint identifiers remain redacted.
8
+
9
+ ## 2026-10-07 - 30.0.0
10
+
11
+ ### Breaking Changes
12
+
13
+ - make smartmail an optional peer for devidp consumers (packaging)
14
+ - Move @push.rocks/smartmail from runtime dependencies to an optional peer and dev dependency
15
+ - Update @api.global/typedrequest-interfaces to ^7.1.0
16
+ - Add packaging tests to verify root exports do not pull in the devidp subpath or mail library
17
+ - Document the optional smartmail install requirement for devidp imports
18
+
19
+ ### Maintenance
20
+
21
+ - release tooling: pnpm 12.8.2, @git.zone/tsbuild ^5.1.2, @git.zone/tsdoc ^3.0.2, @git.zone/tstest ^7.2.0, @types/node 26.6.3
22
+
3
23
  ## 2026-10-01 - 29.1.1
4
24
 
5
25
  ### Fixes
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/interfaces',
6
- version: '29.1.1',
6
+ version: '30.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=
@@ -29,6 +29,16 @@ export interface IReq_MarkPassportAlertSeen extends plugins.typedRequestInterfac
29
29
  success: boolean;
30
30
  };
31
31
  }
32
+ /** Acknowledge a dashboard alert by public ID without exposing its private push hint. */
33
+ export interface IReq_MarkPassportAlertSeenById extends plugins.typedRequestInterfaces.implementsTR<plugins.typedRequestInterfaces.ITypedRequest, IReq_MarkPassportAlertSeenById> {
34
+ method: 'markPassportAlertSeenById';
35
+ request: IPassportDeviceSignedRequest & {
36
+ alertId: string;
37
+ };
38
+ response: {
39
+ success: boolean;
40
+ };
41
+ }
32
42
  export interface IReq_DismissPassportAlert extends plugins.typedRequestInterfaces.implementsTR<plugins.typedRequestInterfaces.ITypedRequest, IReq_DismissPassportAlert> {
33
43
  method: 'dismissPassportAlert';
34
44
  request: IPassportDeviceSignedRequest & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idp.global/interfaces",
3
- "version": "29.1.1",
3
+ "version": "30.1.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.",
6
6
  "exports": {
@@ -11,16 +11,24 @@
11
11
  "author": "Task Venture Capital GmbH",
12
12
  "license": "MIT",
13
13
  "dependencies": {
14
- "@api.global/typedrequest-interfaces": "^5.1.1",
15
- "@push.rocks/smartmail": "^3.0.0",
14
+ "@api.global/typedrequest-interfaces": "^7.1.0",
16
15
  "@tsclass/tsclass": "^9.5.1"
17
16
  },
17
+ "peerDependencies": {
18
+ "@push.rocks/smartmail": "^3.0.0"
19
+ },
20
+ "peerDependenciesMeta": {
21
+ "@push.rocks/smartmail": {
22
+ "optional": true
23
+ }
24
+ },
18
25
  "devDependencies": {
19
- "@git.zone/tsbuild": "^5.0.0",
20
- "@git.zone/tsdoc": "^3.0.0",
26
+ "@git.zone/tsbuild": "^5.1.2",
27
+ "@git.zone/tsdoc": "^3.0.2",
21
28
  "@git.zone/tsrun": "^3.0.2",
22
- "@git.zone/tstest": "^6.3.2",
23
- "@types/node": "26.6.2"
29
+ "@git.zone/tstest": "^7.2.0",
30
+ "@push.rocks/smartmail": "^3.0.0",
31
+ "@types/node": "26.6.3"
24
32
  },
25
33
  "files": [
26
34
  "ts/**/*",
package/readme.md CHANGED
@@ -14,6 +14,17 @@ For reporting bugs, issues, or security vulnerabilities, please visit [community
14
14
  pnpm add @idp.global/interfaces
15
15
  ```
16
16
 
17
+ The root export has no runtime dependencies beyond its type packages. The
18
+ `devidp` subpath validates persona e-mail addresses with
19
+ `@push.rocks/smartmail/validation`, which is an **optional peer**: an
20
+ application that imports `@idp.global/interfaces/devidp` installs it next to
21
+ this package, everybody else never receives a mail library through the
22
+ contracts.
23
+
24
+ ```bash
25
+ pnpm add @idp.global/interfaces @push.rocks/smartmail
26
+ ```
27
+
17
28
  ## Public API
18
29
 
19
30
  ```ts
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@idp.global/interfaces',
6
- version: '29.1.1',
6
+ version: '30.1.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the idp.global ecosystem.'
8
8
  }
@@ -45,6 +45,21 @@ export interface IReq_MarkPassportAlertSeen
45
45
  };
46
46
  }
47
47
 
48
+ /** Acknowledge a dashboard alert by public ID without exposing its private push hint. */
49
+ export interface IReq_MarkPassportAlertSeenById
50
+ extends plugins.typedRequestInterfaces.implementsTR<
51
+ plugins.typedRequestInterfaces.ITypedRequest,
52
+ IReq_MarkPassportAlertSeenById
53
+ > {
54
+ method: 'markPassportAlertSeenById';
55
+ request: IPassportDeviceSignedRequest & {
56
+ alertId: string;
57
+ };
58
+ response: {
59
+ success: boolean;
60
+ };
61
+ }
62
+
48
63
  export interface IReq_DismissPassportAlert
49
64
  extends plugins.typedRequestInterfaces.implementsTR<
50
65
  plugins.typedRequestInterfaces.ITypedRequest,