Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@injectivelabs/dmm-proto-ts

Package Overview
Dependencies
Maintainers
10
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@injectivelabs/dmm-proto-ts - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

52

cjs/dmm.d.ts

@@ -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;

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc