Accepts a libp2p public key, a CID with the libp2p-key codec and either the
identity hash (for Ed25519 and secp256k1 public keys) or a SHA256 hash (for
RSA public keys), or the multihash of a libp2p-key encoded CID, or a
Ed25519, secp256k1 or RSA PeerId and recursively resolves the IPNS record
corresponding to that key until a value is found.
Accepts a libp2p public key, a CID with the libp2p-key codec and either the identity hash (for Ed25519 and secp256k1 public keys) or a SHA256 hash (for RSA public keys), or the multihash of a libp2p-key encoded CID, or a Ed25519, secp256k1 or RSA PeerId and recursively resolves the IPNS record corresponding to that key until a value is found.