|
console.log('Overlay:', new Bytes(addresses.overlay.bytes).toHex()) |
|
console.log('Ethereum:', new Bytes(addresses.ethereum.bytes).toHex()) |
|
console.log('Public Key:', new Bytes(addresses.publicKey.bytes).toHex()) |
|
console.log('PSS Public Key:', new Bytes(addresses.pssPublicKey.bytes).toHex()) |
Bee-JS should return these fields properly typed:
export interface NodeAddresses {
overlay: PeerAddress
underlay: string[]
ethereum: EthAddress
publicKey: PublicKey
pssPublicKey: PublicKey
}
The new Bytes(x).toHex() could be replaced with x.toHex() in all cases. Please let me know if that is not the case - that is a bug in Bee-JS.
bee-js-docs/docs/documentation/status.md
Lines 261 to 264 in 096c7c9
Bee-JS should return these fields properly typed:
The
new Bytes(x).toHex()could be replaced withx.toHex()in all cases. Please let me know if that is not the case - that is a bug in Bee-JS.