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

@zerochain/0chain

Package Overview
Dependencies
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zerochain/0chain - npm Package Compare versions

Comparing version 1.3.36 to 1.3.37

15

index.js

@@ -1025,4 +1025,15 @@ /*

const myaccount = response;
myaccount.entity.secretKey = private_key;
myaccount.entity.mnemonic = mnemonic;
if (myaccount.entity === undefined) {
myaccount.entity = {
id: client_id,
public_key: public_key,
version: response.version,
creation_date: response.creation_date,
secretKey: private_key,
mnemonic: mnemonic
};
} else {
myaccount.entity.secretKey = private_key;
myaccount.entity.mnemonic = mnemonic;
}
var ae = new models.Wallet(myaccount.entity);

@@ -1029,0 +1040,0 @@ resolve(ae);

2

package.json
{
"name": "@zerochain/0chain",
"version": "1.3.36",
"version": "1.3.37",
"description": "js client library to interact with 0chain Blockchain",

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

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