@anonympins/fingerprint 0.3.5 → 0.3.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anonympins/fingerprint",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "Advanced anti-bot library for Node.js using multi-layer fingerprinting (JA3, client-side, headers), behavioral analysis, and adaptive Proof-of-Work (PoW) challenges to mitigate scraping, scalping, and automated threats.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -1,9 +1,8 @@
1
- import { promises as fs } from 'node:fs';
2
- import { join, dirname } from 'node:path';
3
- import { fileURLToPath } from 'node:url';
4
- import { exec } from 'node:child_process';
1
+ import {promises as fs} from 'node:fs';
2
+ import {dirname, join} from 'node:path';
3
+ import {fileURLToPath} from 'node:url';
4
+ import {exec} from 'node:child_process';
5
5
  import JavaScriptObfuscator from 'javascript-obfuscator';
6
- import { minify } from 'terser';
7
6
 
8
7
  const __filename = fileURLToPath(import.meta.url);
9
8
  const __dirname = dirname(__filename);
@@ -1,5 +1,5 @@
1
- import { cyrb53 as jsCyrb53, FingerprintBuilder } from './fingerprint.builder.js';
2
- import { solveChallenge } from './pow.solver.js';
1
+ import {cyrb53 as jsCyrb53, FingerprintBuilder} from './fingerprint.builder.js';
2
+ import {solveChallenge} from './pow.solver.js';
3
3
 
4
4
  // Variable pour stocker la fonction de hachage active.
5
5
  // Par défaut, c'est l'implémentation JavaScript.