Skip to content

Commit ba32ef9

Browse files
authored
let's make the example working (#2017)
1 parent 4599ff8 commit ba32ef9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Example/example.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import makeWASocket, { AnyMessageContent, BinaryInfo, CacheStore, delay, Disconn
66
import open from 'open'
77
import fs from 'fs'
88
import P from 'pino'
9-
import { WAMHandler } from './wam'
109

1110
const logger = P({
1211
level: "trace",
@@ -65,8 +64,6 @@ const startSock = async() => {
6564
})
6665

6766

68-
const wam = new WAMHandler(sock, state)
69-
7067
// Pairing code for Web clients
7168
if (usePairingCode && !sock.authState.creds.registered) {
7269
// todo move to QR event

0 commit comments

Comments
 (0)