New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

binance-api-aziz

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binance-api-aziz - npm Package Compare versions

Comparing version 0.12.16 to 0.12.17

7

dist/http-client.js

@@ -222,10 +222,9 @@ "use strict";

console.log('path', path);
console.log('apiSecret', apiSecret);
console.log('data', makeQueryString(_objectSpread(_objectSpread({}, data), {}, {
var query_string = makeQueryString(_objectSpread(_objectSpread({}, data), {}, {
timestamp: timestamp
})).replace('?', ''));
})).replace('?', '');
var signature = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, apiSecret).update(makeQueryString(_objectSpread(_objectSpread({}, data), {}, {
timestamp: timestamp
}))).finalize().toString(CryptoJS.enc.Hex);
console.log("\n const signature = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, ".concat(apiSecret, ")\n .update(").concat(query_string, ")\n .finalize()\n .toString(CryptoJS.enc.Hex)"));
console.log('signature', signature);

@@ -232,0 +231,0 @@ var newData = noExtra ? data : _objectSpread(_objectSpread({}, data), {}, {

{
"name": "binance-api-aziz",
"version": "0.12.16",
"version": "0.12.17",
"description": "A node API wrapper for Binance",

@@ -5,0 +5,0 @@ "main": "dist",

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