@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.
Files changed (46) hide show
  1. package/.deprecated/Utils/Cmd.js +1 -0
  2. package/.deprecated/Utils/Connection.js +1 -0
  3. package/.deprecated/Utils/Connector.js +1 -0
  4. package/.deprecated/Utils/Converter.js +1 -0
  5. package/.deprecated/Utils/Cooldown.js +1 -0
  6. package/.deprecated/Utils/Exif.js +1 -0
  7. package/.deprecated/Utils/Function.js +1 -0
  8. package/.deprecated/Utils/Loader.js +1 -0
  9. package/.deprecated/Utils/Logs.js +1 -0
  10. package/.deprecated/Utils/Message.js +1 -0
  11. package/.deprecated/Utils/Queue.js +1 -0
  12. package/.deprecated/Utils/Scraper.js +1 -0
  13. package/.deprecated/Utils/Serialize.js +1 -0
  14. package/.deprecated/Utils/Session.js +1 -0
  15. package/.deprecated/Utils/Spam.js +1 -0
  16. package/.deprecated/Utils/Store.js +1 -0
  17. package/.deprecated/Utils/_Connection.js +1 -0
  18. package/.deprecated/Utils/_Serialize.js +1 -0
  19. package/.deprecated/Utils/_Store.js +1 -0
  20. package/.deprecated/index.js +28 -0
  21. package/.deprecated/package.json +85 -0
  22. package/README.md +1 -1
  23. package/Utils/Cmd.js +1 -1
  24. package/Utils/Connection.js +1 -1
  25. package/Utils/Connector.js +1 -1
  26. package/Utils/Converter.js +1 -1
  27. package/Utils/Cooldown.js +1 -1
  28. package/Utils/Exif.js +1 -1
  29. package/Utils/Loader.js +1 -1
  30. package/Utils/Logs.js +1 -1
  31. package/Utils/Message.js +1 -2
  32. package/Utils/Queue.js +1 -1
  33. package/Utils/Scraper.js +1 -1
  34. package/Utils/Serialize.js +1 -1
  35. package/Utils/Session.js +1 -1
  36. package/Utils/Spam.js +1 -1
  37. package/Utils/Store.js +1 -1
  38. package/Utils/_Connection.js +1 -1
  39. package/Utils/_Serialize.js +1 -1
  40. package/Utils/_Store.js +1 -1
  41. package/index.js +2 -8
  42. package/package.json +2 -20
  43. /package/{Utils → .deprecated/Utils}/Local.js +0 -0
  44. /package/{Utils → .deprecated/Utils}/Mongo.js +0 -0
  45. /package/{Utils → .deprecated/Utils}/Multi.js +0 -0
  46. /package/{Utils → .deprecated/Utils}/Postgre.js +0 -0
package/Utils/_Store.js CHANGED
@@ -1 +1 @@
1
- function Y(){const o=['toJSON','decodeJid','543627nuSXqg','397468mvnNQt','QgtyF','8codggi','366801TBihzZ','length','exports','memoryStor','bots','887080yEJdAQ','480NNkKrH','113993ObQGEL','parse','25dUvHSa','stringify','56RwNokb','5370aYkPDF','data','2799237fUHBQs','fromJSON','find','user','jid'];Y=function(){return o;};return Y();}function U(j,q){const f=Y();return U=function(L,J){L=L-(-0x6c5+0x73a+-0x2*-0x6e);let W=f[L];return W;},U(j,q);}const h=U;(function(j,q){const w=U,f=j();while(!![]){try{const L=parseInt(w(0x15b))/(-0x1741*-0x1+0x2*-0x94e+-0x4a4)+-parseInt(w(0x155))/(0xa*0x301+-0x31f+-0x1ae9)*(parseInt(w(0x156))/(0x17dd+-0x53e+-0x129c))+-parseInt(w(0x153))/(0x10*-0x1f9+0xb*0x191+0xe59)*(-parseInt(w(0x15f))/(0xcc*0x1b+-0x2202+0xc83))+parseInt(w(0x162))/(-0x3a*0x53+0x241+0x1*0x1093)+-parseInt(w(0x164))/(0x1455*0x1+0x4*0x7be+-0x2*0x19a3)+-parseInt(w(0x161))/(-0x1609+0x1ab0+-0x49f)*(parseInt(w(0x152))/(0x1*0x1f99+0xc7*0x22+-0x39fe))+parseInt(w(0x15c))/(0x399+0x7be*0x3+-0x1ac9)*(parseInt(w(0x15d))/(-0xd*0x17a+0x1*-0x8aa+-0x3*-0x94d));if(L===q)break;else f['push'](f['shift']());}catch(J){f['push'](f['shift']());}}}(Y,0x10b1ab+0x9d073*-0x1+0xe98f*0x2),module[h(0x158)]=(j,q)=>{const I=h,f={'QgtyF':function(D,b){return D>b;}};let L=q[I(0x151)](q[I(0x167)]['id']),J=global['db']&&f[I(0x154)](global['db'][I(0x15a)][I(0x157)],-0xcb9*0x1+0xa4f+0x26a)?global['db'][I(0x15a)][I(0x166)](D=>D[I(0x168)]===L):![],W=J?J[I(0x163)]:global['db'];try{j[I(0x165)](JSON[I(0x15e)](W[I(0x159)+'e']));}catch{W[I(0x159)+'e']=W[I(0x159)+'e']?W[I(0x159)+'e']:JSON[I(0x160)](j[I(0x169)]()),j[I(0x165)](JSON[I(0x15e)](W[I(0x159)+'e']));}});
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.7",
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