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

@injectivelabs/mito-proto-ts

Package Overview
Dependencies
Maintainers
9
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.0.26 to 1.0.27

79

cjs/goadesign_goagen_mito_api.d.ts

@@ -326,2 +326,25 @@ import { grpc } from "@injectivelabs/grpc-web";

}
export interface MissionsRequest {
accountAddress: string;
}
export interface MissionsResponse {
data: Mission[];
}
export interface Mission {
id: string;
points: string;
completed: boolean;
accruedPoints: string;
updatedAt: string;
}
export interface MissionLeaderboardRequest {
}
export interface MissionLeaderboardResponse {
data: MissionLeaderboardEntry[];
updatedAt: string;
}
export interface MissionLeaderboardEntry {
address: string;
accruedPoints: string;
}
export declare const GetVaultsRequest: {

@@ -791,2 +814,50 @@ encode(message: GetVaultsRequest, writer?: _m0.Writer): _m0.Writer;

};
export declare const MissionsRequest: {
encode(message: MissionsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MissionsRequest;
fromJSON(object: any): MissionsRequest;
toJSON(message: MissionsRequest): unknown;
create(base?: DeepPartial<MissionsRequest>): MissionsRequest;
fromPartial(object: DeepPartial<MissionsRequest>): MissionsRequest;
};
export declare const MissionsResponse: {
encode(message: MissionsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MissionsResponse;
fromJSON(object: any): MissionsResponse;
toJSON(message: MissionsResponse): unknown;
create(base?: DeepPartial<MissionsResponse>): MissionsResponse;
fromPartial(object: DeepPartial<MissionsResponse>): MissionsResponse;
};
export declare const Mission: {
encode(message: Mission, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Mission;
fromJSON(object: any): Mission;
toJSON(message: Mission): unknown;
create(base?: DeepPartial<Mission>): Mission;
fromPartial(object: DeepPartial<Mission>): Mission;
};
export declare const MissionLeaderboardRequest: {
encode(_: MissionLeaderboardRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardRequest;
fromJSON(_: any): MissionLeaderboardRequest;
toJSON(_: MissionLeaderboardRequest): unknown;
create(base?: DeepPartial<MissionLeaderboardRequest>): MissionLeaderboardRequest;
fromPartial(_: DeepPartial<MissionLeaderboardRequest>): MissionLeaderboardRequest;
};
export declare const MissionLeaderboardResponse: {
encode(message: MissionLeaderboardResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardResponse;
fromJSON(object: any): MissionLeaderboardResponse;
toJSON(message: MissionLeaderboardResponse): unknown;
create(base?: DeepPartial<MissionLeaderboardResponse>): MissionLeaderboardResponse;
fromPartial(object: DeepPartial<MissionLeaderboardResponse>): MissionLeaderboardResponse;
};
export declare const MissionLeaderboardEntry: {
encode(message: MissionLeaderboardEntry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardEntry;
fromJSON(object: any): MissionLeaderboardEntry;
toJSON(message: MissionLeaderboardEntry): unknown;
create(base?: DeepPartial<MissionLeaderboardEntry>): MissionLeaderboardEntry;
fromPartial(object: DeepPartial<MissionLeaderboardEntry>): MissionLeaderboardEntry;
};
/** Get mito user portfolios, vaults and more */

@@ -834,2 +905,6 @@ export interface MitoAPI {

Execution(request: DeepPartial<ExecutionRequest>, metadata?: grpc.Metadata): Promise<ExecutionResponse>;
/** Return mission status of an account */
Missions(request: DeepPartial<MissionsRequest>, metadata?: grpc.Metadata): Promise<MissionsResponse>;
/** Return ALL-TIME mission leaderboard across mito users */
MissionLeaderboard(request: DeepPartial<MissionLeaderboardRequest>, metadata?: grpc.Metadata): Promise<MissionLeaderboardResponse>;
}

@@ -859,2 +934,4 @@ export declare class MitoAPIClientImpl implements MitoAPI {

Execution(request: DeepPartial<ExecutionRequest>, metadata?: grpc.Metadata): Promise<ExecutionResponse>;
Missions(request: DeepPartial<MissionsRequest>, metadata?: grpc.Metadata): Promise<MissionsResponse>;
MissionLeaderboard(request: DeepPartial<MissionLeaderboardRequest>, metadata?: grpc.Metadata): Promise<MissionLeaderboardResponse>;
}

@@ -884,2 +961,4 @@ export declare const MitoAPIDesc: {

export declare const MitoAPIExecutionDesc: UnaryMethodDefinitionish;
export declare const MitoAPIMissionsDesc: UnaryMethodDefinitionish;
export declare const MitoAPIMissionLeaderboardDesc: UnaryMethodDefinitionish;
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {

@@ -886,0 +965,0 @@ requestStream: any;

@@ -326,2 +326,25 @@ import { grpc } from "@injectivelabs/grpc-web";

}
export interface MissionsRequest {
accountAddress: string;
}
export interface MissionsResponse {
data: Mission[];
}
export interface Mission {
id: string;
points: string;
completed: boolean;
accruedPoints: string;
updatedAt: string;
}
export interface MissionLeaderboardRequest {
}
export interface MissionLeaderboardResponse {
data: MissionLeaderboardEntry[];
updatedAt: string;
}
export interface MissionLeaderboardEntry {
address: string;
accruedPoints: string;
}
export declare const GetVaultsRequest: {

@@ -791,2 +814,50 @@ encode(message: GetVaultsRequest, writer?: _m0.Writer): _m0.Writer;

};
export declare const MissionsRequest: {
encode(message: MissionsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MissionsRequest;
fromJSON(object: any): MissionsRequest;
toJSON(message: MissionsRequest): unknown;
create(base?: DeepPartial<MissionsRequest>): MissionsRequest;
fromPartial(object: DeepPartial<MissionsRequest>): MissionsRequest;
};
export declare const MissionsResponse: {
encode(message: MissionsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MissionsResponse;
fromJSON(object: any): MissionsResponse;
toJSON(message: MissionsResponse): unknown;
create(base?: DeepPartial<MissionsResponse>): MissionsResponse;
fromPartial(object: DeepPartial<MissionsResponse>): MissionsResponse;
};
export declare const Mission: {
encode(message: Mission, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): Mission;
fromJSON(object: any): Mission;
toJSON(message: Mission): unknown;
create(base?: DeepPartial<Mission>): Mission;
fromPartial(object: DeepPartial<Mission>): Mission;
};
export declare const MissionLeaderboardRequest: {
encode(_: MissionLeaderboardRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardRequest;
fromJSON(_: any): MissionLeaderboardRequest;
toJSON(_: MissionLeaderboardRequest): unknown;
create(base?: DeepPartial<MissionLeaderboardRequest>): MissionLeaderboardRequest;
fromPartial(_: DeepPartial<MissionLeaderboardRequest>): MissionLeaderboardRequest;
};
export declare const MissionLeaderboardResponse: {
encode(message: MissionLeaderboardResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardResponse;
fromJSON(object: any): MissionLeaderboardResponse;
toJSON(message: MissionLeaderboardResponse): unknown;
create(base?: DeepPartial<MissionLeaderboardResponse>): MissionLeaderboardResponse;
fromPartial(object: DeepPartial<MissionLeaderboardResponse>): MissionLeaderboardResponse;
};
export declare const MissionLeaderboardEntry: {
encode(message: MissionLeaderboardEntry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MissionLeaderboardEntry;
fromJSON(object: any): MissionLeaderboardEntry;
toJSON(message: MissionLeaderboardEntry): unknown;
create(base?: DeepPartial<MissionLeaderboardEntry>): MissionLeaderboardEntry;
fromPartial(object: DeepPartial<MissionLeaderboardEntry>): MissionLeaderboardEntry;
};
/** Get mito user portfolios, vaults and more */

@@ -834,2 +905,6 @@ export interface MitoAPI {

Execution(request: DeepPartial<ExecutionRequest>, metadata?: grpc.Metadata): Promise<ExecutionResponse>;
/** Return mission status of an account */
Missions(request: DeepPartial<MissionsRequest>, metadata?: grpc.Metadata): Promise<MissionsResponse>;
/** Return ALL-TIME mission leaderboard across mito users */
MissionLeaderboard(request: DeepPartial<MissionLeaderboardRequest>, metadata?: grpc.Metadata): Promise<MissionLeaderboardResponse>;
}

@@ -859,2 +934,4 @@ export declare class MitoAPIClientImpl implements MitoAPI {

Execution(request: DeepPartial<ExecutionRequest>, metadata?: grpc.Metadata): Promise<ExecutionResponse>;
Missions(request: DeepPartial<MissionsRequest>, metadata?: grpc.Metadata): Promise<MissionsResponse>;
MissionLeaderboard(request: DeepPartial<MissionLeaderboardRequest>, metadata?: grpc.Metadata): Promise<MissionLeaderboardResponse>;
}

@@ -884,2 +961,4 @@ export declare const MitoAPIDesc: {

export declare const MitoAPIExecutionDesc: UnaryMethodDefinitionish;
export declare const MitoAPIMissionsDesc: UnaryMethodDefinitionish;
export declare const MitoAPIMissionLeaderboardDesc: UnaryMethodDefinitionish;
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {

@@ -886,0 +965,0 @@ requestStream: any;

2

package.json
{
"name": "@injectivelabs/mito-proto-ts",
"version": "1.0.26",
"version": "1.0.27",
"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

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