@injectivelabs/mito-proto-ts
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -134,2 +134,30 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
} | ||
export interface TransfersHistoryRequest { | ||
vault?: string | undefined; | ||
account?: string | undefined; | ||
pageSize?: string | undefined; | ||
fromNumber?: string | undefined; | ||
toNumber?: string | undefined; | ||
} | ||
export interface TransfersHistoryResponse { | ||
transfers: Transfer[]; | ||
pagination: Pagination | undefined; | ||
} | ||
export interface Transfer { | ||
lpAmount: string; | ||
coins: Coin[]; | ||
usdValue: string; | ||
isDeposit: boolean; | ||
/** time in unix milli */ | ||
executedAt: string; | ||
account: string; | ||
vault: string; | ||
txHash: string; | ||
tidByVault: string; | ||
tidByAccount: string; | ||
} | ||
export interface Coin { | ||
amount: string; | ||
denom: string; | ||
} | ||
export declare const GetVaultsRequest: { | ||
@@ -335,2 +363,34 @@ encode(message: GetVaultsRequest, writer?: _m0.Writer): _m0.Writer; | ||
}; | ||
export declare const TransfersHistoryRequest: { | ||
encode(message: TransfersHistoryRequest, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): TransfersHistoryRequest; | ||
fromJSON(object: any): TransfersHistoryRequest; | ||
toJSON(message: TransfersHistoryRequest): unknown; | ||
create(base?: DeepPartial<TransfersHistoryRequest>): TransfersHistoryRequest; | ||
fromPartial(object: DeepPartial<TransfersHistoryRequest>): TransfersHistoryRequest; | ||
}; | ||
export declare const TransfersHistoryResponse: { | ||
encode(message: TransfersHistoryResponse, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): TransfersHistoryResponse; | ||
fromJSON(object: any): TransfersHistoryResponse; | ||
toJSON(message: TransfersHistoryResponse): unknown; | ||
create(base?: DeepPartial<TransfersHistoryResponse>): TransfersHistoryResponse; | ||
fromPartial(object: DeepPartial<TransfersHistoryResponse>): TransfersHistoryResponse; | ||
}; | ||
export declare const Transfer: { | ||
encode(message: Transfer, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): Transfer; | ||
fromJSON(object: any): Transfer; | ||
toJSON(message: Transfer): unknown; | ||
create(base?: DeepPartial<Transfer>): Transfer; | ||
fromPartial(object: DeepPartial<Transfer>): Transfer; | ||
}; | ||
export declare const Coin: { | ||
encode(message: Coin, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): Coin; | ||
fromJSON(object: any): Coin; | ||
toJSON(message: Coin): unknown; | ||
create(base?: DeepPartial<Coin>): Coin; | ||
fromPartial(object: DeepPartial<Coin>): Coin; | ||
}; | ||
/** Get mito user portfolios, vaults and more */ | ||
@@ -354,2 +414,4 @@ export interface MitoAPI { | ||
Leaderboard(request: DeepPartial<LeaderboardRequest>, metadata?: grpc.Metadata): Promise<LeaderboardResponse>; | ||
/** Return historical transfers (i.e Subscribe - Deposit / Redeem - withdrawal) */ | ||
TransfersHistory(request: DeepPartial<TransfersHistoryRequest>, metadata?: grpc.Metadata): Promise<TransfersHistoryResponse>; | ||
} | ||
@@ -367,2 +429,3 @@ export declare class MitoAPIClientImpl implements MitoAPI { | ||
Leaderboard(request: DeepPartial<LeaderboardRequest>, metadata?: grpc.Metadata): Promise<LeaderboardResponse>; | ||
TransfersHistory(request: DeepPartial<TransfersHistoryRequest>, metadata?: grpc.Metadata): Promise<TransfersHistoryResponse>; | ||
} | ||
@@ -380,2 +443,3 @@ export declare const MitoAPIDesc: { | ||
export declare const MitoAPILeaderboardDesc: UnaryMethodDefinitionish; | ||
export declare const MitoAPITransfersHistoryDesc: UnaryMethodDefinitionish; | ||
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> { | ||
@@ -382,0 +446,0 @@ requestStream: any; |
@@ -134,2 +134,30 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
} | ||
export interface TransfersHistoryRequest { | ||
vault?: string | undefined; | ||
account?: string | undefined; | ||
pageSize?: string | undefined; | ||
fromNumber?: string | undefined; | ||
toNumber?: string | undefined; | ||
} | ||
export interface TransfersHistoryResponse { | ||
transfers: Transfer[]; | ||
pagination: Pagination | undefined; | ||
} | ||
export interface Transfer { | ||
lpAmount: string; | ||
coins: Coin[]; | ||
usdValue: string; | ||
isDeposit: boolean; | ||
/** time in unix milli */ | ||
executedAt: string; | ||
account: string; | ||
vault: string; | ||
txHash: string; | ||
tidByVault: string; | ||
tidByAccount: string; | ||
} | ||
export interface Coin { | ||
amount: string; | ||
denom: string; | ||
} | ||
export declare const GetVaultsRequest: { | ||
@@ -335,2 +363,34 @@ encode(message: GetVaultsRequest, writer?: _m0.Writer): _m0.Writer; | ||
}; | ||
export declare const TransfersHistoryRequest: { | ||
encode(message: TransfersHistoryRequest, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): TransfersHistoryRequest; | ||
fromJSON(object: any): TransfersHistoryRequest; | ||
toJSON(message: TransfersHistoryRequest): unknown; | ||
create(base?: DeepPartial<TransfersHistoryRequest>): TransfersHistoryRequest; | ||
fromPartial(object: DeepPartial<TransfersHistoryRequest>): TransfersHistoryRequest; | ||
}; | ||
export declare const TransfersHistoryResponse: { | ||
encode(message: TransfersHistoryResponse, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): TransfersHistoryResponse; | ||
fromJSON(object: any): TransfersHistoryResponse; | ||
toJSON(message: TransfersHistoryResponse): unknown; | ||
create(base?: DeepPartial<TransfersHistoryResponse>): TransfersHistoryResponse; | ||
fromPartial(object: DeepPartial<TransfersHistoryResponse>): TransfersHistoryResponse; | ||
}; | ||
export declare const Transfer: { | ||
encode(message: Transfer, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): Transfer; | ||
fromJSON(object: any): Transfer; | ||
toJSON(message: Transfer): unknown; | ||
create(base?: DeepPartial<Transfer>): Transfer; | ||
fromPartial(object: DeepPartial<Transfer>): Transfer; | ||
}; | ||
export declare const Coin: { | ||
encode(message: Coin, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): Coin; | ||
fromJSON(object: any): Coin; | ||
toJSON(message: Coin): unknown; | ||
create(base?: DeepPartial<Coin>): Coin; | ||
fromPartial(object: DeepPartial<Coin>): Coin; | ||
}; | ||
/** Get mito user portfolios, vaults and more */ | ||
@@ -354,2 +414,4 @@ export interface MitoAPI { | ||
Leaderboard(request: DeepPartial<LeaderboardRequest>, metadata?: grpc.Metadata): Promise<LeaderboardResponse>; | ||
/** Return historical transfers (i.e Subscribe - Deposit / Redeem - withdrawal) */ | ||
TransfersHistory(request: DeepPartial<TransfersHistoryRequest>, metadata?: grpc.Metadata): Promise<TransfersHistoryResponse>; | ||
} | ||
@@ -367,2 +429,3 @@ export declare class MitoAPIClientImpl implements MitoAPI { | ||
Leaderboard(request: DeepPartial<LeaderboardRequest>, metadata?: grpc.Metadata): Promise<LeaderboardResponse>; | ||
TransfersHistory(request: DeepPartial<TransfersHistoryRequest>, metadata?: grpc.Metadata): Promise<TransfersHistoryResponse>; | ||
} | ||
@@ -380,2 +443,3 @@ export declare const MitoAPIDesc: { | ||
export declare const MitoAPILeaderboardDesc: UnaryMethodDefinitionish; | ||
export declare const MitoAPITransfersHistoryDesc: UnaryMethodDefinitionish; | ||
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> { | ||
@@ -382,0 +446,0 @@ requestStream: any; |
{ | ||
"name": "@injectivelabs/mito-proto-ts", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Injective Mito API client with generated gRPC bindings.", | ||
@@ -5,0 +5,0 @@ "sideEffects": "false", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
252591
6277
0