Updated the type definitions for JWT payloads to allow complex data structures, including arrays and objects, enabling greater flexibility in handling various use cases. This change modifies the type constraints in both the sign and verify functions from string | number to any.
Fixes https://github.com/elysiajs/elysia-jwt/issues/20
Updated the type definitions for JWT payloads to allow complex data structures, including arrays and objects, enabling greater flexibility in handling various use cases. This change modifies the type constraints in both the
sign
andverify
functions fromstring | number
toany
.