nexus-fca 2.0.4 โ 2.0.5
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/CHANGELOG.md +26 -2
- package/README.md +51 -41
- package/index.js +538 -13
- package/package.json +12 -5
- package/nexloginsystem/NexusLoginSystem.js +0 -611
- package/nexloginsystem/README.md +0 -510
- package/nexloginsystem/examples.js +0 -150
- package/nexloginsystem/index.js +0 -247
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
|
-
#
|
|
2
1
|
# Changelog
|
|
3
|
-
|
|
2
|
+
|
|
3
|
+
## [2.0.5] - 2025-07-29 - FULLY INTEGRATED NPM EDITION
|
|
4
|
+
### ๐ฏ MAJOR: Full NPM Integration
|
|
5
|
+
- **โ
FULLY INTEGRATED**: Entire Nexus Login System now embedded directly in main `index.js`
|
|
6
|
+
- **๐ฆ NPM COMPATIBLE**: Works perfectly when installed via `npm install nexus-fca` - no external folder dependencies
|
|
7
|
+
- **โก ZERO CONFIG**: Everything works out of the box - no separate folder setup required
|
|
8
|
+
- **๐ SEAMLESS MIGRATION**: Existing code continues to work, new code benefits from integration
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- ๐ฏ **Direct exports**: `nexusLogin` and `IntegratedNexusLoginSystem` available directly from main package
|
|
12
|
+
- ๐งช **Updated test files**: All test scripts now use integrated system (`require('nexus-fca')` instead of `./nexloginsystem`)
|
|
13
|
+
- ๐ **New documentation**: `npm-integration-guide.md` with complete NPM usage guide
|
|
14
|
+
- ๐ ๏ธ **NPM scripts**: Added `test:login`, `test:simple`, `test:2fa`, `test:all` for easy testing
|
|
15
|
+
- ๐ฆ **Enhanced package.json**: Updated keywords, description, and version for NPM integration
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- ๐๏ธ **Architecture**: Moved entire Nexus Login System from external folder into main index.js (lines 372-860+)
|
|
19
|
+
- ๐ **Documentation**: Updated README.md to reflect NPM installation and integrated usage
|
|
20
|
+
- ๐ง **Test files**: Fixed all test imports to use main package instead of external folder
|
|
21
|
+
- ๐ฆ **Package info**: Updated to v2.0.5 with new description highlighting NPM integration
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
- โ **NPM module errors**: Eliminated "Cannot find module './nexloginsystem'" when using as npm package
|
|
25
|
+
- ๐ **Import paths**: All test files and examples now use correct import paths for npm usage
|
|
26
|
+
- ๐ฏ **Distribution**: Package now works identically whether used locally or installed via npm
|
|
27
|
+
|
|
4
28
|
## [2.0.4] - 2025-07-29
|
|
5
29
|
### Fixed
|
|
6
30
|
- ๐ **Missing nexloginsystem folder**: Added `nexloginsystem/` to npm package files array to fix "Cannot find module './nexloginsystem'" error
|
package/README.md
CHANGED
|
@@ -38,28 +38,30 @@ Use responsibly and at your own risk. This package is not affiliated with Facebo
|
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
41
|
-
## ๐ What's New in 2.0.
|
|
42
|
-
-
|
|
41
|
+
## ๐ What's New in 2.0.3 - Fully Integrated NPM Edition
|
|
42
|
+
- **๐ฏ FULLY INTEGRATED**: Nexus Login System now built directly into main package!
|
|
43
|
+
- **๏ฟฝ NPM COMPATIBLE**: Works perfectly when installed via `npm install nexus-fca`
|
|
44
|
+
- **โก ZERO CONFIG**: No external folders needed - everything works out of the box
|
|
45
|
+
- **๏ฟฝ๐ NEXUS LOGIN SYSTEM**: Revolutionary auto-login with appstate generation from username/password
|
|
43
46
|
- **๐ก๏ธ ULTRA-LOW BAN RATE**: Advanced protection reduces Facebook account suspension risk by 95%+
|
|
44
|
-
- **๏ฟฝ SMART AUTO-LOGIN**: Automatically detects existing appstate or generates new one seamlessly
|
|
45
47
|
- **๐ 2FA SUPPORT**: Full TOTP integration with Google Authenticator for maximum security
|
|
46
48
|
- **โก ONE-LINE SETUP**: Complete bot setup with just one line of code
|
|
47
49
|
- **๐ INTELLIGENT MANAGEMENT**: Auto-backup, validation, and appstate lifecycle management
|
|
48
50
|
- **๐ก๏ธ MAXIMUM SAFETY**: Human-like device simulation with Android fingerprinting
|
|
49
51
|
- **๐ ENHANCED AUTO-RECONNECT**: Smart MQTT connection with safe reconnection patterns
|
|
50
|
-
- **๐ OPTIMIZED SAFETY**: Intelligent caching and safety-focused database optimization
|
|
51
|
-
- **๐ก๏ธ PROACTIVE MONITORING**: Advanced account health monitoring and early warning system
|
|
52
|
-
- **๐ ADVANCED APPSTATE GENERATOR**: Generate fresh appstate cookies with enhanced Android simulation
|
|
53
|
-
- **๐ค LATEST DEVICE SIMULATION**: Support for Pixel 7, Galaxy S23, OnePlus 11 and latest Android versions
|
|
54
|
-
- **๐ ENHANCED 2FA SUPPORT**: TOTP generation and multiple authentication methods
|
|
55
52
|
|
|
56
|
-
##
|
|
53
|
+
## ๐ฏ Integrated Nexus Login System
|
|
57
54
|
|
|
58
|
-
**The most advanced Facebook login system for
|
|
55
|
+
**The most advanced Facebook login system, now fully integrated for NPM usage!**
|
|
56
|
+
|
|
57
|
+
### ๏ฟฝ **NPM Installation**
|
|
58
|
+
```bash
|
|
59
|
+
npm install nexus-fca
|
|
60
|
+
```
|
|
59
61
|
|
|
60
62
|
### โก **One-Line Bot Setup**
|
|
61
63
|
```javascript
|
|
62
|
-
const { nexusLogin } = require('
|
|
64
|
+
const { nexusLogin } = require('nexus-fca'); // Works directly from npm!
|
|
63
65
|
|
|
64
66
|
// Complete bot ready in one line!
|
|
65
67
|
const result = await nexusLogin({
|
|
@@ -85,7 +87,7 @@ if (result.success) {
|
|
|
85
87
|
const result = await nexusLogin(); // No credentials needed if appstate exists!
|
|
86
88
|
```
|
|
87
89
|
|
|
88
|
-
###
|
|
90
|
+
### ๐ก๏ธ **Maximum Safety Features**
|
|
89
91
|
- โ
**Human-like Android simulation** with real device fingerprints
|
|
90
92
|
- โ
**2FA TOTP auto-generation** from Google Authenticator secrets
|
|
91
93
|
- โ
**Rate limiting & safety delays** to prevent Facebook detection
|
|
@@ -95,51 +97,59 @@ const result = await nexusLogin(); // No credentials needed if appstate exists!
|
|
|
95
97
|
|
|
96
98
|
### ๐ **Quick Start Guide**
|
|
97
99
|
|
|
98
|
-
1. **Setup credentials:**
|
|
99
|
-
```bash
|
|
100
|
-
# Edit nexloginsystem/test.js with your Facebook credentials
|
|
101
|
-
nano nexloginsystem/test.js
|
|
102
100
|
```
|
|
103
101
|
|
|
104
|
-
2. **
|
|
105
|
-
```
|
|
106
|
-
|
|
102
|
+
2. **Create test file:**
|
|
103
|
+
```javascript
|
|
104
|
+
// test-bot.js
|
|
105
|
+
const { nexusLogin } = require('nexus-fca');
|
|
106
|
+
|
|
107
|
+
(async () => {
|
|
108
|
+
const result = await nexusLogin({
|
|
109
|
+
username: 'your_email@gmail.com',
|
|
110
|
+
password: 'your_password'
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
if (result.success) {
|
|
114
|
+
console.log('โ
Bot ready!');
|
|
115
|
+
result.api.sendMessage('Hello from Nexus!', result.api.getCurrentUserID());
|
|
116
|
+
}
|
|
117
|
+
})();
|
|
107
118
|
```
|
|
108
119
|
|
|
109
|
-
3. **
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
const result = await nexusLogin(credentials);
|
|
120
|
+
3. **Run your bot:**
|
|
121
|
+
```bash
|
|
122
|
+
node test-bot.js
|
|
113
123
|
```
|
|
114
124
|
|
|
115
|
-
###
|
|
116
|
-
- **[
|
|
117
|
-
- **[
|
|
118
|
-
- **[
|
|
125
|
+
### ๐ **Complete Documentation**
|
|
126
|
+
- **[NPM Integration Guide](npm-integration-guide.md)** - Complete NPM usage guide
|
|
127
|
+
- **[Integrated Login Guide](integrated-login-guide.md)** - All login methods
|
|
128
|
+
- **[Test Files](test-*.js)** - Ready-to-use test scripts
|
|
129
|
+
- **[Legacy Guide](newloginhowtouse.md)** - Previous version docs
|
|
119
130
|
|
|
120
131
|
---
|
|
121
132
|
|
|
122
|
-
## ๐
|
|
133
|
+
## ๐ Legacy Appstate Support
|
|
123
134
|
|
|
124
|
-
Nexus-FCA
|
|
135
|
+
Nexus-FCA maintains full backward compatibility with traditional appstate login.
|
|
125
136
|
|
|
126
|
-
### โก
|
|
137
|
+
### โก Traditional Usage
|
|
127
138
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
npm install
|
|
131
|
-
```
|
|
139
|
+
```javascript
|
|
140
|
+
const login = require('nexus-fca');
|
|
132
141
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
142
|
+
login({ appState: require('./appstate.json') }, (err, api) => {
|
|
143
|
+
if (err) return console.error(err);
|
|
144
|
+
console.log('โ
Bot ready with appstate!');
|
|
145
|
+
});
|
|
136
146
|
```
|
|
137
147
|
|
|
138
|
-
### ๐
|
|
148
|
+
### ๐ Migration Guide
|
|
139
149
|
|
|
140
|
-
- **
|
|
141
|
-
-
|
|
142
|
-
-
|
|
150
|
+
- **Existing appstate files work unchanged**
|
|
151
|
+
- **New integrated system generates fresh appstate automatically**
|
|
152
|
+
- **Mix and match both approaches as needed**
|
|
143
153
|
|
|
144
154
|
---
|
|
145
155
|
|