@versini/ui-fingerprint 1.1.3 → 1.1.4

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.
Files changed (3) hide show
  1. package/README.md +1 -0
  2. package/dist/index.js +16 -16
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # @versini/ui-fingerprint
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@versini/ui-fingerprint?style=flat-square)](https://www.npmjs.com/package/@versini/ui-fingerprint)
4
+ ![npm package minimized gzipped size](<https://img.shields.io/bundlejs/size/%40versini%2Fui-fingerprint?style=flat-square&label=size%20(gzip)>)
4
5
 
5
6
  > A React component for generating unique visual fingerprints built with TypeScript and TailwindCSS.
6
7
 
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /*!
2
- @versini/ui-fingerprint v1.1.3
2
+ @versini/ui-fingerprint v1.1.4
3
3
  © 2025 gizmette.com
4
4
  */
5
5
  try {
6
6
  window.__VERSINI_UI_FINGERPRINT__ || (window.__VERSINI_UI_FINGERPRINT__ = {
7
- version: "1.1.3",
8
- buildTime: "08/23/2025 10:08 AM EDT",
7
+ version: "1.1.4",
8
+ buildTime: "08/23/2025 12:24 PM EDT",
9
9
  homepage: "https://github.com/aversini/ui-components",
10
10
  license: "MIT"
11
11
  });
@@ -54,7 +54,7 @@ const x = {
54
54
  maxChannels: 0,
55
55
  channelCountMode: ""
56
56
  }
57
- }, H = async (t) => new Promise((n) => {
57
+ }, P = async (t) => new Promise((n) => {
58
58
  try {
59
59
  const e = new window.OfflineAudioContext(1, 5e3, 44100), o = e.createBufferSource(), r = e.createOscillator();
60
60
  r.frequency.value = 1e3;
@@ -80,7 +80,7 @@ const x = {
80
80
  }
81
81
  });
82
82
  }
83
- }), v = { browser: "" }, P = async (t) => typeof navigator > "u" ? v : { browser: navigator.userAgent }, E = {
83
+ }), v = { browser: "" }, H = async (t) => typeof navigator > "u" ? v : { browser: navigator.userAgent }, E = {
84
84
  canvas: {
85
85
  data: ""
86
86
  }
@@ -194,7 +194,7 @@ const x = {
194
194
  rendererUnmasked: "",
195
195
  version: "",
196
196
  shadingLanguageVersion: ""
197
- }, A = {
197
+ }, M = {
198
198
  hardware: {
199
199
  videocard: C,
200
200
  architecture: 0,
@@ -235,7 +235,7 @@ const W = () => navigator.deviceMemory || 0, V = () => window.performance && win
235
235
  }
236
236
  });
237
237
  } catch (e) {
238
- t && (console.error("Error getting hardware data"), console.info(e)), n(A);
238
+ t && (console.error("Error getting hardware data"), console.info(e)), n(M);
239
239
  }
240
240
  }), j = {
241
241
  locales: {
@@ -249,7 +249,7 @@ const W = () => navigator.deviceMemory || 0, V = () => window.performance && win
249
249
  timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
250
250
  }
251
251
  });
252
- }), M = {
252
+ }), b = {
253
253
  screen: {
254
254
  colorDepth: 0,
255
255
  pixelDepth: 0,
@@ -270,7 +270,7 @@ const W = () => navigator.deviceMemory || 0, V = () => window.performance && win
270
270
  };
271
271
  n(o);
272
272
  } catch (e) {
273
- t && (console.error("Error creating screen fingerprint"), console.info(e)), n(M);
273
+ t && (console.error("Error creating screen fingerprint"), console.info(e)), n(b);
274
274
  }
275
275
  });
276
276
  function J() {
@@ -312,9 +312,9 @@ const K = async (t) => {
312
312
  }
313
313
  };
314
314
  } catch (n) {
315
- return t && (console.error("Error getting system data"), console.info(n)), b;
315
+ return t && (console.error("Error getting system data"), console.info(n)), A;
316
316
  }
317
- }, b = {
317
+ }, A = {
318
318
  system: {
319
319
  platform: "",
320
320
  cookieEnabled: !1,
@@ -324,8 +324,8 @@ const K = async (t) => {
324
324
  }, Z = async (t) => {
325
325
  try {
326
326
  return Promise.all([
327
- H(t),
328
- P(),
327
+ P(t),
328
+ H(),
329
329
  R(t),
330
330
  O(),
331
331
  z(t),
@@ -339,10 +339,10 @@ const K = async (t) => {
339
339
  v,
340
340
  E,
341
341
  G,
342
- A,
343
- j,
344
342
  M,
345
- b
343
+ j,
344
+ b,
345
+ A
346
346
  ];
347
347
  }
348
348
  }, Q = async (t) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-fingerprint",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -34,5 +34,5 @@
34
34
  "test:watch": "vitest",
35
35
  "test": "vitest run"
36
36
  },
37
- "gitHead": "a1afd6e4613b1da7abf61d10a72614611521fb39"
37
+ "gitHead": "d568e20474c6c87f836c4cb6548f2cc0143a353c"
38
38
  }