chore: format

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei
2024-08-16 12:30:06 +08:00
parent 1bb4f6a72b
commit 817b81a983
178 changed files with 509 additions and 412 deletions

View File

@@ -1,11 +1,12 @@
import assert from 'node:assert'
import { createHmac, timingSafeEqual } from 'node:crypto'
import { EventEmitter } from 'node:events'
import { InvalidSignatureError } from './error'
import type { IncomingMessage, ServerResponse } from 'node:http'
import type { BusinessEvents } from './event.enum'
import type { ExtendedEventEmitter, GenericEvent } from './types'
import { InvalidSignatureError } from './error'
interface CreateHandlerOptions {
secret: string
// events?: 'all' | BusinessEvents[]