@kanonak-protocol/sdk 5.6.0 → 5.7.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.
@@ -26,6 +26,15 @@ export interface DeviceEnrollmentRecord {
26
26
  scopes: string[];
27
27
  /** A human-facing device label shown on the consent screen. */
28
28
  deviceName?: string;
29
+ /**
30
+ * The PUBLISHER the user connected/enrolled through (e.g. `paul.kanonak.com`).
31
+ * Enrollments are keyed by the AUTHORITY (e.g. `oauth--paul.kanonak.com`), but
32
+ * users only know the publisher — this records it so `device list`/`show`/
33
+ * `remove` can be publisher-centric (display it, and resolve a publisher to its
34
+ * enrollment locally without a network round-trip). Optional: records written
35
+ * before this field, or by a non-publisher enroll, won't carry it.
36
+ */
37
+ publisher?: string;
29
38
  }
30
39
  /**
31
40
  * The portion of a {@link DeviceEnrollmentRecord} kept in the platform-secure
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanonak-protocol/sdk",
3
- "version": "5.6.0",
3
+ "version": "5.7.0",
4
4
  "description": "TypeScript SDK for the Kanonak Protocol — parse, resolve, validate, reason over, and render .kan.yml packages.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -126,7 +126,7 @@
126
126
  ],
127
127
  "dependencies": {
128
128
  "@kanonak-protocol/canonical": "^0.1.1",
129
- "@kanonak-protocol/types": "^5.6.0",
129
+ "@kanonak-protocol/types": "^5.7.0",
130
130
  "ignore": "^7.0.5",
131
131
  "js-yaml": "^4.1.0",
132
132
  "yaml": "^2.7.0"