Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@near-js/crypto

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@near-js/crypto - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

2

lib/key_pair_ed25519.js

@@ -27,3 +27,3 @@ "use strict";

const secretKey = new Uint8Array(decoded.slice(0, constants_1.KeySize.SECRET_KEY));
const publicKey = ed25519_1.ed25519.getPublicKey(secretKey);
const publicKey = ed25519_1.ed25519.getPublicKey(new Uint8Array(secretKey));
this.publicKey = new public_key_1.PublicKey({ keyType: constants_1.KeyType.ED25519, data: publicKey });

@@ -30,0 +30,0 @@ this.secretKey = (0, utils_1.baseEncode)(secretKey);

{
"name": "@near-js/crypto",
"version": "1.2.3",
"version": "1.2.4",
"description": "Abstractions around NEAR-compatible elliptical curves and cryptographic keys",

@@ -13,4 +13,4 @@ "main": "lib/index.js",

"randombytes": "2.1.0",
"@near-js/types": "0.2.0",
"@near-js/utils": "0.2.1"
"@near-js/types": "0.2.1",
"@near-js/utils": "0.2.2"
},

@@ -17,0 +17,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc