@initia/initia.js 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { BaseAPI } from './BaseAPI';
2
2
  import { APIParams, Pagination, PaginationOptions } from '../APIRequester';
3
- import { IdentifiedClientState, ClientConsensusStates, Channel, IdentifiedConnection, Height, IbcClientParams, IdentifiedChannel } from '../../../core';
3
+ import { IdentifiedClientState, Channel, IdentifiedConnection, Height, IbcClientParams, IdentifiedChannel, ConsensusStateWithHeight } from '../../../core';
4
4
  export interface ClientState {
5
5
  client_state: any;
6
6
  proof: string | null;
@@ -35,7 +35,7 @@ export declare class IbcAPI extends BaseAPI {
35
35
  clientStates(params?: Partial<PaginationOptions & APIParams>, headers?: Record<string, string>): Promise<[IdentifiedClientState[], Pagination]>;
36
36
  clientState(client_id: string, params?: APIParams, headers?: Record<string, string>): Promise<ClientState>;
37
37
  clientStatus(client_id: string, params?: APIParams, headers?: Record<string, string>): Promise<string>;
38
- consensusStates(client_id: string, params?: Partial<PaginationOptions & APIParams>, headers?: Record<string, string>): Promise<[ClientConsensusStates, Pagination]>;
38
+ consensusStates(client_id: string, params?: Partial<PaginationOptions & APIParams>, headers?: Record<string, string>): Promise<[ConsensusStateWithHeight[], Pagination]>;
39
39
  consensusStateHeights(client_id: string, params?: Partial<PaginationOptions & APIParams>, headers?: Record<string, string>): Promise<[Height[], Pagination]>;
40
40
  unreceivedPackets(port_id: string, channel_id: string, sequences: number[], params?: APIParams, headers?: Record<string, string>): Promise<{
41
41
  sequences: string[];
@@ -0,0 +1,3 @@
1
+ import { SignMode as SignMode_pb } from '@initia/initia.proto/cosmos/tx/signing/v1beta1/signing';
2
+ export declare const SignMode: typeof SignMode_pb;
3
+ export type SignMode = SignMode_pb;
@@ -2,5 +2,6 @@ export * from './Fee';
2
2
  export * from './MultiSignature';
3
3
  export * from './SignatureV2';
4
4
  export * from './SignDoc';
5
+ export * from './SignMode';
5
6
  export * from './Tx';
6
7
  export * from './TxInfo';