thor-devkit
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -41,4 +41,4 @@ "use strict"; | ||
const sig = keyPair.sign(msgHash, { canonical: true }); | ||
const r = sig.r.toBuffer('be'); | ||
const s = sig.s.toBuffer('be'); | ||
const r = Buffer.from(sig.r.toArray('be')); | ||
const s = Buffer.from(sig.s.toArray('be')); | ||
return Buffer.concat([r, s, Buffer.from([sig.recoveryParam])]); | ||
@@ -66,2 +66,2 @@ } | ||
})(secp256k1 = exports.secp256k1 || (exports.secp256k1 = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjcDI1NmsxLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NyeS9zZWNwMjU2azEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxtQ0FBb0M7QUFDcEMsdUNBQW1DO0FBRW5DLE1BQU0sS0FBSyxHQUFHLElBQUksYUFBRSxDQUFDLFdBQVcsQ0FBQyxDQUFBO0FBRWpDLE1BQU0sQ0FBQyxHQUFHLE1BQU0sQ0FBQyxJQUFJLENBQUMsa0VBQWtFLENBQUMsQ0FBQTtBQUN6RixNQUFNLElBQUksR0FBRyxNQUFNLENBQUMsS0FBSyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQTtBQUVoQyxTQUFTLGlCQUFpQixDQUFDLEdBQVc7SUFDbEMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLElBQUksR0FBRyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUE7QUFDbEQsQ0FBQztBQUVELDRCQUE0QjtBQUM1QixJQUFpQixTQUFTLENBMER6QjtBQTFERCxXQUFpQixTQUFTO0lBQ3RCLDRCQUE0QjtJQUM1QixTQUFnQixrQkFBa0I7UUFDOUIsU0FBVTtZQUNOLE1BQU0sT0FBT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sQ0FBQyxDQUFBO1FBQ3hCLElBQUksUUFBUSxLQUFLLENBQUMsSUFBSSxRQUFRLEtBQUssQ0FBQyxFQUFFO1lBQ2xDLE1BQU0sSUFBSSxLQUFLLENBQUMsNEJBQTRCLENBQUMsQ0FBQTtTQUNoRDtRQUVELE1BQU0sQ0FBQyxHQUFHLEdBQUcsQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFBO1FBQzFCLE1BQU0sQ0FBQyxHQUFHLEdBQUcsQ0FBQyxLQUFLLENBQUMsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUFBO1FBRTNCLE9BQU8sTUFBTSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsYUFBYSxDQUNsQyxPQUFPLEVBQ1AsRUFBRSxDQUFDLEVBQUUsQ0FBQyxFQUFFLEVBQ1IsUUFBUSxDQUNYLENBQUMsTUFBTSxDQUFDLE9BQU8sRUFBRSxLQUFLLENBQUMsQ0FBQyxDQUFBO0lBQzdCLENBQUM7SUFqQmUsaUJBQU8sVUFpQnRCLENBQUE7QUFDTCxDQUFDLEVBMURnQixTQUFTLEdBQVQsaUJBQVMsS0FBVCxpQkFBUyxRQTBEekIifQ== |
{ | ||
"name": "thor-devkit", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Typescript library to aid DApp development on VeChain Thor", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
106681