wsnipz 1.2.1 → 1.2.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.
package/dist/prompts.js CHANGED
@@ -211,6 +211,7 @@ async function runChecker(config, save) {
211
211
  console.log(chalk_1.default.cyan(`\nGenerating ${usernames.length} usernames (${(0, generators_1.patternLabel)(pattern)}, length ${length})...`));
212
212
  const stats = { available: 0, taken: 0, invalid: 0, errors: 0, total: usernames.length };
213
213
  const spinner = (0, ora_1.default)({ text: 'Checking...', spinner: 'dots' }).start();
214
+ const purple = chalk_1.default.hex('#9B59B6').bold;
214
215
  const onProgress = (done, total, r) => {
215
216
  if (r.status === 'available')
216
217
  stats.available++;
@@ -220,17 +221,18 @@ async function runChecker(config, save) {
220
221
  stats.invalid++;
221
222
  else
222
223
  stats.errors++;
223
- spinner.text =
224
- `[${done}/${total}] ` +
225
- `${chalk_1.default.green('✓' + stats.available)} ` +
226
- `${chalk_1.default.red('✗' + stats.taken)} ` +
227
- `${chalk_1.default.yellow('!' + stats.invalid)} ` +
228
- `${chalk_1.default.gray('?' + stats.errors)}`;
224
+ spinner.stop();
229
225
  if (r.status === 'available') {
230
- spinner.stop();
231
- console.log(chalk_1.default.green.bold(' ✓ AVAILABLE: ') + chalk_1.default.white.bold(r.username));
232
- spinner.start();
226
+ console.log(purple('[+] ') + chalk_1.default.white.bold(r.username));
227
+ }
228
+ else {
229
+ console.log(chalk_1.default.red('[-] ') + chalk_1.default.gray(r.username));
233
230
  }
231
+ spinner.start();
232
+ spinner.text =
233
+ `[${done}/${total}] ` +
234
+ `${purple('+' + stats.available)} ` +
235
+ `${chalk_1.default.red('-' + (stats.taken + stats.invalid + stats.errors))}`;
234
236
  };
235
237
  const results = await (0, checker_1.checkUsernames)(usernames, {
236
238
  token,
package/dist/version.js CHANGED
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = exports.PACKAGE_NAME = void 0;
4
4
  exports.PACKAGE_NAME = 'wsnipz';
5
- exports.VERSION = '1.2.1';
5
+ exports.VERSION = '1.2.2';
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name": "wsnipz", "version": "1.2.1", "description": "A modern Discord username availability checker CLI with rotating proxy support.", "main": "dist/index.js", "bin": {"wsniper": "dist/index.js", "wsnipz": "dist/index.js"}, "files": ["dist"], "scripts": {"build": "tsc", "dev": "ts-node src/index.ts", "start": "node dist/index.js", "prepublishOnly": "npm run build"}, "keywords": ["discord", "username", "checker", "sniper", "cli", "proxy", "availability", "wsnipz"], "author": "", "license": "MIT", "engines": {"node": ">=16"}, "dependencies": {"axios": "^1.7.7", "chalk": "^4.1.2", "cli-table3": "^0.6.5", "commander": "^11.1.0", "figlet": "^1.8.0", "inquirer": "^8.2.6", "ora": "^5.4.1", "proxy-agent": "^5.0.0"}, "devDependencies": {"@types/figlet": "^1.7.0", "@types/inquirer": "^8.2.10", "@types/node": "^20.16.0", "ts-node": "^10.9.2", "typescript": "^5.6.0"}}
1
+ {"name": "wsnipz", "version": "1.2.2", "description": "A modern Discord username availability checker CLI with rotating proxy support.", "main": "dist/index.js", "bin": {"wsniper": "dist/index.js", "wsnipz": "dist/index.js"}, "files": ["dist"], "scripts": {"build": "tsc", "dev": "ts-node src/index.ts", "start": "node dist/index.js", "prepublishOnly": "npm run build"}, "keywords": ["discord", "username", "checker", "sniper", "cli", "proxy", "availability", "wsnipz"], "author": "", "license": "MIT", "engines": {"node": ">=16"}, "dependencies": {"axios": "^1.7.7", "chalk": "^4.1.2", "cli-table3": "^0.6.5", "commander": "^11.1.0", "figlet": "^1.8.0", "inquirer": "^8.2.6", "ora": "^5.4.1", "proxy-agent": "^5.0.0"}, "devDependencies": {"@types/figlet": "^1.7.0", "@types/inquirer": "^8.2.10", "@types/node": "^20.16.0", "ts-node": "^10.9.2", "typescript": "^5.6.0"}}