@subql/types-cosmos
Advanced tools
Comparing version 3.5.1-0 to 3.5.1-1
import { CosmWasmClient } from '@cosmjs/cosmwasm-stargate'; | ||
import { DecodedTxRaw } from '@cosmjs/proto-signing'; | ||
import { Event } from '@cosmjs/stargate'; | ||
import { Log } from '@cosmjs/stargate/build/logs'; | ||
import { Validator, TxData, Block, BlockId, Header } from '@cosmjs/tendermint-rpc/build/tendermint37'; | ||
import type { tendermint34, tendermint37, comet38 } from '@cosmjs/tendermint-rpc'; | ||
import Long from 'long'; | ||
export type Block = tendermint34.Block | tendermint37.Block | comet38.Block; | ||
export type BlockId = tendermint34.BlockId | tendermint37.BlockId | comet38.BlockId; | ||
export type Validator = tendermint34.Validator | tendermint37.Validator | comet38.Validator; | ||
export type TxData = tendermint34.TxData | tendermint37.TxData | comet38.TxData; | ||
export type TxEvent = tendermint34.Event | tendermint37.Event | comet38.Event; | ||
export type Header = tendermint34.Header | tendermint37.Header | comet38.Header; | ||
export interface CosmWasmSafeClient extends CosmWasmClient { | ||
@@ -43,3 +48,3 @@ validators: () => Promise<readonly Validator[]>; | ||
log: Log; | ||
event: Event; | ||
event: TxEvent; | ||
} | ||
@@ -46,0 +51,0 @@ export type DynamicDatasourceCreator = (name: string, args: Record<string, unknown>) => Promise<void>; |
@@ -10,3 +10,3 @@ "use strict"; | ||
CosmosDatasourceKind["Custom"] = "cosmos/Custom"; | ||
})(CosmosDatasourceKind = exports.CosmosDatasourceKind || (exports.CosmosDatasourceKind = {})); | ||
})(CosmosDatasourceKind || (exports.CosmosDatasourceKind = CosmosDatasourceKind = {})); | ||
/** | ||
@@ -34,3 +34,3 @@ * Enum representing the kind of Cosmos handler. | ||
CosmosHandlerKind["Event"] = "cosmos/EventHandler"; | ||
})(CosmosHandlerKind = exports.CosmosHandlerKind || (exports.CosmosHandlerKind = {})); | ||
})(CosmosHandlerKind || (exports.CosmosHandlerKind = CosmosHandlerKind = {})); | ||
//# sourceMappingURL=project.js.map |
{ | ||
"name": "@subql/types-cosmos", | ||
"version": "3.5.1-0", | ||
"version": "3.5.1-1", | ||
"description": "", | ||
@@ -24,3 +24,3 @@ "homepage": "https://github.com/subquery/subql-cosmos", | ||
}, | ||
"stableVersion": "3.5.0" | ||
"stableVersion": "3.5.1-0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
483
134022