Socket
Socket
Sign inDemoInstall

eosjs

Package Overview
Dependencies
15
Maintainers
4
Versions
292
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 22.2.0-87-37241e0 to 22.2.0-88-432a6bd

6

dist/eosjs-numeric.js

@@ -44,4 +44,4 @@ "use strict";

var hash_js_1 = require("hash.js");
var RIPEMD160 = require("ripemd160");
// copyright defined in eosjs/LICENSE.txt
var ripemd160 = require('./ripemd').RIPEMD160.hash;
var base58Chars = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';

@@ -359,3 +359,3 @@ var base64Chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

}
return ripemd160(d);
return new RIPEMD160().update(Buffer.from(d)).digest();
};

@@ -394,3 +394,3 @@ var stringToKey = function (s, type, size, suffix) {

}
var digest = new Uint8Array(ripemd160(key.data));
var digest = new Uint8Array(new RIPEMD160().update(Buffer.from(key.data)).digest());
if (digest[0] !== whole[exports.publicKeyDataSize] || digest[1] !== whole[34]

@@ -397,0 +397,0 @@ || digest[2] !== whole[35] || digest[3] !== whole[36]) {

{
"name": "eosjs",
"version": "22.2.0-87-37241e0",
"version": "22.2.0-88-432a6bd",
"description": "Talk to eos API",

@@ -16,3 +16,3 @@ "main": "dist/index.js",

"test-all": "yarn test && yarn test-node && yarn test-types && yarn cypress",
"build": "rimraf dist && tsc -p ./tsconfig.json && node scripts/copy-ripe-md.js",
"build": "rimraf dist && tsc -p ./tsconfig.json",
"build-web": "webpack --config webpack.prod.js && webpack --config webpack.debug.js",

@@ -43,5 +43,6 @@ "build-production": "yarn build && yarn build-web && yarn test-all",

"@types/jest": "^26.0.24",
"@types/node": "^14.17.18",
"@types/node": "^14.17.19",
"@types/node-fetch": "^2.5.12",
"@types/pako": "^1.0.2",
"@types/ripemd160": "^2.0.0",
"atob": "^2.1.2",

@@ -63,3 +64,3 @@ "btoa": "^1.2.1",

"typescript": "^4.4.3",
"webpack": "^5.54.0",
"webpack": "^5.55.0",
"webpack-cli": "^4.8.0"

@@ -66,0 +67,0 @@ },

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