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-93-d523ee6 to 22.2.0-94-feeacfe

6

dist/eosjs-api.js

@@ -170,7 +170,7 @@ "use strict";

e_1 = _a.sent();
e_1.message = "fetching abi for " + accountName + ": " + e_1.message;
e_1.message = "fetching abi for ".concat(accountName, ": ").concat(e_1.message);
throw e_1;
case 4:
if (!cachedAbi) {
throw new Error("Missing abi for " + accountName);
throw new Error("Missing abi for ".concat(accountName));
}

@@ -322,3 +322,3 @@ this.cachedAbis.set(accountName, cachedAbi);

if (transactionExtension === undefined) {
throw new Error("Transaction Extension could not be determined: " + extensionData);
throw new Error("Transaction Extension could not be determined: ".concat(extensionData));
}

@@ -325,0 +325,0 @@ var types = ser.getTypesFromAbi(ser.createTransactionExtensionTypes());

@@ -406,2 +406,4 @@ /**

first_block_num?: number;
total_cpu_weight?: number;
total_net_weight?: number;
}

@@ -408,0 +410,0 @@ /** Return value of /v1/chain/get_producer_schedule */

@@ -120,3 +120,3 @@ "use strict";

publicKeyHex = publicKeyEc.getPublic('hex');
derHex = "308187020100301306072a8648ce3d020106082a8648ce3d030107046d306b0201010420" + privateKeyHex + "a144034200" + publicKeyHex;
derHex = "308187020100301306072a8648ce3d020106082a8648ce3d030107046d306b0201010420".concat(privateKeyHex, "a144034200").concat(publicKeyHex);
derBinary = Buffer.from(derHex, 'hex').toString('binary');

@@ -123,0 +123,0 @@ pkcs8ArrayBuffer = (0, eosjs_numeric_1.stringToArray)(derBinary);

@@ -126,3 +126,3 @@ "use strict";

publicKeyHex = publicKeyEc.getPublic('hex');
derHex = "3059301306072a8648ce3d020106082a8648ce3d030107034200" + publicKeyHex;
derHex = "3059301306072a8648ce3d020106082a8648ce3d030107034200".concat(publicKeyHex);
derBase64 = Buffer.from(derHex, 'hex').toString('binary');

@@ -129,0 +129,0 @@ spkiArrayBuffer = (0, eosjs_numeric_1.stringToArray)(derBase64);

{
"name": "eosjs",
"version": "22.2.0-93-d523ee6",
"version": "22.2.0-94-feeacfe",
"description": "Talk to eos API",

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

"@cypress/skip-test": "^2.6.1",
"@types/elliptic": "^6.4.13",
"@types/elliptic": "^6.4.14",
"@types/jest": "^26.0.24",
"@types/node": "^14.17.27",
"@types/node": "^14.18.0",
"@types/node-fetch": "^2.5.12",

@@ -62,4 +62,4 @@ "@types/pako": "^1.0.2",

"ts-loader": "^9.2.6",
"typescript": "^4.4.4",
"webpack": "^5.58.2",
"typescript": "^4.5.4",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1"

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc