New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/peer-id-factory

Package Overview
Dependencies
Maintainers
6
Versions
448
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/peer-id-factory - npm Package Compare versions

Comparing version 2.0.3-8b0e6bef to 2.0.3-a1ec46b5

2

dist/src/index.d.ts

@@ -0,3 +1,3 @@

import type { PublicKey, PrivateKey } from '@libp2p/interface/keys';
import type { RSAPeerId, Ed25519PeerId, Secp256k1PeerId, PeerId } from '@libp2p/interface/peer-id';
import type { PublicKey, PrivateKey } from '@libp2p/interface-keys';
export declare const createEd25519PeerId: () => Promise<Ed25519PeerId>;

@@ -4,0 +4,0 @@ export declare const createSecp256k1PeerId: () => Promise<Secp256k1PeerId>;

{
"name": "@libp2p/peer-id-factory",
"version": "2.0.3-8b0e6bef",
"version": "2.0.3-a1ec46b5",
"description": "Create PeerId instances",

@@ -55,6 +55,5 @@ "license": "Apache-2.0 OR MIT",

"dependencies": {
"@libp2p/crypto": "1.0.17-8b0e6bef",
"@libp2p/interface": "0.0.1-8b0e6bef",
"@libp2p/interface-keys": "^1.0.0",
"@libp2p/peer-id": "2.0.3-8b0e6bef",
"@libp2p/crypto": "1.0.17-a1ec46b5",
"@libp2p/interface": "0.0.1-a1ec46b5",
"@libp2p/peer-id": "2.0.3-a1ec46b5",
"multiformats": "^12.0.1",

@@ -66,3 +65,3 @@ "protons-runtime": "^5.0.0",

"devDependencies": {
"aegir": "^39.0.10",
"aegir": "^39.0.13",
"protons": "^7.0.2"

@@ -69,0 +68,0 @@ },

@@ -5,4 +5,4 @@ import { generateKeyPair, marshalPrivateKey, unmarshalPrivateKey, marshalPublicKey, unmarshalPublicKey } from '@libp2p/crypto/keys'

import { PeerIdProto } from './proto.js'
import type { PublicKey, PrivateKey } from '@libp2p/interface/keys'
import type { RSAPeerId, Ed25519PeerId, Secp256k1PeerId, PeerId } from '@libp2p/interface/peer-id'
import type { PublicKey, PrivateKey } from '@libp2p/interface-keys'

@@ -9,0 +9,0 @@ export const createEd25519PeerId = async (): Promise<Ed25519PeerId> => {

Sorry, the diff of this file is not supported yet

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