@multiversx/sdk-wallet
Advanced tools
Comparing version 4.2.0-alpha.3 to 4.2.0-alpha.4
@@ -13,3 +13,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
require("./globals"); | ||
__exportStar(require("./mnemonic"), exports); | ||
@@ -16,0 +15,0 @@ __exportStar(require("./pem"), exports); |
@@ -51,3 +51,3 @@ "use strict"; | ||
sign(message) { | ||
const signature = ed.sync.sign(message, this.buffer); | ||
const signature = ed.sync.sign(new Uint8Array(message), new Uint8Array(this.buffer)); | ||
return Buffer.from(signature); | ||
@@ -70,3 +70,3 @@ } | ||
try { | ||
const ok = ed.sync.verify(signature, data, this.buffer); | ||
const ok = ed.sync.verify(new Uint8Array(signature), new Uint8Array(data), new Uint8Array(this.buffer)); | ||
return ok; | ||
@@ -73,0 +73,0 @@ } |
{ | ||
"name": "@multiversx/sdk-wallet", | ||
"version": "4.2.0-alpha.3", | ||
"version": "4.2.0-alpha.4", | ||
"description": "Wallet components for MultiversX", | ||
@@ -5,0 +5,0 @@ "main": "out/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
83520
72
1391