refactor: replace axios with fetch API and update related types (#1666)
This commit is contained in:
committed by
GitHub
parent
cfe7a2b2b3
commit
fb12f6d9d3
@@ -1,4 +1,3 @@
|
||||
import type { AxiosRequestConfig } from 'axios'
|
||||
import { proto } from '../../WAProto/index.js'
|
||||
import type {
|
||||
AuthenticationCreds,
|
||||
@@ -28,7 +27,7 @@ type ProcessMessageContext = {
|
||||
keyStore: SignalKeyStoreWithTransaction
|
||||
ev: BaileysEventEmitter
|
||||
logger?: ILogger
|
||||
options: AxiosRequestConfig<{}>
|
||||
options: RequestInit
|
||||
signalRepository: SignalRepositoryWithLIDStore
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user