Huge News!Announcing our $40M Series B led by Abstract Ventures.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-3dfc236e to 2.0.3-42c1c097

2

dist/src/index.d.ts

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

import type { RSAPeerId, Ed25519PeerId, Secp256k1PeerId, PeerId } from '@libp2p/interface/peer-id';
import type { PublicKey, PrivateKey } from '@libp2p/interface-keys';
import type { RSAPeerId, Ed25519PeerId, Secp256k1PeerId, PeerId } from '@libp2p/interface-peer-id';
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-3dfc236e",
"version": "2.0.3-42c1c097",
"description": "Create PeerId instances",

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

"dependencies": {
"@libp2p/crypto": "1.0.17-3dfc236e",
"@libp2p/interface-keys": "1.0.8-3dfc236e",
"@libp2p/interface-peer-id": "2.0.2-3dfc236e",
"@libp2p/peer-id": "2.0.3-3dfc236e",
"multiformats": "^11.0.2",
"@libp2p/crypto": "1.0.17-42c1c097",
"@libp2p/interface": "0.0.1-42c1c097",
"@libp2p/interface-keys": "^1.0.0",
"@libp2p/peer-id": "2.0.3-42c1c097",
"multiformats": "^12.0.1",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.3"
"uint8arrays": "^4.0.4"
},

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

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

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

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

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

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