chore: lint
This commit is contained in:
+1
-1
@@ -43,6 +43,7 @@ import {
|
||||
} from '../Utils'
|
||||
import { makeMutex } from '../Utils/make-mutex'
|
||||
import processMessage from '../Utils/process-message'
|
||||
import { buildTcTokenFromJid } from '../Utils/tc-token-utils'
|
||||
import {
|
||||
type BinaryNode,
|
||||
getBinaryNodeChild,
|
||||
@@ -54,7 +55,6 @@ import {
|
||||
} from '../WABinary'
|
||||
import { USyncQuery, USyncUser } from '../WAUSync'
|
||||
import { makeSocket } from './socket.js'
|
||||
import { buildTcTokenFromJid } from '../Utils/tc-token-utils'
|
||||
const MAX_SYNC_ATTEMPTS = 2
|
||||
|
||||
export const makeChatsSocket = (config: SocketConfig) => {
|
||||
|
||||
@@ -75,6 +75,7 @@ export function makeCacheableSignalKeyStore(
|
||||
const item = fetched[id]
|
||||
if (item) {
|
||||
data[id] = item
|
||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
||||
await cache.set(getUniqueId(type, id), item as SignalDataTypeMap[keyof SignalDataTypeMap])
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { AuthenticationCreds, SignalKeyStoreWithTransaction } from '../Types'
|
||||
import type { SignalKeyStoreWithTransaction } from '../Types'
|
||||
import type { BinaryNode } from '../WABinary'
|
||||
|
||||
type TcTokenParams = {
|
||||
|
||||
Reference in New Issue
Block a user