fix: cannot send message on new Whatsapp Business limited accounts (#2080)

* fix: cannot send message on new Whatsapp Business limited accounts

* chore: add woraround to resend the message on 475 errors

* fix: lint

* fix: add handler

* fix: lint

* Update src/Socket/messages-send.ts

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
This commit is contained in:
Cassio Santos
2025-11-19 10:18:19 -03:00
committed by GitHub
parent 0145e4c710
commit 5c456e514e
7 changed files with 67 additions and 3 deletions
+1
View File
@@ -80,6 +80,7 @@ export type SignalDataTypeMap = {
'app-state-sync-version': LTHashState
'lid-mapping': string
'device-list': string[]
'contacts-tc-token': { token: Buffer; timestamp?: string }
}
export type SignalDataSet = { [T in keyof SignalDataTypeMap]?: { [id: string]: SignalDataTypeMap[T] | null } }