title: How to get browser fingerprint from clientJS in react application?
body: <p>I am trying to get the browser fingerprint from react application using clientJS. When I import clientJS module and try to access get fingerprint function, it's throwing error saying <code>Get Finger Print is not a function</code>. But If i create a clientJS instance from <code>window.ClientJS()</code>. I am able to generate the fingerprint. Why am i not able get the fingerprint function from instance of ClientJS?</p>
  <p><strong>Not working</strong></p>
  <pre><code>import ClientJS from &quot;clientjs&quot;;
  
  const client = new ClientJS()
  
  const fingerPrint = client.getFingerprint()
  </code></pre>
  <p>console.log(client)</p>
  <p><a href="https://i.stack.imgur.com/aJYAZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aJYAZ.png" alt="enter image description here" /></a>
  <strong>Working</strong></p>
  <pre><code>import ClientJS from &quot;clientjs&quot;;
  
  const client = new ClientJS()
  const windowClient = new window.ClientJS();
  
  const fingerPrint = windowClient.getFingerprint()
  </code></pre>
  <p>console.log(windowClient);</p>
  <p><a href="https://i.stack.imgur.com/X4FIB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X4FIB.png" alt="enter image description here" /></a></p>