@kusinta/iot-schema 0.1.0-beta.11 → 0.1.0-beta.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kusinta/iot-schema",
3
- "version": "0.1.0-beta.11",
3
+ "version": "0.1.0-beta.12",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": ["src"],
@@ -67,6 +67,10 @@ export declare type AppTokenClaims = Message<"kusinta.iot.webrtc.v1.AppTokenClai
67
67
 
68
68
  /**
69
69
  * Custom claims.
70
+ * Carried in the JWT as the enum NAME string (e.g. "ROLE_PROPERTY_OWNER"),
71
+ * matching proto3 canonical JSON enum encoding — not the integer value.
72
+ * This keeps the claim self-describing and aligns with text-typed role
73
+ * storage in mykusinta-api-server.
70
74
  *
71
75
  * @generated from field: kusinta.iot.access.v1.Role role = 6;
72
76
  */