npm-pkg-hook 1.11.0 → 1.11.1
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/.babelrc +0 -14
- package/package.json +1 -2
- package/src/hooks/useFingerprintjs/index.js +5 -5
package/.babelrc
CHANGED
package/package.json
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
"file-saver": "2.0.5",
|
|
7
7
|
"js-cookie": "3.0.1",
|
|
8
8
|
"lodash": "^4.17.21",
|
|
9
|
-
"md5": "2.3.0",
|
|
10
9
|
"moment": "^2.29.4",
|
|
11
10
|
"react": "18.1.0",
|
|
12
11
|
"react-dom": "18.1.0",
|
|
@@ -47,5 +46,5 @@
|
|
|
47
46
|
"rm": "rm -rf node_modules package-lock.json && npm i",
|
|
48
47
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
49
48
|
},
|
|
50
|
-
"version": "1.11.
|
|
49
|
+
"version": "1.11.1"
|
|
51
50
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import md5 from 'md5'
|
|
1
|
+
// import md5 from 'md5'
|
|
2
2
|
|
|
3
3
|
async function getCPUInfo () {
|
|
4
4
|
if (navigator.hardwareConcurrency) {
|
|
@@ -68,9 +68,9 @@ async function generateFingerprint () {
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
const fingerprint = JSON.stringify(fingerprintData)
|
|
71
|
-
const uniqueID = md5(fingerprint)
|
|
71
|
+
// const uniqueID = md5(fingerprint)
|
|
72
72
|
|
|
73
|
-
return
|
|
73
|
+
return null
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
// Función para generar huella digital del audio
|
|
@@ -167,6 +167,6 @@ function getTouchscreenInfo () {
|
|
|
167
167
|
|
|
168
168
|
export async function fingerprintJs () {
|
|
169
169
|
const fingerprint = await generateFingerprint()
|
|
170
|
-
const uniqueID = md5(fingerprint)
|
|
171
|
-
return
|
|
170
|
+
// const uniqueID = md5(fingerprint)
|
|
171
|
+
return null
|
|
172
172
|
}
|