Merge pull request #545 from cosmos/fix-stargate-codec-export

Fix Stargate codec export
This commit is contained in:
Will Clark 2020-11-24 12:21:37 +01:00 committed by GitHub
commit f17cbcb43f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,8 @@
/**
* This codec is derived from the Cosmos SDK protocol buffer definitions and can change at any time.
* @packageDocumentation
*/
import Long from "long";
import protobuf from "protobufjs/minimal";

View File

@ -1,4 +1,4 @@
import * as codecImport from "./codec";
export * as codec from "./codec";
export {
AuthExtension,
BankExtension,
@ -10,6 +10,3 @@ export {
} from "./queries";
export { assertIsBroadcastTxSuccess, StargateClient } from "./stargateclient";
export { SigningStargateClient } from "./signingstargateclient";
/** This codec is derived from the Cosmos SDK protocol buffer definitions and can change at any time. */
export const codec = codecImport;

View File

@ -1 +1,5 @@
/**
* This codec is derived from the Cosmos SDK protocol buffer definitions and can change at any time.
* @packageDocumentation
*/
export * from "./generated/codecimpl";

View File

@ -1,4 +1,4 @@
import * as codecImport from "./codec";
export * as codec from "./codec";
export {
AuthExtension,
BankExtension,
@ -10,5 +10,3 @@ export {
} from "./queries";
export { assertIsBroadcastTxSuccess, StargateClient } from "./stargateclient";
export { SigningStargateClient } from "./signingstargateclient";
/** This codec is derived from the Cosmos SDK protocol buffer definitions and can change at any time. */
export declare const codec: typeof codecImport;