Updated package for git packages

This commit is contained in:
Adhiraj Singh
2020-06-25 10:43:54 +05:30
parent e19770ef3a
commit 0cf6ca66d0
2 changed files with 4 additions and 3 deletions

View File

@@ -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')

View File

@@ -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",