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

@libp2p/crypto

Package Overview
Dependencies
Maintainers
6
Versions
574
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/crypto - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1-34455b5f2

2

dist/src/keys/index.js

@@ -61,3 +61,3 @@ /**

}
else if (buf.byteLength === 34) {
else if (buf.byteLength === 33) {
return unmarshalSecp256k1PublicKey(buf);

@@ -64,0 +64,0 @@ }

{
"name": "@libp2p/crypto",
"version": "5.0.0",
"version": "5.0.1-34455b5f2",
"description": "Crypto primitives for libp2p",

@@ -95,3 +95,3 @@ "license": "Apache-2.0 OR MIT",

"dependencies": {
"@libp2p/interface": "^2.0.0",
"@libp2p/interface": "2.0.1-34455b5f2",
"@noble/curves": "^1.4.0",

@@ -98,0 +98,0 @@ "@noble/hashes": "^1.4.0",

@@ -88,3 +88,3 @@ /**

return unmarshalEd25519PublicKey(buf)
} else if (buf.byteLength === 34) {
} else if (buf.byteLength === 33) {
return unmarshalSecp256k1PublicKey(buf)

@@ -91,0 +91,0 @@ } else {

Sorry, the diff of this file is too big to display

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