supun-bailey-vip 1.0.7 → 1.0.8
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 +0 -50
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -129,56 +129,6 @@ yarn add supun-bailey-vip
|
|
|
129
129
|
|
|
130
130
|
---
|
|
131
131
|
|
|
132
|
-
## 🔒 VIP License Key System
|
|
133
|
-
|
|
134
|
-
`supun-bailey-vip` is protected by a tamper-resistant, hex-scrambled cryptographic license layer. Only the authorized owner (**Supun Fernando**) can initialize and run the socket.
|
|
135
|
-
|
|
136
|
-
To authenticate your instance, supply the VIP License Key using any of the following methods:
|
|
137
|
-
|
|
138
|
-
### Method 1: Inside `makeWASocket` (Recommended)
|
|
139
|
-
```javascript
|
|
140
|
-
import makeWASocket, { useMultiFileAuthState } from 'supun-bailey-vip'
|
|
141
|
-
|
|
142
|
-
const { state, saveCreds } = await useMultiFileAuthState('./session')
|
|
143
|
-
|
|
144
|
-
const sock = makeWASocket({
|
|
145
|
-
key: 'supunfernando9988', // 🔑 VIP License Key
|
|
146
|
-
auth: state,
|
|
147
|
-
performanceMode: 'high'
|
|
148
|
-
})
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
### Method 2: Environment Variable
|
|
152
|
-
```bash
|
|
153
|
-
export SUPUN_KEY="supunfernando9988"
|
|
154
|
-
# or
|
|
155
|
-
export SUPUN_VIP_KEY="supunfernando9988"
|
|
156
|
-
```
|
|
157
|
-
Or in your `.env` file:
|
|
158
|
-
```env
|
|
159
|
-
SUPUN_KEY=supunfernando9988
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
### Method 3: Key File
|
|
163
|
-
Create a `vip-key.json` or `key.txt` in your root project folder:
|
|
164
|
-
```json
|
|
165
|
-
{
|
|
166
|
-
"key": "supunfernando9988"
|
|
167
|
-
}
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
If an unauthorized user attempts to start Baileys without the key or with an invalid key, execution is immediately halted with a terminal security banner:
|
|
171
|
-
```
|
|
172
|
-
╔══════════════════════════════════════════════════════════════════╗
|
|
173
|
-
║ 🔒 ACCESS DENIED — VIP LICENSE LOCKED ║
|
|
174
|
-
╠══════════════════════════════════════════════════════════════════╣
|
|
175
|
-
║ Unauthorized Access! Invalid or Missing VIP License Key. ║
|
|
176
|
-
║ This Baileys modification is private property of Supun Fernando.║
|
|
177
|
-
╚══════════════════════════════════════════════════════════════════╝
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
---
|
|
181
|
-
|
|
182
132
|
## 🔑 Authentication & Connection
|
|
183
133
|
|
|
184
134
|
### 1. Zero-Dependency Terminal QR
|