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-ea8a0637 to 2.0.3-eabf6f36

4

dist/src/index.d.ts

@@ -1,3 +0,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';
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-ea8a0637",
"version": "2.0.3-eabf6f36",
"description": "Create PeerId instances",

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

"dependencies": {
"@libp2p/crypto": "1.0.17-ea8a0637",
"@libp2p/interface-keys": "1.0.8-ea8a0637",
"@libp2p/interface-peer-id": "2.0.2-ea8a0637",
"@libp2p/peer-id": "2.0.3-ea8a0637",
"multiformats": "^11.0.2",
"@libp2p/crypto": "1.0.17-eabf6f36",
"@libp2p/interface": "0.0.1-eabf6f36",
"@libp2p/peer-id": "2.0.3-eabf6f36",
"multiformats": "^12.0.1",
"protons-runtime": "^5.0.0",
"uint8arraylist": "^2.4.3",
"uint8arrays": "^4.0.3"
"uint8arrays": "^4.0.4"
},
"devDependencies": {
"aegir": "^39.0.10",
"aegir": "^40.0.1",
"protons": "^7.0.2"
},
"typedoc": {
"entryPoint": "./src/index.ts"
}
}

@@ -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'
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

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