(value: string)
| 24 | * @returns The signed cookie value. |
| 25 | */ |
| 26 | export const sign = (value: string) => |
| 27 | 's:' + fastifyCookie.sign(value, COOKIE_SECRET); |
| 28 | |
| 29 | /** |
| 30 | * Unsigns a cookie value by removing the "s:" prefix and using the COOKIE_SECRET. |
no outgoing calls
no test coverage detected