@humanagencyp/hap-core 0.8.1 → 0.8.2
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/dist/index.d.mts +14 -0
- package/dist/index.d.ts +14 -0
- package/package.json +1 -1
- package/src/types.ts +15 -0
package/dist/index.d.mts
CHANGED
|
@@ -401,6 +401,20 @@ interface AgentProfile {
|
|
|
401
401
|
name?: string;
|
|
402
402
|
version: string;
|
|
403
403
|
description: string;
|
|
404
|
+
/**
|
|
405
|
+
* One line on what this version changed and why it matters to the person
|
|
406
|
+
* granting authority — written for them, not for a changelog.
|
|
407
|
+
*
|
|
408
|
+
* A grant pins the profile version it was signed against, so authorities
|
|
409
|
+
* issued before a newer version keep their old terms indefinitely and
|
|
410
|
+
* nothing prompts an upgrade. A version number alone does not motivate one:
|
|
411
|
+
* "email@0.4 → 0.5" says nothing, while "binds recipients, not only the
|
|
412
|
+
* message body" says what the older grant is not protecting.
|
|
413
|
+
*
|
|
414
|
+
* Belongs on the profile because the profile is what changed; a UI cannot
|
|
415
|
+
* know why 0.5 exists. Absent → surfaces show the version alone.
|
|
416
|
+
*/
|
|
417
|
+
whatsNew?: string;
|
|
404
418
|
/**
|
|
405
419
|
* v0.3 frame schema (deprecated, kept for backward compat).
|
|
406
420
|
* Used when boundsSchema is not present.
|
package/dist/index.d.ts
CHANGED
|
@@ -401,6 +401,20 @@ interface AgentProfile {
|
|
|
401
401
|
name?: string;
|
|
402
402
|
version: string;
|
|
403
403
|
description: string;
|
|
404
|
+
/**
|
|
405
|
+
* One line on what this version changed and why it matters to the person
|
|
406
|
+
* granting authority — written for them, not for a changelog.
|
|
407
|
+
*
|
|
408
|
+
* A grant pins the profile version it was signed against, so authorities
|
|
409
|
+
* issued before a newer version keep their old terms indefinitely and
|
|
410
|
+
* nothing prompts an upgrade. A version number alone does not motivate one:
|
|
411
|
+
* "email@0.4 → 0.5" says nothing, while "binds recipients, not only the
|
|
412
|
+
* message body" says what the older grant is not protecting.
|
|
413
|
+
*
|
|
414
|
+
* Belongs on the profile because the profile is what changed; a UI cannot
|
|
415
|
+
* know why 0.5 exists. Absent → surfaces show the version alone.
|
|
416
|
+
*/
|
|
417
|
+
whatsNew?: string;
|
|
404
418
|
/**
|
|
405
419
|
* v0.3 frame schema (deprecated, kept for backward compat).
|
|
406
420
|
* Used when boundsSchema is not present.
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -412,6 +412,21 @@ export interface AgentProfile {
|
|
|
412
412
|
version: string;
|
|
413
413
|
description: string;
|
|
414
414
|
|
|
415
|
+
/**
|
|
416
|
+
* One line on what this version changed and why it matters to the person
|
|
417
|
+
* granting authority — written for them, not for a changelog.
|
|
418
|
+
*
|
|
419
|
+
* A grant pins the profile version it was signed against, so authorities
|
|
420
|
+
* issued before a newer version keep their old terms indefinitely and
|
|
421
|
+
* nothing prompts an upgrade. A version number alone does not motivate one:
|
|
422
|
+
* "email@0.4 → 0.5" says nothing, while "binds recipients, not only the
|
|
423
|
+
* message body" says what the older grant is not protecting.
|
|
424
|
+
*
|
|
425
|
+
* Belongs on the profile because the profile is what changed; a UI cannot
|
|
426
|
+
* know why 0.5 exists. Absent → surfaces show the version alone.
|
|
427
|
+
*/
|
|
428
|
+
whatsNew?: string;
|
|
429
|
+
|
|
415
430
|
/**
|
|
416
431
|
* v0.3 frame schema (deprecated, kept for backward compat).
|
|
417
432
|
* Used when boundsSchema is not present.
|