@byok-sdk/core 0.10.1 → 0.11.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.
@@ -39,6 +39,7 @@ export interface TenantReadinessDevice {
39
39
  readonly deviceId: string;
40
40
  readonly productId: string;
41
41
  readonly deviceName: string;
42
+ /** Retained but invariant: revocation deletes the row, so this is never `true`. */
42
43
  readonly revoked: boolean;
43
44
  /** Omitted when absent/expired or when the durable device is revoked. */
44
45
  readonly presence?: TenantReadinessPresence;
@@ -47,6 +48,7 @@ export interface TenantReadinessDevice {
47
48
  export interface TenantReadiness {
48
49
  readonly tenantId: TenantId;
49
50
  readonly activePairedDeviceCount: number;
51
+ /** Retained but invariant: always 0, since a revoked device leaves no row to count. */
50
52
  readonly revokedDeviceCount: number;
51
53
  readonly observedPresenceCount: number;
52
54
  readonly observedPresenceByLevel: Readonly<Record<PresenceLevel, number>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byok-sdk/core",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "description": "BYOK SDK platform contracts: branded tenant identity, tenant-first store ports, device proof canonicalization, and the composition conformance reference",
5
5
  "type": "module",
6
6
  "license": "MIT",