Add deprecation notice to PubKey

This commit is contained in:
Simon Warta 2021-03-23 14:27:36 +01:00
parent 8e9cd145cd
commit 9c4eb57f55

View File

@ -7,8 +7,10 @@ export {
encodeSecp256k1Pubkey,
pubkeyToAddress,
pubkeyType,
SinglePubkey as PubKey,
} from "@cosmjs/amino";
import { SinglePubkey } from "@cosmjs/amino";
/** @deprecated PubKey is deprecated. Use `SinglePubkey` or the more general `Pubkey` from `@cosmjs/amino`. */
export type PubKey = SinglePubkey;
import * as logs from "./logs";
export { logs };