(time: number, date = Date.now())
| 9 | * the date in the future will be calculated from that date instead of now. |
| 10 | */ |
| 11 | export function fromDate(time: number, date = Date.now()) { |
| 12 | return new Date(date + time * 1000) |
| 13 | } |
| 14 | |
| 15 | export function hashToken(token: string, options: InternalOptions<"email">) { |
| 16 | const { provider, secret } = options |
no outgoing calls
no test coverage detected
searching dependent graphs…