@waves/ride-js
Advanced tools
Comparing version 1.1.0-beta.9 to 1.1.0-beta.10
{ | ||
"name": "@waves/ride-js", | ||
"version": "1.1.0-beta.9", | ||
"version": "1.1.0-beta.10", | ||
"description": "Js compiler for Ride - Waves smart contract language.", | ||
@@ -43,4 +43,4 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@waves/ts-lib-crypto": "^1.1.1" | ||
"@waves/ts-lib-crypto": "^1.2.0" | ||
} | ||
} |
@@ -27,4 +27,4 @@ const crypto = require('@waves/ts-lib-crypto'); | ||
}; | ||
global.merkleVerify = function (rootHash, merkleProof, leafData) {//fixme | ||
throw new Error('merkleVerify not implemented') | ||
global.merkleVerify = function (rootHash, merkleProof, leafData) { | ||
return crypto.merkleVerify(new Uint8Array(rootHash), new Uint8Array(merkleProof), new Uint8Array(leafData)) | ||
}; | ||
@@ -52,1 +52,3 @@ global.rsaVerify = function (digest, msg, sig, key) { | ||
}; | ||
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2789316
11269
Updated@waves/ts-lib-crypto@^1.2.0