chore(): lint for trailing commas, fix tests with new types

This commit is contained in:
Tiago Siebler
2023-03-22 17:02:12 +00:00
parent 831689e857
commit e9972ef829
20 changed files with 86 additions and 85 deletions

View File

@@ -4,7 +4,7 @@ import { createHmac } from 'crypto';
export async function signMessage(
message: string,
secret: string,
method: 'hex' | 'base64'
method: 'hex' | 'base64',
): Promise<string> {
const hmac = createHmac('sha256', secret).update(message);