socket,config: deprecate printQRInTerminal option

This was done to reduce dependencies
This commit is contained in:
Rajeh Taher
2025-03-10 15:08:50 +02:00
parent e1aadc5546
commit 1c2af09b03
6 changed files with 8 additions and 30 deletions

View File

@@ -48,8 +48,10 @@ export type SocketConfig = {
browser: WABrowserDescription
/** agent used for fetch requests -- uploading/downloading media */
fetchAgent?: Agent
/** should the QR be printed in the terminal */
printQRInTerminal: boolean
/** should the QR be printed in the terminal
* @deprecated This feature has been removed
*/
printQRInTerminal?: boolean
/** should events be emitted for actions done by this socket connection */
emitOwnEvents: boolean
/** custom upload hosts to upload media to */