(id, options, method = jwtSign)
| 6 | const jwtVerify = Promise.promisify(jwt.verify) |
| 7 | |
| 8 | export const sign = (id, options, method = jwtSign) => |
| 9 | method({ id }, jwtSecret, options) |
| 10 | |
| 11 | export const signSync = (id, options) => sign(id, options, jwt.sign) |
| 12 |
no outgoing calls
no test coverage detected