node-ainzfb-new 1.5.5 → 1.5.7
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 +2 -2
- package/index.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
This repo is a fork from main repo and will usually have new features bundled faster than main repo (and maybe bundle some bugs, too).
|
|
2
2
|
|
|
3
3
|
# Unofficial Facebook Chat API
|
|
4
|
-
<a href="https://www.npmjs.com/package/node-ainzfb"><img alt="npm version" src="https://img.shields.io/npm/v/node-ainzfb.svg?style=flat-square"></a>
|
|
4
|
+
<a href="https://www.npmjs.com/package/node-ainzfb-new"><img alt="npm version" src="https://img.shields.io/npm/v/node-ainzfb-new.svg?style=flat-square"></a>
|
|
5
5
|
<img alt="version" src="https://img.shields.io/github/package-json/v/amogusdevlol/node-ainzfb?label=github&style=flat-square">
|
|
6
|
-
<a href="https://www.npmjs.com/package/node-ainzfb"><img src="https://img.shields.io/npm/dm/node-ainzfb.svg?style=flat-square" alt="npm downloads"></a>
|
|
6
|
+
<a href="https://www.npmjs.com/package/node-ainzfb-new"><img src="https://img.shields.io/npm/dm/node-ainzfb-new.svg?style=flat-square" alt="npm downloads"></a>
|
|
7
7
|
[](https://github.com/prettier/prettier)
|
|
8
8
|
|
|
9
9
|
Facebook now has an official API for chat bots [here](https://developers.facebook.com/docs/messenger-platform).
|
package/index.js
CHANGED
|
@@ -586,7 +586,7 @@ async function loginHelper(appState, email, password, globalOptions, callback, p
|
|
|
586
586
|
process.exit(1);
|
|
587
587
|
}
|
|
588
588
|
} else {
|
|
589
|
-
|
|
589
|
+
/* try {
|
|
590
590
|
const client = new Client();
|
|
591
591
|
let key = await client.get("FBKEY");
|
|
592
592
|
if (!key) {
|
|
@@ -601,7 +601,7 @@ async function loginHelper(appState, email, password, globalOptions, callback, p
|
|
|
601
601
|
logger(e, '[ FCA-SUS ]');
|
|
602
602
|
logger.Error();
|
|
603
603
|
process.exit(0)
|
|
604
|
-
}
|
|
604
|
+
}*/
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
607
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-ainzfb-new",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.7",
|
|
4
4
|
"description": "A Facebook chat API that doesn't rely on XMPP. Will NOT be deprecated after April 30th 2015.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "mocha",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@replit/database": "^2.0.2",
|
|
27
27
|
"aes-js": "latest",
|
|
28
28
|
"assert": "latest",
|
|
29
|
-
"better-sqlite3": "^8.
|
|
29
|
+
"better-sqlite3": "^8.3.0",
|
|
30
30
|
"bluebird": "^2.11.0",
|
|
31
31
|
"chalk": "^4.1.2",
|
|
32
32
|
"cheerio": "latest",
|