@zerochain/0chain
Advanced tools
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); |
{ | ||
"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", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
175076
1719
0