@helium/crypto-react-native
Advanced tools
Comparing version 3.50.0 to 3.60.0
@@ -32,4 +32,4 @@ "use strict"; | ||
const CS = ENT / 32; | ||
const hash = js_sha256_1.sha256(entropyBuffer); | ||
return exports.bytesToBinary([].slice.call(hash)).slice(0, CS); | ||
const hash = js_sha256_1.sha256.digest(entropyBuffer); | ||
return exports.bytesToBinary(Array.from(hash)).slice(0, CS); | ||
}; | ||
@@ -36,0 +36,0 @@ exports.deriveChecksumBits = deriveChecksumBits; |
{ | ||
"name": "@helium/crypto-react-native", | ||
"version": "3.50.0", | ||
"version": "3.60.0", | ||
"description": "Cryptography utilities including mnemonics, keypairs and base58-check encoding for React Native", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "92f545728b81e03c3cf238b4b98e743e87c003e0" | ||
"gitHead": "4b9b123f61969cc357d1bc44b1e7f88bd974d7aa" | ||
} |
Sorry, the diff of this file is not supported yet
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
71671
1