[X] This issue is not a question, general help request, or anything other than a bug report directly related to Unkey. Please ask questions in our Discord community: https://unkey.dev/discord.
Reproduction / Replay Link (Optional)
No response
Issue Summary
When developing with the @unkey/hono package, the UnkeyContext does not contain the permissions which are provided. This makes developing with the package in typescript not as convenient.
The permissions data is there, only the type definition seems to be missing.
Steps to Reproduce
Add the @unkey/hono package to a hono project and set it up according to the docs.
Access the unkey var in the HonoContext.
See that there is no permission listed by the type and with that the typescript language server is not aware that there is a permission object.
Expected behavior
The permissions object should be there as a type.
Other information
Currently I am fixing this by defining my app like so:
Preliminary Checks
Reproduction / Replay Link (Optional)
No response
Issue Summary
When developing with the @unkey/hono package, the UnkeyContext does not contain the permissions which are provided. This makes developing with the package in typescript not as convenient.
The permissions data is there, only the type definition seems to be missing.
Steps to Reproduce
Expected behavior
The permissions object should be there as a type.
Other information
Currently I am fixing this by defining my app like so:
Screenshots
No response
Version info