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).
|
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
|
## 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:
|
Then import in your code using:
|
||||||
``` javascript
|
``` javascript
|
||||||
const WhatsAppWeb = require('baileys')
|
const WhatsAppWeb = require('baileys')
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "baileys",
|
"name": "@adiwajshing/baileys",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"description": "WhatsApp Web API",
|
"description": "WhatsApp Web API",
|
||||||
"main": "WhatsAppWeb.js",
|
"main": "WhatsAppWeb.js",
|
||||||
"homepage": "https://github.com/adiwajshing/Baileys",
|
"homepage": "https://github.com/adiwajshing/Baileys",
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
},
|
},
|
||||||
"author": "Adhiraj Singh",
|
"author": "Adhiraj Singh",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"publishConfig": { "registry": "https://npm.pkg.github.com/" },
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"curve25519-js": "0.0.4",
|
"curve25519-js": "0.0.4",
|
||||||
"futoin-hkdf": "^1.3.2",
|
"futoin-hkdf": "^1.3.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user