cosmwasm: Export some types and functions
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
export { isValidBuilder } from "./builder";
|
||||
export { Expiration } from "./interfaces";
|
||||
export { setupWasmExtension, WasmExtension } from "./lcdapi/wasm";
|
||||
|
||||
@@ -32,6 +33,7 @@ export {
|
||||
VotersResult,
|
||||
} from "./cw3cosmwasmclient";
|
||||
export {
|
||||
ChangeAdminResult,
|
||||
ExecuteResult,
|
||||
CosmWasmFeeTable,
|
||||
InstantiateOptions,
|
||||
@@ -55,3 +57,4 @@ export {
|
||||
MsgUpdateAdmin,
|
||||
MsgStoreCode,
|
||||
} from "./msgs";
|
||||
export { JsonObject, parseWasmData, WasmData } from "./types";
|
||||
|
||||
@@ -22,6 +22,6 @@ export function parseWasmData({ key, val }: WasmData): Model {
|
||||
|
||||
/**
|
||||
* An object containing a parsed JSON document. The result of JSON.parse().
|
||||
* This doen't privide any type safety over `any` but expresses intent in the code.
|
||||
* This doesn't provide any type safety over `any` but expresses intent in the code.
|
||||
*/
|
||||
export type JsonObject = any;
|
||||
|
||||
Vendored
+3
@@ -1,3 +1,4 @@
|
||||
export { isValidBuilder } from "./builder";
|
||||
export { Expiration } from "./interfaces";
|
||||
export { setupWasmExtension, WasmExtension } from "./lcdapi/wasm";
|
||||
export { BankMsg, CosmosMsg, CustomMsg, StakingMsg, WasmMsg } from "./cosmosmsg";
|
||||
@@ -31,6 +32,7 @@ export {
|
||||
VotersResult,
|
||||
} from "./cw3cosmwasmclient";
|
||||
export {
|
||||
ChangeAdminResult,
|
||||
ExecuteResult,
|
||||
CosmWasmFeeTable,
|
||||
InstantiateOptions,
|
||||
@@ -54,3 +56,4 @@ export {
|
||||
MsgUpdateAdmin,
|
||||
MsgStoreCode,
|
||||
} from "./msgs";
|
||||
export { JsonObject, parseWasmData, WasmData } from "./types";
|
||||
|
||||
Vendored
+1
-1
@@ -9,6 +9,6 @@ export interface Model {
|
||||
export declare function parseWasmData({ key, val }: WasmData): Model;
|
||||
/**
|
||||
* An object containing a parsed JSON document. The result of JSON.parse().
|
||||
* This doen't privide any type safety over `any` but expresses intent in the code.
|
||||
* This doesn't provide any type safety over `any` but expresses intent in the code.
|
||||
*/
|
||||
export declare type JsonObject = any;
|
||||
|
||||
Reference in New Issue
Block a user