Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@owlnext/heimdall-js

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@owlnext/heimdall-js - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

8

dist/api/http-client/http-client.js

@@ -63,4 +63,2 @@ "use strict";

return this.generateSecurityHeader().then(secHeader => {
console.log("--- complete security header ---");
console.log(secHeader);
payload.headers = {

@@ -76,4 +74,2 @@ 'Content-Type': 'application/json',

}
console.log("--- request payload ---");
console.log(payload);
return axios_1.default.request(payload)

@@ -95,4 +91,2 @@ .then(res => {

return this._fingerprintUtils.getFingerprint().then(fingerprint => {
console.log("--- request fingerprint ---");
console.log(fingerprint);
this._fingerprint = fingerprint;

@@ -103,4 +97,2 @@ return Promise.resolve(this.makeHeimdallHeader(fingerprint));

this.makeHeimdallHeader = (fingerprint) => {
console.log("--- heimdall header fingerprint ---");
console.log(fingerprint);
const nonce = (0, uuid_1.v4)();

@@ -107,0 +99,0 @@ const cipher = (0, js_sha512_1.sha512)(fingerprint + '' + nonce);

4

dist/heimdall.js

@@ -64,4 +64,2 @@ "use strict";

return this.api.authenticate_by_token(props).then((result) => {
console.log("--- auth result ---");
console.log(result);
resolve(result);

@@ -219,4 +217,2 @@ });

let fingerprint = yield this.api.httpClient.fingerprintUtils.getFingerprint();
console.log("--- generated fingerprint ---");
console.log(fingerprint);
return Promise.resolve(fingerprint);

@@ -223,0 +219,0 @@ });

4

package.json
{
"name": "@owlnext/heimdall-js",
"version": "1.0.19",
"version": "1.0.20",
"description": "Heimdall API client & utils for javascript technologies",

@@ -49,2 +49,2 @@ "main": "dist/index.js",

}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc