UNPKG

convex

Version:

Client for the Convex Cloud

11 lines 449 B
/** * Create a very basic JWT signature * * @param {Object} data - the data object you want to have signed * @param {string} secret - secret to use to sign token with * @param {Object} options - JWT header options * @return {string} JSON Web Token that has been signed */ declare function sign(data: Record<string, any>, secret: string, options?: Record<string, any>): string; export { sign as jwtEncode }; //# sourceMappingURL=index.d.ts.map