stargate: Fix codec export

This commit is contained in:
willclarktech 2020-11-24 10:44:19 +00:00
parent 0d4531bf4e
commit c0710b17a2
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7
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;