hw-fingerprint
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -15,3 +15,3 @@ "use strict" | ||
const FINGERPRINT = (async function(){ | ||
async function generateFingerprint(){ | ||
const { manufacturer, model, serial, uuid } = await system() | ||
@@ -66,5 +66,7 @@ const { vendor, version: biosVersion, releaseDate } = await bios() | ||
return fingerprintHash.digest() | ||
})() | ||
} | ||
function fingerprint(){ | ||
let FINGERPRINT | ||
async function fingerprint(){ | ||
FINGERPRINT = FINGERPRINT || await generateFingerprint() | ||
return FINGERPRINT | ||
@@ -71,0 +73,0 @@ } |
{ | ||
"name": "hw-fingerprint", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Hardware-based fingerprint for Node and Electron", |
@@ -0,0 +0,0 @@ # hw-fingerprint |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4279
68