@libp2p/peer-id-factory
Advanced tools
Comparing version 2.0.3-06f4901a to 2.0.3-1f7e18b0
@@ -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-06f4901a", | ||
"version": "2.0.3-1f7e18b0", | ||
"description": "Create PeerId instances", | ||
@@ -55,6 +55,5 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@libp2p/crypto": "1.0.17-06f4901a", | ||
"@libp2p/interface": "0.0.1-06f4901a", | ||
"@libp2p/interface-keys": "^1.0.0", | ||
"@libp2p/peer-id": "2.0.3-06f4901a", | ||
"@libp2p/crypto": "1.0.17-1f7e18b0", | ||
"@libp2p/interface": "0.0.1-1f7e18b0", | ||
"@libp2p/peer-id": "2.0.3-1f7e18b0", | ||
"multiformats": "^12.0.1", | ||
@@ -66,8 +65,5 @@ "protons-runtime": "^5.0.0", | ||
"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' | ||
@@ -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
7
275389
+ Added@libp2p/crypto@1.0.17-1f7e18b0(transitive)
+ Added@libp2p/interface@0.0.1-1f7e18b0(transitive)
+ Added@libp2p/peer-id@2.0.3-1f7e18b0(transitive)
- Removed@libp2p/interface-keys@^1.0.0
- Removed@libp2p/crypto@1.0.17-06f4901a(transitive)
- Removed@libp2p/interface@0.0.1-06f4901a(transitive)
- Removed@libp2p/interface-keys@1.0.8(transitive)
- Removed@libp2p/peer-id@2.0.3-06f4901a(transitive)
- Removedany-signal@4.1.1(transitive)