mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Updated package for git packages
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
If you're interested in building a WhatsApp bot, you may wanna check out [WhatsAppInfoBot](https://github.com/adiwajshing/WhatsappInfoBot) and an actual bot built with it, [Messcat](https://github.com/adiwajshing/Messcat).
|
||||
|
||||
## Install
|
||||
Create and cd to your NPM project directory and then in terminal, write: ``` npm install baileys ```
|
||||
Create and cd to your NPM project directory and then in terminal, write: `npm install @adiwajshing/baileys`
|
||||
Then import in your code using:
|
||||
``` javascript
|
||||
const WhatsAppWeb = require('baileys')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "baileys",
|
||||
"version": "1.1.0",
|
||||
"name": "@adiwajshing/baileys",
|
||||
"version": "1.1.1",
|
||||
"description": "WhatsApp Web API",
|
||||
"main": "WhatsAppWeb.js",
|
||||
"homepage": "https://github.com/adiwajshing/Baileys",
|
||||
@@ -20,6 +20,7 @@
|
||||
},
|
||||
"author": "Adhiraj Singh",
|
||||
"license": "MIT",
|
||||
"publishConfig": { "registry": "https://npm.pkg.github.com/" },
|
||||
"dependencies": {
|
||||
"curve25519-js": "0.0.4",
|
||||
"futoin-hkdf": "^1.3.2",
|
||||
|
||||
Reference in New Issue
Block a user