@neoxr/wb 4.5.7 → 4.5.9
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/.deprecated/Utils/Cmd.js +1 -0
- package/.deprecated/Utils/Connection.js +1 -0
- package/.deprecated/Utils/Connector.js +1 -0
- package/.deprecated/Utils/Converter.js +1 -0
- package/.deprecated/Utils/Cooldown.js +1 -0
- package/.deprecated/Utils/Exif.js +1 -0
- package/.deprecated/Utils/Function.js +1 -0
- package/.deprecated/Utils/Loader.js +1 -0
- package/.deprecated/Utils/Logs.js +1 -0
- package/.deprecated/Utils/Message.js +1 -0
- package/.deprecated/Utils/Queue.js +1 -0
- package/.deprecated/Utils/Scraper.js +1 -0
- package/.deprecated/Utils/Serialize.js +1 -0
- package/.deprecated/Utils/Session.js +1 -0
- package/.deprecated/Utils/Spam.js +1 -0
- package/.deprecated/Utils/Store.js +1 -0
- package/.deprecated/Utils/_Connection.js +1 -0
- package/.deprecated/Utils/_Serialize.js +1 -0
- package/.deprecated/Utils/_Store.js +1 -0
- package/.deprecated/index.js +28 -0
- package/.deprecated/package.json +85 -0
- package/README.md +1 -1
- package/Utils/Cmd.js +1 -1
- package/Utils/Connection.js +1 -1
- package/Utils/Connector.js +1 -1
- package/Utils/Converter.js +1 -1
- package/Utils/Cooldown.js +1 -1
- package/Utils/Exif.js +1 -1
- package/Utils/Loader.js +1 -1
- package/Utils/Logs.js +1 -1
- package/Utils/Message.js +1 -2
- package/Utils/Queue.js +1 -1
- package/Utils/Scraper.js +1 -1
- package/Utils/Serialize.js +1 -1
- package/Utils/Session.js +1 -1
- package/Utils/Spam.js +1 -1
- package/Utils/Store.js +1 -1
- package/Utils/_Connection.js +1 -1
- package/Utils/_Serialize.js +1 -1
- package/Utils/_Store.js +1 -1
- package/index.js +2 -8
- package/package.json +2 -20
- /package/{Utils → .deprecated/Utils}/Local.js +0 -0
- /package/{Utils → .deprecated/Utils}/Mongo.js +0 -0
- /package/{Utils → .deprecated/Utils}/Multi.js +0 -0
- /package/{Utils → .deprecated/Utils}/Postgre.js +0 -0
package/Utils/_Store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const N=Z;function u(){const E=['4775673Jqhdlj','toJSON','fromJSON','jid','decodeJid','exports','10lSghEn','8124171UEmSYM','length','6JiWRnA','find','1nixFGS','748552uQMBSF','3261771vPaeJF','data','user','bots','parse','gOyfK','stringify','memoryStor','8uTundr','665924ZRnnHI','1098981FtzmoZ','1929485onpKnf'];u=function(){return E;};return u();}function Z(R,o){const t=u();return Z=function(V,U){V=V-(-0x2125+-0x15b1+0x381b*0x1);let s=t[V];return s;},Z(R,o);}(function(R,o){const X=Z,t=R();while(!![]){try{const V=parseInt(X(0x14a))/(-0x50d*0x7+-0x2d9*-0x5+0x151f)*(-parseInt(X(0x14b))/(-0x2f*-0x47+0xeba*-0x1+0x1b3))+-parseInt(X(0x156))/(0x14ac+-0x33+0x61*-0x36)+-parseInt(X(0x155))/(0x12d9+0x1add+-0x2db2)+-parseInt(X(0x157))/(-0x1b8a+-0x974+-0x767*-0x5)*(parseInt(X(0x148))/(0x1580+-0x710+-0xe6a))+parseInt(X(0x158))/(-0x15e2*0x1+0x9ed+0xbfc)+parseInt(X(0x154))/(0x1cab+0x77d*-0x2+-0xda9)*(parseInt(X(0x14c))/(-0x814+0x1*-0x1fdc+0xd53*0x3))+-parseInt(X(0x145))/(0x1089+-0x31d*-0x2+-0x115*0x15)*(-parseInt(X(0x146))/(-0x211d+-0x97*0x2a+0xa*0x5cb));if(V===o)break;else t['push'](t['shift']());}catch(U){t['push'](t['shift']());}}}(u,0x31081+-0xd21*-0x77+-0x1afda),module[N(0x15d)]=(R,o)=>{const T=N,t={'gOyfK':function(j,v){return j>v;}};let V=o[T(0x15c)](o[T(0x14e)]['id']),U=global['db']&&t[T(0x151)](global['db'][T(0x14f)][T(0x147)],0x15b5+0x2e*0x1a+-0x1a61)?global['db'][T(0x14f)][T(0x149)](x=>x[T(0x15b)]===V):![],s=U?U[T(0x14d)]:global['db'];try{R[T(0x15a)](JSON[T(0x150)](s[T(0x153)+'e']));}catch{s[T(0x153)+'e']=s[T(0x153)+'e']?s[T(0x153)+'e']:JSON[T(0x152)](R[T(0x159)]()),R[T(0x15a)](JSON[T(0x150)](s[T(0x153)+'e']));}});
|
package/index.js
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
require('dotenv').config()
|
|
2
2
|
const fs = require('fs')
|
|
3
|
-
const Function = new (require('./Utils/Function'))
|
|
4
|
-
const Scraper = new (require('./Utils/Scraper'))
|
|
5
3
|
module.exports = class Component {
|
|
6
4
|
Config = JSON.parse(fs.readFileSync('./config.json'))
|
|
7
5
|
Client = require('./Utils/_Connection')
|
|
8
6
|
Baileys = require('./Utils/Connection')
|
|
9
7
|
Converter = new (require('./Utils/Converter'))
|
|
10
|
-
Function = Function
|
|
11
|
-
Scraper = Scraper
|
|
12
|
-
Local = new(require('./Utils/Local'))
|
|
13
|
-
MongoDB = /mongo/.test(process.env.DATABASE_URL) && process.env.DATABASE_URL ? new (require('./Utils/Mongo')) : false
|
|
14
|
-
PostgreSQL = /postgres/.test(process.env.DATABASE_URL) && process.env.DATABASE_URL ? new (require('./Utils/Postgre')) : false
|
|
15
|
-
Dataset = process.env.DATABASE_URL ? new (require('./Utils/Multi')) : false
|
|
8
|
+
Function = new (require('./Utils/Function'))
|
|
9
|
+
Scraper = new (require('./Utils/Scraper'))
|
|
16
10
|
Scandir = new (require('./Utils/Loader'))
|
|
17
11
|
Message = require('./Utils/Message')
|
|
18
12
|
Cloud = require('./Utils/_Store')
|
package/package.json
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neoxr/wb",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.9",
|
|
4
4
|
"description": "Simplicity WhatsApp Bot (Baileys)",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"engines": {
|
|
7
|
-
"node": ">= 14.x",
|
|
8
|
-
"npm": ">= 9.x"
|
|
9
|
-
},
|
|
10
6
|
"repository": {
|
|
11
7
|
"type": "git",
|
|
12
8
|
"url": "git+https://github.com/neoxr/neoxr-bot.git"
|
|
@@ -35,7 +31,6 @@
|
|
|
35
31
|
"cheerio": "1.0.0-rc.5",
|
|
36
32
|
"child_process": "~1.0.2",
|
|
37
33
|
"chokidar": "~4.0.3",
|
|
38
|
-
"cloudscraper": "4.6.0",
|
|
39
34
|
"colors": "1.4.0",
|
|
40
35
|
"crypto": "1.0.1",
|
|
41
36
|
"dotenv": "^16.0.1",
|
|
@@ -47,10 +42,9 @@
|
|
|
47
42
|
"jimp": "^0.16.1",
|
|
48
43
|
"mime-types": "~2.1.32",
|
|
49
44
|
"miniget": "^4.2.3",
|
|
50
|
-
"mongodb": "4.9.0",
|
|
51
|
-
"mongoose": "5.10.8",
|
|
52
45
|
"moment-timezone": "~0.5.34",
|
|
53
46
|
"node-cache": "^5.1.2",
|
|
47
|
+
"node-cron": "~3.0.0",
|
|
54
48
|
"node-fetch": "2.6.1",
|
|
55
49
|
"node-id3": "^0.2.3",
|
|
56
50
|
"node-webpmux": "^3.1.0",
|
|
@@ -67,18 +61,6 @@
|
|
|
67
61
|
"util": "~0.12.4",
|
|
68
62
|
"yt-search": "^2.10.3"
|
|
69
63
|
},
|
|
70
|
-
"devDependencies": {
|
|
71
|
-
"got": "14.4.3",
|
|
72
|
-
"miniget": "^4.2.3"
|
|
73
|
-
},
|
|
74
|
-
"peerDependenciesMeta": {
|
|
75
|
-
"got": {
|
|
76
|
-
"optional": true
|
|
77
|
-
},
|
|
78
|
-
"miniget": {
|
|
79
|
-
"optional": true
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
64
|
"scripts": {
|
|
83
65
|
"test": "node ./example/index.js"
|
|
84
66
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|