@vangbanlanhat/fca-unofficial 1.4.2 → 1.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Unofficial Facebook Chat API
2
2
 
3
3
  <div align="center">
4
- <a href="https://www.npmjs.com/package/fca-unofficial"><img alt="npm version" src="https://img.shields.io/npm/v/fca-unofficial.svg?style=flat-square"></a>
4
+ <a href="https://www.npmjs.com/package/@vangbanlanhat/fca-unofficial"><img alt="npm version" src="https://img.shields.io/npm/v/@vangbanlanhat/fca-unofficial.svg?style=flat-square"></a>
5
5
  <img alt="version" src="https://img.shields.io/github/package-json/v/VangBanLaNhat/fca-unofficial?label=github&style=flat-square">
6
- <a href="https://www.npmjs.com/package/fca-unofficial"><img src="https://img.shields.io/npm/dm/fca-unofficial.svg?style=flat-square" alt="npm downloads"></a>
6
+ <a href="https://www.npmjs.com/package/@vangbanlanhat/fca-unofficial"><img src="https://img.shields.io/npm/dm/fca-unofficial.svg?style=flat-square" alt="npm downloads"></a>
7
7
  <a href="https://github.com/prettier/prettier"><img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"></a>
8
8
  </div>
9
9
 
@@ -40,7 +40,7 @@ For a comprehensive list of all available API methods, options, and parameters,
40
40
  Install the package via NPM:
41
41
 
42
42
  ```bash
43
- npm install @VangBanLaNhat/fca-unofficial
43
+ npm i @vangbanlanhat/fca-unofficial
44
44
  ```
45
45
 
46
46
  ### 2. Basic Echo Bot Example
@@ -48,7 +48,7 @@ npm install @VangBanLaNhat/fca-unofficial
48
48
  Create an `index.js` file and add the following code to create a bot that echoes messages back to the sender:
49
49
 
50
50
  ```javascript
51
- const login = require("@VangBanLaNhat/fca-unofficial");
51
+ const login = require("@vangbanlanhat/fca-unofficial");
52
52
 
53
53
  // Login using your Facebook credentials
54
54
  login({email: "FB_EMAIL", password: "FB_PASSWORD"}, (err, api) => {
@@ -77,7 +77,7 @@ Logging in repeatedly with an email and password is a massive red flag for Faceb
77
77
 
78
78
  ```javascript
79
79
  const fs = require("fs");
80
- const login = require("@VangBanLaNhat/fca-unofficial");
80
+ const login = require("@vangbanlanhat/fca-unofficial");
81
81
 
82
82
  // 1. Try to load an existing session
83
83
  let appState = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vangbanlanhat/fca-unofficial",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "main": "src/index.js",
5
5
  "description": "A Facebook chat API that doesn't rely on XMPP. Will NOT be deprecated after April 30th 2015.",
6
6
  "scripts": {