{"_id":"@japofc/baileys","_rev":"30-c11999e531bd835b1f58a01acf924c34","name":"@japofc/baileys","dist-tags":{"new":"2.4.7-new","latest":"2.5.0"},"versions":{"2.4.7-new":{"name":"@japofc/baileys","version":"2.4.7-new","keywords":["anti-ban","automation","baileys","baileys-api","baileys-bot","baileys-esm","baileys-fork","baileys-fork-jap","baileys-javascript","baileys-js","baileys-library","baileys-md","baileys-multi-device","baileys-multidevice","baileys-node","baileys-nodejs","baileys-whatsapp","baileys-whatsapp-api","baileys-whatsapp-bot","bot-framework","buttons","chatbot","group-management","interactive-messages","jap","jap-baileys","jap-baileys-md","jap-whatsapp","japbaileys","japofc","multi-device","newsletter","sticker","termux","voip","whatsapp","whatsapp-api","whatsapp-api-baileys","whatsapp-automation","whatsapp-baileys","whatsapp-bot","whatsapp-bot-baileys","whatsapp-multi-device","whatsapp-web","whatsapp-web-baileys"],"author":{"name":"JAPofc"},"license":"MIT","_id":"@japofc/baileys@2.4.7-new","maintainers":[{"name":"japofc","email":"kielsahaz@gmail.com"}],"homepage":"https://github.com/JAPofc/baileys#readme","bugs":{"url":"https://github.com/JAPofc/baileys/issues"},"bin":{"japofc-baileys":"lib/cli.js"},"dist":{"shasum":"9d2ebdf02b38245eee6b0827f5029396e5dd3991","tarball":"https://registry.npmjs.org/@japofc/baileys/-/baileys-2.4.7-new.tgz","fileCount":615,"integrity":"sha512-XxFJIcq0/PUvkR/HAhXsJ4SPU83nK95K62ivSKENxLFe/xYzpDsFW/d5igDUHXRZ1U2FcdseOBs+YIrpoTOExQ==","signatures":[{"sig":"MEUCIBoVPx/kEd5nNomLdiKwDXQBln5AWNyhNDVvXMi08MuVAiEAsWl4YmjNJjcQwdLW8Yg4Ns5WRNLu6UWP/2Q3ZumcCtw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDkBy7Lbj18t2mPz9ZBytlpwc/7JucDdufYCo1rwLBt3AiANTslmcRhK9jgsu47Sj4W3HGm9pqM+u1MyUkUyTfMMow==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26914759},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"},"./lib/*":{"types":"./lib/*.d.ts","import":"./lib/*.js","default":"./lib/*.js"},"./WAProto":{"types":"./WAProto/index.d.ts","import":"./WAProto/index.js","default":"./WAProto/index.js"},"./lib/*.js":{"types":"./lib/*.d.ts","import":"./lib/*.js","default":"./lib/*.js"},"./WAProto/*":{"types":"./WAProto/*.d.ts","import":"./WAProto/*.js","default":"./WAProto/*.js"},"./WAProto/*.js":{"types":"./WAProto/*.d.ts","import":"./WAProto/*.js","default":"./WAProto/*.js"},"./package.json":"./package.json"},"gitHead":"ceec6b2d80b8f3269163a703a1f8aa579a1d71ee","scripts":{"test":"node --test","wa:check":"node lib/cli.js wa","test:types":"tsc -p tests/tscheck/tsconfig.json","release:check":"npm test && npm run test:types && npm audit && npm pack --dry-run","voip:fetch-wasm":"node --experimental-websocket ./scripts/fetch-wasm-resources.mjs","capture:protocol":"node examples/protocol-capture-bot.js","voip:verify-wasm":"CALL_WASM_FETCH_MODE=pinned node ./scripts/fetch-wasm-resources.mjs"},"_npmUser":{"name":"japofc","email":"kielsahaz@gmail.com"},"repository":{"url":"git+https://github.com/JAPofc/baileys.git","type":"git"},"_npmVersion":"11.17.0","description":"Feature-rich WhatsApp Multi-Device library for Node.js — interactive messages, native flows, polls, newsletters, VoIP, mini-apps and everyday bot utilities.","directories":{},"resolutions":{"tar":"^7.5.11","tmp":"^0.2.5","socks":"^2.8.8","flatted":"^3.4.2","basic-ftp":"^5.2.4","handlebars":"^4.7.9","ip-address":"^10.1.1","underscore":"^1.13.8","markdown-it":"^14.1.1","ajv@npm:^6.12.4":"^6.14.0","yaml@npm:^2.6.1":"^2.8.4","glob@npm:^10.2.2":"^10.5.0","glob@npm:^10.5.0":"^10.5.0","glob@npm:^10.3.10":"^10.5.0","js-yaml@npm:^4.1.0":"^4.1.1","js-yaml@npm:^3.13.1":"^3.14.2","minimatch@npm:^3.0.4":"^3.1.5","minimatch@npm:^3.1.2":"^3.1.5","minimatch@npm:^5.0.1":"^5.1.8","minimatch@npm:^9.0.4":"^9.0.9","minimatch@npm:^9.0.5":"^9.0.9","picomatch@npm:^2.0.4":"^2.3.2","picomatch@npm:^2.3.1":"^2.3.2","picomatch@npm:^4.0.0":"^4.0.4","picomatch@npm:^4.0.2":"^4.0.4","brace-expansion@npm:^1.1.7":"^1.1.13","brace-expansion@npm:^2.0.1":"^2.0.3"},"_nodeVersion":"26.3.1","dependencies":{"ws":"^8.22.0","jimp":"^1.6.1","long":"^5.3.2","pino":"^10.3.1","fflate":"^0.8.3","p-queue":"^9.3.3","libsignal":"^6.0.0","lru-cache":"^11.5.3","@hapi/boom":"^10.0.1","protobufjs":"^8.8.0","async-mutex":"^0.5.0","music-metadata":"^11.16.1","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"^3.0.1"},"_hasShrinkwrap":false,"packageManager":"npm@10.8.2","devDependencies":{"jsqr":"^1.4.0","typedoc":"^0.28.20","typescript":"6.0.x","@types/node":"^26.6.3"},"peerDependencies":{"pg":"^8.13.0","axios":"*","sharp":"*","mysql2":"^3.11.0","ioredis":">=5.4.1 <7","mongodb":">=6.10.0 <8","@roamhq/wrtc":"*","audio-decode":">=2.2.3 <4","ffmpeg-static":">=5.0.0","fluent-ffmpeg":"^2.1.3","@napi-rs/image":">=1.12.0 <2","better-sqlite3":">=11.0.0 <13","link-preview-js":">=3.0.0 <5","@ffmpeg-installer/ffmpeg":">=1.1.0"},"optionalDependencies":{"whatsapp-rust-bridge":"0.5.5"},"peerDependenciesMeta":{"pg":{"optional":true},"axios":{"optional":true},"sharp":{"optional":true},"mysql2":{"optional":true},"ioredis":{"optional":true},"mongodb":{"optional":true},"@roamhq/wrtc":{"optional":true},"audio-decode":{"optional":true},"ffmpeg-static":{"optional":true},"fluent-ffmpeg":{"optional":true},"@napi-rs/image":{"optional":true},"better-sqlite3":{"optional":true},"link-preview-js":{"optional":true},"@ffmpeg-installer/ffmpeg":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/baileys_2.4.7-new_1790894395926_0.1453302283831841","host":"s3://npm-registry-packages-npm-production"}},"2.4.8":{"name":"@japofc/baileys","version":"2.4.8","keywords":["anti-ban","automation","baileys","baileys-api","baileys-bot","baileys-esm","baileys-fork","baileys-fork-jap","baileys-javascript","baileys-js","baileys-library","baileys-md","baileys-multi-device","baileys-multidevice","baileys-node","baileys-nodejs","baileys-whatsapp","baileys-whatsapp-api","baileys-whatsapp-bot","bot-framework","buttons","chatbot","group-management","interactive-messages","jap","jap-baileys","jap-baileys-md","jap-whatsapp","japbaileys","japofc","multi-device","newsletter","sticker","termux","voip","whatsapp","whatsapp-api","whatsapp-api-baileys","whatsapp-automation","whatsapp-baileys","whatsapp-bot","whatsapp-bot-baileys","whatsapp-multi-device","whatsapp-web","whatsapp-web-baileys"],"author":{"name":"JAPofc"},"license":"GPL-3.0-or-later","_id":"@japofc/baileys@2.4.8","maintainers":[{"name":"japofc","email":"kielsahaz@gmail.com"}],"homepage":"https://github.com/JAPofc/baileys#readme","bugs":{"url":"https://github.com/JAPofc/baileys/issues"},"bin":{"japofc-baileys":"lib/cli.js"},"dist":{"shasum":"35590acf2952fe05158e1d3958fce063bd2ed889","tarball":"https://registry.npmjs.org/@japofc/baileys/-/baileys-2.4.8.tgz","fileCount":659,"integrity":"sha512-kXYL3hxyYQXk7ADqNCi8hW5WaVFPE8jtXwPWtpwYGK66GsGM6u1fpcaAAckLgRBgsV5vZEIWLxbgWjERoK14XA==","signatures":[{"sig":"MEQCICarxOmFmXn/VGbYB/2NYTrXNIIWvnOoI7yK+74ahXEsAiAL99rFH4mVPkD4NwxItiHWankNg1NoAMrK8ZMnPE2Nbg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIFFPJbSEhMhlwp1r71cwn2QRY42bhpyxHmdqMuc6HXWyAiEAlz6peua46q2bhnWTMiTg2wftfEcGDLpVcrSv/aqdcHg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@japofc%2fbaileys@2.4.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26597999},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"},"./lib/*":{"types":"./lib/*.d.ts","import":"./lib/*.js","default":"./lib/*.js"},"./WAProto":{"types":"./WAProto/index.d.ts","import":"./WAProto/index.js","default":"./WAProto/index.js"},"./lib/*.js":{"types":"./lib/*.d.ts","import":"./lib/*.js","default":"./lib/*.js"},"./WAProto/*":{"types":"./WAProto/*.d.ts","import":"./WAProto/*.js","default":"./WAProto/*.js"},"./WAProto/*.js":{"types":"./WAProto/*.d.ts","import":"./WAProto/*.js","default":"./WAProto/*.js"},"./package.json":"./package.json"},"gitHead":"e8f5e26e6ae89d7714fa51e266b9a35e0da86568","scripts":{"test":"node --test","wa:check":"node lib/cli.js wa","test:types":"tsc -p tests/tscheck/tsconfig.json","release:check":"npm test && npm run test:types && npm audit && npm pack --dry-run","voip:fetch-wasm":"node --experimental-websocket ./scripts/fetch-wasm-resources.mjs","capture:protocol":"node examples/protocol-capture-bot.js","voip:verify-wasm":"CALL_WASM_FETCH_MODE=pinned node ./scripts/fetch-wasm-resources.mjs"},"_npmUser":{"name":"japofc","email":"kielsahaz@gmail.com"},"repository":{"url":"git+https://github.com/JAPofc/baileys.git","type":"git"},"_npmVersion":"10.9.9","description":"Feature-rich WhatsApp Multi-Device library for Node.js — interactive messages, native flows, polls, newsletters, VoIP, mini-apps and everyday bot utilities.","directories":{},"resolutions":{"tar":"^7.5.11","tmp":"^0.2.5","socks":"^2.8.8","flatted":"^3.4.2","basic-ftp":"^5.2.4","handlebars":"^4.7.9","ip-address":"^10.1.1","underscore":"^1.13.8","markdown-it":"^14.1.1","ajv@npm:^6.12.4":"^6.14.0","yaml@npm:^2.6.1":"^2.8.4","glob@npm:^10.2.2":"^10.5.0","glob@npm:^10.5.0":"^10.5.0","glob@npm:^10.3.10":"^10.5.0","js-yaml@npm:^4.1.0":"^4.1.1","js-yaml@npm:^3.13.1":"^3.14.2","minimatch@npm:^3.0.4":"^3.1.5","minimatch@npm:^3.1.2":"^3.1.5","minimatch@npm:^5.0.1":"^5.1.8","minimatch@npm:^9.0.4":"^9.0.9","minimatch@npm:^9.0.5":"^9.0.9","picomatch@npm:^2.0.4":"^2.3.2","picomatch@npm:^2.3.1":"^2.3.2","picomatch@npm:^4.0.0":"^4.0.4","picomatch@npm:^4.0.2":"^4.0.4","brace-expansion@npm:^1.1.7":"^1.1.13","brace-expansion@npm:^2.0.1":"^2.0.3"},"_nodeVersion":"22.23.4","dependencies":{"ws":"^8.22.0","jimp":"^1.6.1","long":"^5.3.2","fflate":"^0.8.3","p-queue":"^9.3.3","libsignal":"^6.0.0","lru-cache":"^11.5.3","@hapi/boom":"^10.0.1","protobufjs":"^8.8.0","async-mutex":"^0.5.0","music-metadata":"^11.16.1","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"^3.0.1"},"_hasShrinkwrap":false,"packageManager":"npm@10.8.2","devDependencies":{"jsqr":"^1.4.0","pino":"^10.3.1","typedoc":"^0.28.20","typescript":"6.0.x","@types/node":"^26.6.3"},"peerDependencies":{"pg":"^8.13.0","pino":"^8 || ^9 || ^10","axios":"*","sharp":">=0.35.5","mysql2":"^3.11.0","ioredis":">=5.4.1 <7","mongodb":">=6.10.0 <8","@roamhq/wrtc":"*","audio-decode":">=2.2.3 <4","ffmpeg-static":">=5.0.0","fluent-ffmpeg":"^2.1.3","@napi-rs/image":">=1.12.0 <2","better-sqlite3":">=11.0.0 <13","link-preview-js":">=3.0.0 <5","@ffmpeg-installer/ffmpeg":">=1.1.0"},"optionalDependencies":{"whatsapp-rust-bridge":"0.5.5"},"peerDependenciesMeta":{"pg":{"optional":true},"pino":{"optional":true},"axios":{"optional":true},"sharp":{"optional":true},"mysql2":{"optional":true},"ioredis":{"optional":true},"mongodb":{"optional":true},"@roamhq/wrtc":{"optional":true},"audio-decode":{"optional":true},"ffmpeg-static":{"optional":true},"fluent-ffmpeg":{"optional":true},"@napi-rs/image":{"optional":true},"better-sqlite3":{"optional":true},"link-preview-js":{"optional":true},"@ffmpeg-installer/ffmpeg":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/baileys_2.4.8_1794862059688_0.8171610600503504","host":"s3://npm-registry-packages-npm-production"}},"2.4.9":{"name":"@japofc/baileys","version":"2.4.9","keywords":["anti-ban","automation","baileys","baileys-api","baileys-bot","baileys-esm","baileys-fork","baileys-fork-jap","baileys-javascript","baileys-js","baileys-library","baileys-md","baileys-multi-device","baileys-multidevice","baileys-node","baileys-nodejs","baileys-whatsapp","baileys-whatsapp-api","baileys-whatsapp-bot","bot-framework","buttons","chatbot","group-management","interactive-messages","jap","jap-baileys","jap-baileys-md","jap-whatsapp","japbaileys","japofc","multi-device","newsletter","sticker","termux","voip","whatsapp","whatsapp-api","whatsapp-api-baileys","whatsapp-automation","whatsapp-baileys","whatsapp-bot","whatsapp-bot-baileys","whatsapp-multi-device","whatsapp-web","whatsapp-web-baileys"],"author":{"name":"JAPofc"},"license":"GPL-3.0-or-later","_id":"@japofc/baileys@2.4.9","maintainers":[{"name":"japofc","email":"kielsahaz@gmail.com"}],"homepage":"https://github.com/JAPofc/baileys#readme","bugs":{"url":"https://github.com/JAPofc/baileys/issues"},"bin":{"japofc-baileys":"lib/cli.js"},"dist":{"shasum":"17bf82d57d4b6f9a9a961274f67a9953fd55cd72","tarball":"https://registry.npmjs.org/@japofc/baileys/-/baileys-2.4.9.tgz","fileCount":696,"integrity":"sha512-z4ETMxsUwBKko+V4kXXI9EotLD8WoLH8/92oldjUbZZyGdVwpP2fSCcEpSaORP4xm2QCpExfzhSXzXtFXvuKKg==","signatures":[{"sig":"MEUCIEhGn44rO4/7FOY2Uu2wGygJiS9EAPDmXCpAdZ4BMhN0AiEA/KfOpLMFrHqA7B/UcqXo0v5ubi4VLFXUcWUP4jc99l0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCny1AgLx3W1qIBuBft8fqDejowD3tHbNkNuifa/sZi3QIhAMA3j5+iWQlDJOQVJobl1RwfQ/lJrvbUYuZcg4QLjb0D","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@japofc%2fbaileys@2.4.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26758881},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"},"./lib/*":{"types":"./lib/*.d.ts","import":"./lib/*.js","default":"./lib/*.js"},"./WAProto":{"types":"./WAProto/index.d.ts","import":"./WAProto/index.js","default":"./WAProto/index.js"},"./lib/*.js":{"types":"./lib/*.d.ts","import":"./lib/*.js","default":"./lib/*.js"},"./WAProto/*":{"types":"./WAProto/*.d.ts","import":"./WAProto/*.js","default":"./WAProto/*.js"},"./WAProto/*.js":{"types":"./WAProto/*.d.ts","import":"./WAProto/*.js","default":"./WAProto/*.js"},"./package.json":"./package.json"},"gitHead":"cba29b05b4fbad160a3121758e59c2cefdab0da4","scripts":{"test":"node --test","wa:check":"node lib/cli.js wa","test:types":"tsc -p tests/tscheck/tsconfig.json","release:check":"npm test && npm run test:types && npm audit && npm pack --dry-run","voip:fetch-wasm":"node --experimental-websocket ./scripts/fetch-wasm-resources.mjs","capture:protocol":"node examples/protocol-capture-bot.js","voip:verify-wasm":"CALL_WASM_FETCH_MODE=pinned node ./scripts/fetch-wasm-resources.mjs"},"_npmUser":{"name":"japofc","email":"kielsahaz@gmail.com"},"overrides":{"zod":"^4.6.6"},"repository":{"url":"git+https://github.com/JAPofc/baileys.git","type":"git"},"_npmVersion":"10.9.9","description":"Feature-rich WhatsApp Multi-Device library for Node.js — interactive messages, native flows, polls, newsletters, VoIP, mini-apps and everyday bot utilities.","directories":{},"resolutions":{"tar":"^7.5.11","tmp":"^0.2.5","socks":"^2.8.8","flatted":"^3.4.2","basic-ftp":"^5.2.4","handlebars":"^4.7.9","ip-address":"^10.1.1","underscore":"^1.13.8","markdown-it":"^14.1.1","ajv@npm:^6.12.4":"^6.14.0","yaml@npm:^2.6.1":"^2.8.4","glob@npm:^10.2.2":"^10.5.0","glob@npm:^10.5.0":"^10.5.0","glob@npm:^10.3.10":"^10.5.0","js-yaml@npm:^4.1.0":"^4.1.1","js-yaml@npm:^3.13.1":"^3.14.2","minimatch@npm:^3.0.4":"^3.1.5","minimatch@npm:^3.1.2":"^3.1.5","minimatch@npm:^5.0.1":"^5.1.8","minimatch@npm:^9.0.4":"^9.0.9","minimatch@npm:^9.0.5":"^9.0.9","picomatch@npm:^2.0.4":"^2.3.2","picomatch@npm:^2.3.1":"^2.3.2","picomatch@npm:^4.0.0":"^4.0.4","picomatch@npm:^4.0.2":"^4.0.4","brace-expansion@npm:^1.1.7":"^1.1.13","brace-expansion@npm:^2.0.1":"^2.0.3"},"_nodeVersion":"22.23.4","dependencies":{"ws":"^8.22.0","jimp":"^1.6.1","long":"^5.3.2","fflate":"^0.8.3","p-queue":"^9.3.3","libsignal":"^6.0.0","lru-cache":"^11.5.3","@hapi/boom":"^10.0.1","protobufjs":"^8.8.0","async-mutex":"^0.5.0","music-metadata":"^11.16.1","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"^3.0.1"},"_hasShrinkwrap":false,"packageManager":"npm@10.8.2","devDependencies":{"jsqr":"^1.4.0","pino":"^10.3.1","typedoc":"^0.28.20","typescript":"6.0.x","@types/node":"^26.6.3"},"peerDependencies":{"pg":"^8.13.0","pino":"^8 || ^9 || ^10","axios":"*","sharp":">=0.35.5","mysql2":"^3.11.0","ioredis":">=5.4.1 <7","mongodb":">=6.10.0 <8","@roamhq/wrtc":"*","audio-decode":">=2.2.3 <4","ffmpeg-static":">=5.0.0","fluent-ffmpeg":"^2.1.3","@napi-rs/image":">=1.12.0 <2","better-sqlite3":">=11.0.0 <13","@ffmpeg-installer/ffmpeg":">=1.1.0"},"optionalDependencies":{"whatsapp-rust-bridge":"0.5.5"},"peerDependenciesMeta":{"pg":{"optional":true},"pino":{"optional":true},"axios":{"optional":true},"sharp":{"optional":true},"mysql2":{"optional":true},"ioredis":{"optional":true},"mongodb":{"optional":true},"@roamhq/wrtc":{"optional":true},"audio-decode":{"optional":true},"ffmpeg-static":{"optional":true},"fluent-ffmpeg":{"optional":true},"@napi-rs/image":{"optional":true},"better-sqlite3":{"optional":true},"link-preview-js":{"optional":true},"@ffmpeg-installer/ffmpeg":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/baileys_2.4.9_1795020311642_0.3763992326387905","host":"s3://npm-registry-packages-npm-production"}},"2.5.0":{"_id":"@japofc/baileys@2.5.0","bin":{"japofc-baileys":"lib/cli.js"},"bugs":{"url":"https://github.com/JAPofc/baileys/issues"},"dist":{"shasum":"64123d12c62fd901a887832c7d183593f4babfca","tarball":"https://registry.npmjs.org/@japofc/baileys/-/baileys-2.5.0.tgz","fileCount":711,"integrity":"sha512-MrVKvbjgEkWOfNb6BeAVjQkziY1YPiuaz1ouaD3Oo8dDZZzbhqDsEbccKjon5pfvKljvtcw3xbCFSmfwzL+rXQ==","signatures":[{"sig":"MEQCIDJYowHbA3cn2jPMipiM7frkTdt3bnykd0ZkYyYSwHruAiASLdqo5LAlZTgSCRLZnmw05KjHfNND/Wd3Kd420z9yiw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEBkDAMY1y1RiYwn5dRvFqv/HeBBOlEfv7GoAUBx91VGAiEA5Mgojy6WFvl96Pyk7bTrig0WZOqTr6LRguacxZUonGs="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@japofc%2fbaileys@2.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26984837},"main":"./lib/index.js","name":"@japofc/baileys","type":"module","types":"./lib/index.d.ts","author":{"name":"JAPofc"},"module":"./lib/index.js","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"},"./lib/*":{"types":"./lib/*.d.ts","import":"./lib/*.js","default":"./lib/*.js"},"./WAProto":{"types":"./WAProto/index.d.ts","import":"./WAProto/index.js","default":"./WAProto/index.js"},"./lib/*.js":{"types":"./lib/*.d.ts","import":"./lib/*.js","default":"./lib/*.js"},"./WAProto/*":{"types":"./WAProto/*.d.ts","import":"./WAProto/*.js","default":"./WAProto/*.js"},"./WAProto/*.js":{"types":"./WAProto/*.d.ts","import":"./WAProto/*.js","default":"./WAProto/*.js"},"./package.json":"./package.json"},"gitHead":"4102254c5084c40715c8ed78f29e876b743a0e8d","license":"GPL-3.0-or-later","scripts":{"test":"node --test","wa:check":"node lib/cli.js wa","test:types":"tsc -p tests/tscheck/tsconfig.json","release:check":"npm test && npm run test:types && npm audit --audit-level=high && npm pack --dry-run","provenance:scan":"node ./scripts/provenance-scan.mjs","voip:fetch-wasm":"node --experimental-websocket ./scripts/fetch-wasm-resources.mjs","capture:protocol":"node examples/protocol-capture-bot.js","voip:verify-wasm":"CALL_WASM_FETCH_MODE=pinned node ./scripts/fetch-wasm-resources.mjs","provenance:manifest":"node ./scripts/provenance-manifest.mjs"},"version":"2.5.0","_npmUser":{"name":"japofc","email":"kielsahaz@gmail.com"},"homepage":"https://github.com/JAPofc/baileys#readme","keywords":["anti-ban","automation","baileys","baileys-api","baileys-bot","baileys-esm","baileys-fork","baileys-fork-jap","baileys-javascript","baileys-js","baileys-library","baileys-md","baileys-multi-device","baileys-multidevice","baileys-node","baileys-nodejs","baileys-whatsapp","baileys-whatsapp-api","baileys-whatsapp-bot","bot-framework","buttons","chatbot","group-management","interactive-messages","jap","jap-baileys","jap-baileys-md","jap-whatsapp","japbaileys","japofc","multi-device","newsletter","sticker","termux","voip","whatsapp","whatsapp-api","whatsapp-api-baileys","whatsapp-automation","whatsapp-baileys","whatsapp-bot","whatsapp-bot-baileys","whatsapp-multi-device","whatsapp-web","whatsapp-web-baileys"],"overrides":{"zod":"^4.6.6"},"repository":{"url":"git+https://github.com/JAPofc/baileys.git","type":"git"},"_npmVersion":"10.9.9","description":"Feature-rich WhatsApp Multi-Device library for Node.js — interactive messages, native flows, polls, newsletters, VoIP, mini-apps and everyday bot utilities.","directories":{},"maintainers":[{"name":"japofc","email":"kielsahaz@gmail.com"}],"resolutions":{"tar":"^7.5.11","tmp":"^0.2.5","socks":"^2.8.8","flatted":"^3.4.2","basic-ftp":"^5.2.4","handlebars":"^4.7.9","ip-address":"^10.1.1","underscore":"^1.13.8","markdown-it":"^14.1.1","ajv@npm:^6.12.4":"^6.14.0","yaml@npm:^2.6.1":"^2.8.4","glob@npm:^10.2.2":"^10.5.0","glob@npm:^10.5.0":"^10.5.0","glob@npm:^10.3.10":"^10.5.0","js-yaml@npm:^4.1.0":"^4.1.1","js-yaml@npm:^3.13.1":"^3.14.2","minimatch@npm:^3.0.4":"^3.1.5","minimatch@npm:^3.1.2":"^3.1.5","minimatch@npm:^5.0.1":"^5.1.8","minimatch@npm:^9.0.4":"^9.0.9","minimatch@npm:^9.0.5":"^9.0.9","picomatch@npm:^2.0.4":"^2.3.2","picomatch@npm:^2.3.1":"^2.3.2","picomatch@npm:^4.0.0":"^4.0.4","picomatch@npm:^4.0.2":"^4.0.4","brace-expansion@npm:^1.1.7":"^1.1.13","brace-expansion@npm:^2.0.1":"^2.0.3"},"_nodeVersion":"22.23.5","dependencies":{"ws":"^8.22.0","jimp":"^1.6.1","long":"^5.3.2","fflate":"^0.8.3","p-queue":"^9.3.3","libsignal":"^6.0.0","lru-cache":"^11.5.3","@hapi/boom":"^10.0.1","protobufjs":"^8.8.0","async-mutex":"^0.5.0","music-metadata":"^11.16.1","@adiwajshing/keyed-db":"^0.2.4","@cacheable/node-cache":"^3.0.1"},"_hasShrinkwrap":false,"packageManager":"npm@10.8.2","devDependencies":{"jsqr":"^1.4.0","pino":"^10.3.1","typedoc":"^0.28.20","typescript":"6.0.x","@types/node":"^26.6.6","audio-decode":"^3.12.0","ffmpeg-static":"^5.3.0"},"peerDependencies":{"pg":"^8.13.0","pino":"^8 || ^9 || ^10","axios":"*","sharp":">=0.35.5","mysql2":"^3.11.0","ioredis":">=5.4.1 <7","mongodb":">=6.10.0 <8","@roamhq/wrtc":"*","audio-decode":">=2.2.3 <4","ffmpeg-static":">=5.0.0","fluent-ffmpeg":"^2.1.3","@napi-rs/image":">=1.12.0 <2","better-sqlite3":">=11.0.0 <13","@ffmpeg-installer/ffmpeg":">=1.1.0"},"optionalDependencies":{"whatsapp-rust-bridge":"0.5.5"},"peerDependenciesMeta":{"pg":{"optional":true},"pino":{"optional":true},"axios":{"optional":true},"sharp":{"optional":true},"mysql2":{"optional":true},"ioredis":{"optional":true},"mongodb":{"optional":true},"@roamhq/wrtc":{"optional":true},"audio-decode":{"optional":true},"ffmpeg-static":{"optional":true},"fluent-ffmpeg":{"optional":true},"@napi-rs/image":{"optional":true},"better-sqlite3":{"optional":true},"link-preview-js":{"optional":true},"@ffmpeg-installer/ffmpeg":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/baileys_2.5.0_1795162508183_0.8970767158729682"}}},"time":{"created":"2026-09-11T07:47:48.693Z","modified":"2026-11-20T08:15:08.755Z","2.0.1":"2026-09-11T01:28:22.115Z","2.1.0":"2026-09-11T07:47:49.064Z","2.2.0":"2026-09-11T10:10:51.647Z","2.3.0":"2026-09-11T22:25:10.858Z","2.4.0":"2026-09-12T09:55:38.821Z","2.4.1":"2026-09-17T08:59:51.527Z","2.4.2":"2026-09-24T13:15:29.191Z","2.4.3":"2026-09-28T12:02:30.456Z","2.4.4":"2026-09-28T20:07:35.150Z","2.4.5":"2026-09-29T10:21:39.265Z","2.4.6":"2026-09-30T14:24:54.827Z","2.4.7":"2026-10-01T22:18:03.673Z","2.4.7-new":"2026-10-01T22:39:56.135Z","2.4.8":"2026-11-16T20:47:39.995Z","2.4.9":"2026-11-18T16:45:11.868Z","2.5.0":"2026-11-20T08:15:08.378Z"},"bugs":{"url":"https://github.com/JAPofc/baileys/issues"},"author":{"name":"JAPofc"},"license":"GPL-3.0-or-later","homepage":"https://github.com/JAPofc/baileys#readme","keywords":["anti-ban","automation","baileys","baileys-api","baileys-bot","baileys-esm","baileys-fork","baileys-fork-jap","baileys-javascript","baileys-js","baileys-library","baileys-md","baileys-multi-device","baileys-multidevice","baileys-node","baileys-nodejs","baileys-whatsapp","baileys-whatsapp-api","baileys-whatsapp-bot","bot-framework","buttons","chatbot","group-management","interactive-messages","jap","jap-baileys","jap-baileys-md","jap-whatsapp","japbaileys","japofc","multi-device","newsletter","sticker","termux","voip","whatsapp","whatsapp-api","whatsapp-api-baileys","whatsapp-automation","whatsapp-baileys","whatsapp-bot","whatsapp-bot-baileys","whatsapp-multi-device","whatsapp-web","whatsapp-web-baileys"],"repository":{"url":"git+https://github.com/JAPofc/baileys.git","type":"git"},"description":"Feature-rich WhatsApp Multi-Device library for Node.js — interactive messages, native flows, polls, newsletters, VoIP, mini-apps and everyday bot utilities.","maintainers":[{"name":"japofc","email":"kielsahaz@gmail.com"}],"readme":"<div align=\"center\" id=\"top\">\n\n<img src=\"./Media/japofc-logo.png\" width=\"140\" alt=\"JAPofc logo\" />\n\n# @japofc/baileys\n\n### ⚡ The maintained WhatsApp Web API for Node.js\n\n<em>Typed ESM&nbsp;·&nbsp;always-current WA&nbsp;Web versioning&nbsp;·&nbsp;protocol-safe tooling&nbsp;·&nbsp;140+ production bot utilities</em>\n\n<br/>\n\n<!-- identity -->\n<p>\n<a href=\"https://www.npmjs.com/package/@japofc/baileys\"><img src=\"https://img.shields.io/npm/v/@japofc/baileys?color=25D366&label=npm&logo=npm&logoColor=white&style=for-the-badge\" alt=\"npm version\" /></a>\n<a href=\"https://www.npmjs.com/package/@japofc/baileys\"><img src=\"https://img.shields.io/npm/dt/@japofc/baileys?color=128C7E&label=downloads&logo=npm&logoColor=white&style=for-the-badge\" alt=\"npm downloads\" /></a>\n<a href=\"./LICENSE\"><img src=\"https://img.shields.io/badge/license-GPL--3.0--or--later-555?style=for-the-badge\" alt=\"GPL-3.0-or-later license\" /></a>\n</p>\n\n<!-- quality -->\n<p>\n<img src=\"https://img.shields.io/badge/node-%E2%89%A5%2020-3C873A?style=flat-square&logo=node.js&logoColor=white\" alt=\"Node >=20\" />\n<img src=\"https://img.shields.io/badge/module-ESM-F7DF1E?style=flat-square&logo=javascript&logoColor=black\" alt=\"ESM only\" />\n<img src=\"https://img.shields.io/badge/types-bundled%20.d.ts-3178C6?style=flat-square&logo=typescript&logoColor=white\" alt=\"TypeScript types\" />\n<img src=\"https://img.shields.io/badge/tests-1973%20passing-2ecc71?style=flat-square&logo=nodedotjs&logoColor=white\" alt=\"tests passing\" />\n<img src=\"https://img.shields.io/badge/audit-0%20vulnerabilities-2ecc71?style=flat-square&logo=npm&logoColor=white\" alt=\"npm audit clean\" />\n</p>\n\n<p>\n<a href=\"https://whatsapp.com/channel/0029VbEVFrILtOjAOu4FXa3r\"><img src=\"https://img.shields.io/badge/Follow%20on%20WhatsApp-JAPofc%20Channel-25D366?style=for-the-badge&logo=whatsapp&logoColor=white\" alt=\"JAPofc WhatsApp Channel\" /></a>\n</p>\n\n<h4>\n\n[Install](#install)&nbsp;·&nbsp;[Quick start](#quick-start)&nbsp;·&nbsp;[Docs](#documentation)&nbsp;·&nbsp;[Why this fork](#why-this-fork)&nbsp;·&nbsp;[FAQ](./docs/faq.md)&nbsp;·&nbsp;[🇮🇩 Bahasa Indonesia](./README.id.md)\n\n</h4>\n\n---\n\n## Install\n\n```bash\nnpm i @japofc/baileys\n```\n\nNode.js 20+, ESM-only, no install scripts. TypeScript declarations are bundled.\n\n## Quick start\n\n```js\nimport makeWASocket, { useMultiFileAuthState } from '@japofc/baileys'\n\nconst { state, saveCreds } = await useMultiFileAuthState('auth_info')\nconst sock = makeWASocket({ auth: state, printQRInTerminal: true })\n\nsock.ev.on('creds.update', saveCreds)\nsock.ev.on('messages.upsert', async ({ messages }) => {\n  const msg = messages[0]\n  if (!msg?.message || msg.key.fromMe) return\n  await sock.sendMessage(msg.key.remoteJid, { text: 'pong' }, { quoted: msg })\n})\n```\n\nScan the QR and the bot replies `pong`. Runnable programs live in [`examples/`](./examples).\n\n## What it is\n\nA maintained WhatsApp Web library for people running bots in production. The priorities, in\norder: the socket behaves predictably, the types tell the truth, and nothing happens that\nyour code did not ask for.\n\n- **No implicit joins or follows.** Join/follow helpers exist; they run only when you call them.\n- **Live WA Web version resolution** via `makeWASocketAuto()`, so pairing does not break when\n  WhatsApp bumps its minimum.\n- **Auth backends** for files, SQLite, Redis, MongoDB, MySQL and PostgreSQL.\n- **Every fix is reproducible.** Each one ships with a repro script and a regression test.\n\n## Documentation\n\n| Guide | What is in it |\n|---|---|\n| [Getting started](./docs/getting-started.md) | Install, optional peers, pairing code login, auth state, store backends |\n| [Sending messages](./docs/messaging.md) | Buttons, native flow, carousel, polls, AIRich cards, albums, channels |\n| [Feature reference](./docs/features.md) | The full capability list and the J.AP-exclusive behaviour |\n| [WA 2026 features](./docs/wa-2026.md) | Usernames, status mentions, calls, user-sync queries, security pack |\n| [Bot framework](./docs/bot-framework.md) | `Bot`, middleware, command router, sessions, stats |\n| [Utility modules](./docs/utilities.md) | 140+ helpers: economy, games, moderation, media, scheduling |\n| [FAQ & troubleshooting](./docs/faq.md) | Environment, TypeScript setup, common errors |\n| [Digests](./docs/digest.md) | One summary message instead of a flood of notifications |\n| [Group decisions](./docs/quorum.md) | `Quorum`: self-counting, self-locking admin votes |\n| [Live messages](./docs/live-message.md) | Self-updating progress messages: coalesced edits, no-op suppression, edit budget |\n| [Provenance](./docs/provenance.md) | Rename-resistant code fingerprints and the attribution checker |\n| [SSRF hardening](./docs/ssrf-hardening.md) | The URL guard, DNS rebinding, and `pinDns` |\n| [Release history](./docs/release-history.md) | Archived per-version notes |\n\nAlso: [CHANGELOG](./CHANGELOG.md) · [BUGREPORT](./BUGREPORT.md) · [MIGRATION](./MIGRATION.md) · [NOTICE](./NOTICE.md)\n\n## Why this fork\n\nMost Baileys forks are a rebase plus a few helpers. This one is primarily an **audit**:\n135 documented defects, each with a severity, a reproduction script and a regression test\nlocking the behaviour. A sample of what that has turned up:\n\n| Bug | Symptom before the fix |\n|---|---|\n| [§2.132](./BUGREPORT.md) | A `conflict` stream error threw *inside* the handler meant to close the socket — no reconnect, bot silently dead |\n| [§2.136](./BUGREPORT.md) | `Bot.stop()` left the socket open, kept handling messages against a closed store, then resurrected itself |\n| [§2.126](./BUGREPORT.md) | Admin-only commands were allowed in DMs, where nobody is an admin |\n| [§2.123](./BUGREPORT.md) | A 4-byte length from the wire was accumulated with signed 32-bit operators |\n| [§2.133](./BUGREPORT.md) | A timestamp the server never sent was reported as 1 Jan 1970 |\n\nRead [BUGREPORT.md](./BUGREPORT.md) before trusting the claim — that is the point of writing it down.\n\n## 🆚 Comparison\n\nHow `@japofc/baileys` stacks up against other Baileys libraries:\n\n| Capability | `@japofc/baileys` | Other forks (typical) |\n|---|:---:|:---:|\n| Native Flow buttons (V1/V2/V3) | ✅ | ⚠️ partial |\n| Carousel messages | ✅ | ❌ |\n| Rich response cards (AIRich) | ✅ | ❌ |\n| Commerce flow (catalog/order/payment) | ✅ | ⚠️ partial |\n| Voice calling (VoIP) | ✅ experimental | ❌ |\n| Multi-backend store (SQL/Mongo/Redis) | ✅ | ⚠️ partial |\n| Full `.d.ts` TypeScript definitions | ✅ | ⚠️ partial |\n| User sync queries (WAUSync) | ✅ | ✅ |\n| Username management (check/set/pin/recommend) | ✅ | ❌ |\n| Bot framework (middleware, session, stats) | ✅ | ❌ |\n| Built-in QR render (terminal/SVG/PNG, zero deps) | ✅ | ❌ needs `qrcode-terminal` |\n| Auto WA Web version resolution | ✅ | ❌ hardcoded |\n| Status mentions (notify users/groups of your status) | ✅ | ❌ |\n| Anti-ban toolkit (warmup ramps, group-op ceilings, disconnect classifier, Gaussian jitter) | ✅ | ❌ |\n| Crash-message shield (mention bombs, zalgo, RTLO spoofing) | ✅ | ❌ |\n| Session doctor + portable/encrypted session strings | ✅ | ❌ |\n| Community/bot modules (economy, games, rental, moderation — 140+ utils) | ✅ | ❌ |\n| Sticker EXIF branding | ✅ pure JS | ⚠️ needs `node-webpmux` |\n| CLI (`doctor` / `session` / `sticker` / `export` / `wa`) | ✅ | ❌ |\n| Credential-redacting logger | ✅ | ❌ |\n\n> This table describes package-level features, not performance benchmarks. PRs to update or correct it are welcome via [Contributing](#-contributing).\n\n---\n\n---\n\n## 🤝 Contributing\n\nContributions are welcome — especially bug fixes, documentation, and enhancements to `MessageBuilder` / `AIRich`.\n\n1. Fork this repo and branch off `main` (`feat/feature-name` or `fix/bug-name`)\n2. Keep changes ESM-only and add/update the matching `.d.ts` declarations\n3. Test your change against at least one auth state path + one store backend before opening a PR\n4. Open a Pull Request with a short description: what changed and why\n\nFor bug reports, include your Node.js version, reproduction steps, and the relevant `lastDisconnect.error` log snippet.\n\n---\n\n## 🙏 Credits\n\nBuilt on the shoulders of the open-source WhatsApp community.\n\nFull details and license terms per component: see [`NOTICE.md`](./NOTICE.md).\n\n---\n\n## 👑 Maintainer\n\n<table>\n<tr>\n<td width=\"180\" align=\"center\">\n<img src=\"https://github.com/JAPofc.png\" width=\"160\" alt=\"J.AP avatar\" style=\"border-radius:50%\"/>\n</td>\n<td>\n\n**J.AP**\n\n- GitHub: [github.com/JAPofc](https://github.com/JAPofc)\n- Package: [`@japofc/baileys`](https://www.npmjs.com/package/@japofc/baileys)\n- ✦ Maintains this fork solo — issues & PRs are welcome and reviewed personally.\n\n</td>\n</tr>\n</table>\n\n---\n\n## ⚠️ Disclaimer\n\nThis project is an independent fork.\nUse responsibly and follow WhatsApp Terms of Service.\n\n---\n---\n\n<div align=\"center\">\n\n**[⬆ back to top](#top)**\n\n</div>\n","readmeFilename":"README.md"}