From 9c4eb57f554f23db3dc51eeec1248df10dbc515a Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Tue, 23 Mar 2021 14:27:36 +0100 Subject: [PATCH] Add deprecation notice to PubKey --- packages/launchpad/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/launchpad/src/index.ts b/packages/launchpad/src/index.ts index 11da4d29..14db51fa 100644 --- a/packages/launchpad/src/index.ts +++ b/packages/launchpad/src/index.ts @@ -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 };