message-verify 1.0.0-beta.10 → 1.0.0-beta.11
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/index.js +1 -0
- package/package.json +1 -1
- package/src/index.tsx +1 -0
package/dist/index.js
CHANGED
@@ -11,6 +11,7 @@ export const initFingerprint = async () => {
|
|
11
11
|
// 首次异步获取并缓存
|
12
12
|
return new Promise((resolve) => {
|
13
13
|
Fingerprint2.get(function (components) {
|
14
|
+
console.log('components', components);
|
14
15
|
const includeKeys = ['userAgent', 'deviceMemory', 'cpuClass', 'hardwareConcurrency', 'platform'];
|
15
16
|
const values = components
|
16
17
|
.filter(component => includeKeys.includes(component.key))
|
package/package.json
CHANGED
package/src/index.tsx
CHANGED
@@ -12,6 +12,7 @@ export const initFingerprint = async (): Promise<string> => {
|
|
12
12
|
// 首次异步获取并缓存
|
13
13
|
return new Promise((resolve) => {
|
14
14
|
Fingerprint2.get(function (components) {
|
15
|
+
console.log('components', components);
|
15
16
|
const includeKeys = ['userAgent', 'deviceMemory', 'cpuClass', 'hardwareConcurrency', 'platform'];
|
16
17
|
const values = components
|
17
18
|
.filter(component => includeKeys.includes(component.key))
|