From 0cf6ca66d0a4b039d4a16b4ce982bed3c3e620cf Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Thu, 25 Jun 2020 10:43:54 +0530 Subject: [PATCH] Updated package for git packages --- README.md | 2 +- package.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 86ff5ba..86e212e 100644 --- a/README.md +++ b/README.md @@ -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') diff --git a/package.json b/package.json index 862794e..6347f6e 100644 --- a/package.json +++ b/package.json @@ -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",