File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -906,7 +906,7 @@ Get the known `PublicKey` of a provided peer.
906
906
907
907
| Type | Description |
908
908
| ------| -------------|
909
- | `RsaPublicKey| Ed25519PublicKey| Secp256k1PublicKey` | Peer PublicKey |
909
+ | [ ` RsaPublicKey\ |Ed25519PublicKey\ |Secp256k1PublicKey ` ] [ keys ] | Peer PublicKey |
910
910
911
911
#### Example
912
912
@@ -929,7 +929,7 @@ Set known `peerId`. This can include its Public Key.
929
929
| Name | Type | Description |
930
930
| ------| ------| -------------|
931
931
| peerId | [ ` PeerId ` ] [ peer-id ] | peerId to set |
932
- | publicKey | [ `RsaPublicKey| Ed25519PublicKey| Secp256k1PublicKey`] [ keys ] | peer's public key |
932
+ | publicKey | [ ` RsaPublicKey\ |Ed25519PublicKey\ |Secp256k1PublicKey ` ] [ keys ] | peer's public key |
933
933
934
934
#### Returns
935
935
@@ -1884,4 +1884,4 @@ This event will be triggered anytime we are disconnected from another peer, rega
1884
1884
[ connection ] : https://github.com/libp2p/js-interfaces/tree/master/src/connection
1885
1885
[ multiaddr ] : https://github.com/multiformats/js-multiaddr
1886
1886
[ peer-id ] : https://github.com/libp2p/js-peer-id
1887
- [ keys ] : https://github.com/libp2p/js-libp2p-crypto/tree/master/src/keys
1887
+ [ keys ] : https://github.com/libp2p/js-libp2p-crypto/tree/master/src/keys
You can’t perform that action at this time.
0 commit comments