nostr-tools
Advanced tools
Comparing version 0.21.0 to 0.21.1
@@ -39,3 +39,3 @@ import aes from 'browserify-cipher' | ||
function getOnlyXFromFullSharedSecret(fullSharedSecretCoordinates) { | ||
return fullSharedSecretCoordinates.substr(2, 64) | ||
return Buffer.from(fullSharedSecretCoordinates).toString('hex').substr(2, 64) | ||
} |
{ | ||
"name": "nostr-tools", | ||
"version": "0.21.0", | ||
"version": "0.21.1", | ||
"description": "Tools for making a Nostr client.", | ||
@@ -5,0 +5,0 @@ "repository": { |
22238