Socket
Socket
Sign inDemoInstall

xfxfp

Package Overview
Dependencies
61
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.4.0 to 3.5.0

3

dist/src/index.d.ts
export default class Xfxfp {
private key;
constructor(apikey: any);
constructor();
HMACSHA256(stringToSign: any, secret: any): Promise<any>;

@@ -5,0 +4,0 @@ _base64(value: any): Promise<string>;

@@ -7,5 +7,3 @@ "use strict";

class Xfxfp {
constructor() {
this.key = "xfxfp14624982brjs";
}
constructor() { }
async HMACSHA256(stringToSign, secret) {

@@ -121,3 +119,3 @@ return crypto_js_1.CryptoJS.HmacSHA256(stringToSign, secret);

this.getDeviceData()
.then((_dData) => this._setToken(_dData, this.key))
.then((_dData) => this._setToken(_dData, "xfxfp14624982brjs"))
.then((tk) => {

@@ -124,0 +122,0 @@ resolve(tk);

{
"name": "xfxfp",
"version": "3.4.0",
"version": "3.5.0",
"description": "Device fingerprint generation for ReactJS and React Native",

@@ -5,0 +5,0 @@ "main": "./dist/src/index.js",

@@ -18,3 +18,3 @@ # Fingerprint #

const finger = new Xfxfp("api-key");
const finger = new Xfxfp();

@@ -21,0 +21,0 @@ useEffect(() => {

@@ -8,8 +8,4 @@ import {ClientJS} from 'clientjs';

private key;
constructor(){}
constructor(){
this.key = "xfxfp14624982brjs";
}
async HMACSHA256(stringToSign, secret){

@@ -148,3 +144,3 @@ return CryptoJS.HmacSHA256(stringToSign, secret);

this.getDeviceData()
.then((_dData) => this._setToken(_dData, this.key))
.then((_dData) => this._setToken(_dData, "xfxfp14624982brjs"))
.then((tk) => {

@@ -151,0 +147,0 @@ resolve(tk);

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc