(str: string)
| 8 | import { isInternalBuild } from 'src/capabilities/static.js' |
| 9 | |
| 10 | function hashString(str: string): string { |
| 11 | return createHash('sha256').update(str).digest('hex') |
| 12 | } |
| 13 | |
| 14 | // Cache last few API requests for ant users (e.g., for /issue command) |
| 15 | const MAX_CACHED_REQUESTS = 5 |