shadowx-fca 2.4.0 → 2.6.0
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/checkUpdate.js +1 -1
- package/index.js +663 -418
- package/package.json +2 -2
- package/src/GetBotInfo.js +66 -0
- package/src/OldMessage.js +96 -76
- package/src/comment.js +226 -0
- package/src/emoji.js +124 -0
- package/src/friend.js +243 -0
- package/src/gcmember.js +122 -0
- package/src/listenMqtt.js +4 -4
- package/src/nickname.js +140 -0
- package/src/sendMessage.js +398 -234
- package/src/sendMessage2.js +243 -0
- package/src/share.js +62 -0
- package/src/shareContact.js +73 -69
- package/src/shareContact.js.bak +110 -0
- package/src/stickers.js +117 -0
- package/src/story.js +181 -0
- package/src/theme.js +233 -0
- package/utils.js +24 -1311
package/checkUpdate.js
CHANGED
|
@@ -15,7 +15,7 @@ async function checkForFCAUpdate() {
|
|
|
15
15
|
const latestVersion = npmData.version;
|
|
16
16
|
|
|
17
17
|
// Check current installed version in node_modules
|
|
18
|
-
let currentVersion = '
|
|
18
|
+
let currentVersion = '2.4.0';
|
|
19
19
|
const nodeModulesPackagePath = path.join(process.cwd(), 'node_modules', 'shadowx-fca', 'package.json');
|
|
20
20
|
if (fs.existsSync(nodeModulesPackagePath)) {
|
|
21
21
|
const installedPackage = JSON.parse(fs.readFileSync(nodeModulesPackagePath, 'utf-8'));
|