@injectivelabs/dmm-proto-ts
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -17,13 +17,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
} | ||
export interface GetLiquiditySnapshotsRequest { | ||
epochId: string; | ||
marketId: string; | ||
accountAddress: string; | ||
/** Optional */ | ||
page: Pagination | undefined; | ||
} | ||
export interface GetLiquiditySnapshotsResponse { | ||
snapshots: LiquidityScoreSnapshot[]; | ||
next: Pagination | undefined; | ||
} | ||
export interface GetTotalScoresRequest { | ||
@@ -144,16 +133,2 @@ epochId: string; | ||
} | ||
export interface LiquidityScoreSnapshot { | ||
epochId: string; | ||
marketId: string; | ||
accountAddress: string; | ||
height: string; | ||
blockTime: Date | undefined; | ||
bid: string; | ||
ask: string; | ||
depth: string; | ||
liquidityScore: string; | ||
uptimeScore: string; | ||
createdAt: Date | undefined; | ||
updatedAt: Date | undefined; | ||
} | ||
export interface TotalScore { | ||
@@ -300,18 +275,2 @@ epochId: string; | ||
}; | ||
export declare const GetLiquiditySnapshotsRequest: { | ||
encode(message: GetLiquiditySnapshotsRequest, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): GetLiquiditySnapshotsRequest; | ||
fromJSON(object: any): GetLiquiditySnapshotsRequest; | ||
toJSON(message: GetLiquiditySnapshotsRequest): unknown; | ||
create(base?: DeepPartial<GetLiquiditySnapshotsRequest>): GetLiquiditySnapshotsRequest; | ||
fromPartial(object: DeepPartial<GetLiquiditySnapshotsRequest>): GetLiquiditySnapshotsRequest; | ||
}; | ||
export declare const GetLiquiditySnapshotsResponse: { | ||
encode(message: GetLiquiditySnapshotsResponse, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): GetLiquiditySnapshotsResponse; | ||
fromJSON(object: any): GetLiquiditySnapshotsResponse; | ||
toJSON(message: GetLiquiditySnapshotsResponse): unknown; | ||
create(base?: DeepPartial<GetLiquiditySnapshotsResponse>): GetLiquiditySnapshotsResponse; | ||
fromPartial(object: DeepPartial<GetLiquiditySnapshotsResponse>): GetLiquiditySnapshotsResponse; | ||
}; | ||
export declare const GetTotalScoresRequest: { | ||
@@ -485,10 +444,2 @@ encode(message: GetTotalScoresRequest, writer?: _m0.Writer): _m0.Writer; | ||
}; | ||
export declare const LiquidityScoreSnapshot: { | ||
encode(message: LiquidityScoreSnapshot, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): LiquidityScoreSnapshot; | ||
fromJSON(object: any): LiquidityScoreSnapshot; | ||
toJSON(message: LiquidityScoreSnapshot): unknown; | ||
create(base?: DeepPartial<LiquidityScoreSnapshot>): LiquidityScoreSnapshot; | ||
fromPartial(object: DeepPartial<LiquidityScoreSnapshot>): LiquidityScoreSnapshot; | ||
}; | ||
export declare const TotalScore: { | ||
@@ -544,3 +495,2 @@ encode(message: TotalScore, writer?: _m0.Writer): _m0.Writer; | ||
GetEpochs(request: DeepPartial<GetEpochsRequest>, metadata?: grpc.Metadata): Promise<GetEpochsResponse>; | ||
GetLiquiditySnapshots(request: DeepPartial<GetLiquiditySnapshotsRequest>, metadata?: grpc.Metadata): Promise<GetLiquiditySnapshotsResponse>; | ||
GetTotalScores(request: DeepPartial<GetTotalScoresRequest>, metadata?: grpc.Metadata): Promise<GetTotalScoresResponse>; | ||
@@ -560,3 +510,2 @@ GetTotalScoresHistory(request: DeepPartial<GetTotalScoresHistoryRequest>, metadata?: grpc.Metadata): Promise<GetTotalScoresHistoryResponse>; | ||
GetEpochs(request: DeepPartial<GetEpochsRequest>, metadata?: grpc.Metadata): Promise<GetEpochsResponse>; | ||
GetLiquiditySnapshots(request: DeepPartial<GetLiquiditySnapshotsRequest>, metadata?: grpc.Metadata): Promise<GetLiquiditySnapshotsResponse>; | ||
GetTotalScores(request: DeepPartial<GetTotalScoresRequest>, metadata?: grpc.Metadata): Promise<GetTotalScoresResponse>; | ||
@@ -576,3 +525,2 @@ GetTotalScoresHistory(request: DeepPartial<GetTotalScoresHistoryRequest>, metadata?: grpc.Metadata): Promise<GetTotalScoresHistoryResponse>; | ||
export declare const InjectiveDmmV2RPCGetEpochsDesc: UnaryMethodDefinitionish; | ||
export declare const InjectiveDmmV2RPCGetLiquiditySnapshotsDesc: UnaryMethodDefinitionish; | ||
export declare const InjectiveDmmV2RPCGetTotalScoresDesc: UnaryMethodDefinitionish; | ||
@@ -579,0 +527,0 @@ export declare const InjectiveDmmV2RPCGetTotalScoresHistoryDesc: UnaryMethodDefinitionish; |
@@ -17,13 +17,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
} | ||
export interface GetLiquiditySnapshotsRequest { | ||
epochId: string; | ||
marketId: string; | ||
accountAddress: string; | ||
/** Optional */ | ||
page: Pagination | undefined; | ||
} | ||
export interface GetLiquiditySnapshotsResponse { | ||
snapshots: LiquidityScoreSnapshot[]; | ||
next: Pagination | undefined; | ||
} | ||
export interface GetTotalScoresRequest { | ||
@@ -144,16 +133,2 @@ epochId: string; | ||
} | ||
export interface LiquidityScoreSnapshot { | ||
epochId: string; | ||
marketId: string; | ||
accountAddress: string; | ||
height: string; | ||
blockTime: Date | undefined; | ||
bid: string; | ||
ask: string; | ||
depth: string; | ||
liquidityScore: string; | ||
uptimeScore: string; | ||
createdAt: Date | undefined; | ||
updatedAt: Date | undefined; | ||
} | ||
export interface TotalScore { | ||
@@ -300,18 +275,2 @@ epochId: string; | ||
}; | ||
export declare const GetLiquiditySnapshotsRequest: { | ||
encode(message: GetLiquiditySnapshotsRequest, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): GetLiquiditySnapshotsRequest; | ||
fromJSON(object: any): GetLiquiditySnapshotsRequest; | ||
toJSON(message: GetLiquiditySnapshotsRequest): unknown; | ||
create(base?: DeepPartial<GetLiquiditySnapshotsRequest>): GetLiquiditySnapshotsRequest; | ||
fromPartial(object: DeepPartial<GetLiquiditySnapshotsRequest>): GetLiquiditySnapshotsRequest; | ||
}; | ||
export declare const GetLiquiditySnapshotsResponse: { | ||
encode(message: GetLiquiditySnapshotsResponse, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): GetLiquiditySnapshotsResponse; | ||
fromJSON(object: any): GetLiquiditySnapshotsResponse; | ||
toJSON(message: GetLiquiditySnapshotsResponse): unknown; | ||
create(base?: DeepPartial<GetLiquiditySnapshotsResponse>): GetLiquiditySnapshotsResponse; | ||
fromPartial(object: DeepPartial<GetLiquiditySnapshotsResponse>): GetLiquiditySnapshotsResponse; | ||
}; | ||
export declare const GetTotalScoresRequest: { | ||
@@ -485,10 +444,2 @@ encode(message: GetTotalScoresRequest, writer?: _m0.Writer): _m0.Writer; | ||
}; | ||
export declare const LiquidityScoreSnapshot: { | ||
encode(message: LiquidityScoreSnapshot, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): LiquidityScoreSnapshot; | ||
fromJSON(object: any): LiquidityScoreSnapshot; | ||
toJSON(message: LiquidityScoreSnapshot): unknown; | ||
create(base?: DeepPartial<LiquidityScoreSnapshot>): LiquidityScoreSnapshot; | ||
fromPartial(object: DeepPartial<LiquidityScoreSnapshot>): LiquidityScoreSnapshot; | ||
}; | ||
export declare const TotalScore: { | ||
@@ -544,3 +495,2 @@ encode(message: TotalScore, writer?: _m0.Writer): _m0.Writer; | ||
GetEpochs(request: DeepPartial<GetEpochsRequest>, metadata?: grpc.Metadata): Promise<GetEpochsResponse>; | ||
GetLiquiditySnapshots(request: DeepPartial<GetLiquiditySnapshotsRequest>, metadata?: grpc.Metadata): Promise<GetLiquiditySnapshotsResponse>; | ||
GetTotalScores(request: DeepPartial<GetTotalScoresRequest>, metadata?: grpc.Metadata): Promise<GetTotalScoresResponse>; | ||
@@ -560,3 +510,2 @@ GetTotalScoresHistory(request: DeepPartial<GetTotalScoresHistoryRequest>, metadata?: grpc.Metadata): Promise<GetTotalScoresHistoryResponse>; | ||
GetEpochs(request: DeepPartial<GetEpochsRequest>, metadata?: grpc.Metadata): Promise<GetEpochsResponse>; | ||
GetLiquiditySnapshots(request: DeepPartial<GetLiquiditySnapshotsRequest>, metadata?: grpc.Metadata): Promise<GetLiquiditySnapshotsResponse>; | ||
GetTotalScores(request: DeepPartial<GetTotalScoresRequest>, metadata?: grpc.Metadata): Promise<GetTotalScoresResponse>; | ||
@@ -576,3 +525,2 @@ GetTotalScoresHistory(request: DeepPartial<GetTotalScoresHistoryRequest>, metadata?: grpc.Metadata): Promise<GetTotalScoresHistoryResponse>; | ||
export declare const InjectiveDmmV2RPCGetEpochsDesc: UnaryMethodDefinitionish; | ||
export declare const InjectiveDmmV2RPCGetLiquiditySnapshotsDesc: UnaryMethodDefinitionish; | ||
export declare const InjectiveDmmV2RPCGetTotalScoresDesc: UnaryMethodDefinitionish; | ||
@@ -579,0 +527,0 @@ export declare const InjectiveDmmV2RPCGetTotalScoresHistoryDesc: UnaryMethodDefinitionish; |
{ | ||
"name": "@injectivelabs/dmm-proto-ts", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "Injective DMM 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
397854
9246