mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-06-29 07:41:35 +00:00
Rename toB58String to getPeerId (#178)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fluencelabs/keypair",
|
||||
"version": "0.1.0",
|
||||
"version": "0.2.0",
|
||||
"description": "Keypair implementation for Fluence JS Peer",
|
||||
"main": "./dist/index.js",
|
||||
"typings": "./dist/index.d.ts",
|
||||
|
@ -49,7 +49,7 @@ export class KeyPair {
|
||||
return new KeyPair(lib2p2Pid);
|
||||
}
|
||||
|
||||
toB58String(): string {
|
||||
getPeerId(): string {
|
||||
return this.Libp2pPeerId.toB58String();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user