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.21 to 1.0.22

78

cjs/goadesign_goagen_mito_api.d.ts

@@ -269,7 +269,7 @@ import { grpc } from "@injectivelabs/grpc-web";

}
export interface StreamVaultSubscriptionRequest {
export interface StreamHolderSubscriptionRequest {
holderAddress: string;
vaultAddress?: string | undefined;
}
export interface StreamVaultSubscriptionResponse {
export interface StreamHolderSubscriptionResponse {
data: Subscription | undefined;

@@ -279,7 +279,7 @@ /** Update type */

}
export interface StreamStakingUpdateRequest {
export interface StreamStakingRewardByAccountRequest {
staker: string;
stakingContractAddress: string;
}
export interface StreamStakingUpdateResponse {
export interface StreamStakingRewardByAccountResponse {
data: StakingReward | undefined;

@@ -674,33 +674,33 @@ /** Update type */

};
export declare const StreamVaultSubscriptionRequest: {
encode(message: StreamVaultSubscriptionRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamVaultSubscriptionRequest;
fromJSON(object: any): StreamVaultSubscriptionRequest;
toJSON(message: StreamVaultSubscriptionRequest): unknown;
create(base?: DeepPartial<StreamVaultSubscriptionRequest>): StreamVaultSubscriptionRequest;
fromPartial(object: DeepPartial<StreamVaultSubscriptionRequest>): StreamVaultSubscriptionRequest;
export declare const StreamHolderSubscriptionRequest: {
encode(message: StreamHolderSubscriptionRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamHolderSubscriptionRequest;
fromJSON(object: any): StreamHolderSubscriptionRequest;
toJSON(message: StreamHolderSubscriptionRequest): unknown;
create(base?: DeepPartial<StreamHolderSubscriptionRequest>): StreamHolderSubscriptionRequest;
fromPartial(object: DeepPartial<StreamHolderSubscriptionRequest>): StreamHolderSubscriptionRequest;
};
export declare const StreamVaultSubscriptionResponse: {
encode(message: StreamVaultSubscriptionResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamVaultSubscriptionResponse;
fromJSON(object: any): StreamVaultSubscriptionResponse;
toJSON(message: StreamVaultSubscriptionResponse): unknown;
create(base?: DeepPartial<StreamVaultSubscriptionResponse>): StreamVaultSubscriptionResponse;
fromPartial(object: DeepPartial<StreamVaultSubscriptionResponse>): StreamVaultSubscriptionResponse;
export declare const StreamHolderSubscriptionResponse: {
encode(message: StreamHolderSubscriptionResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamHolderSubscriptionResponse;
fromJSON(object: any): StreamHolderSubscriptionResponse;
toJSON(message: StreamHolderSubscriptionResponse): unknown;
create(base?: DeepPartial<StreamHolderSubscriptionResponse>): StreamHolderSubscriptionResponse;
fromPartial(object: DeepPartial<StreamHolderSubscriptionResponse>): StreamHolderSubscriptionResponse;
};
export declare const StreamStakingUpdateRequest: {
encode(message: StreamStakingUpdateRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamStakingUpdateRequest;
fromJSON(object: any): StreamStakingUpdateRequest;
toJSON(message: StreamStakingUpdateRequest): unknown;
create(base?: DeepPartial<StreamStakingUpdateRequest>): StreamStakingUpdateRequest;
fromPartial(object: DeepPartial<StreamStakingUpdateRequest>): StreamStakingUpdateRequest;
export declare const StreamStakingRewardByAccountRequest: {
encode(message: StreamStakingRewardByAccountRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamStakingRewardByAccountRequest;
fromJSON(object: any): StreamStakingRewardByAccountRequest;
toJSON(message: StreamStakingRewardByAccountRequest): unknown;
create(base?: DeepPartial<StreamStakingRewardByAccountRequest>): StreamStakingRewardByAccountRequest;
fromPartial(object: DeepPartial<StreamStakingRewardByAccountRequest>): StreamStakingRewardByAccountRequest;
};
export declare const StreamStakingUpdateResponse: {
encode(message: StreamStakingUpdateResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamStakingUpdateResponse;
fromJSON(object: any): StreamStakingUpdateResponse;
toJSON(message: StreamStakingUpdateResponse): unknown;
create(base?: DeepPartial<StreamStakingUpdateResponse>): StreamStakingUpdateResponse;
fromPartial(object: DeepPartial<StreamStakingUpdateResponse>): StreamStakingUpdateResponse;
export declare const StreamStakingRewardByAccountResponse: {
encode(message: StreamStakingRewardByAccountResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamStakingRewardByAccountResponse;
fromJSON(object: any): StreamStakingRewardByAccountResponse;
toJSON(message: StreamStakingRewardByAccountResponse): unknown;
create(base?: DeepPartial<StreamStakingRewardByAccountResponse>): StreamStakingRewardByAccountResponse;
fromPartial(object: DeepPartial<StreamStakingRewardByAccountResponse>): StreamStakingRewardByAccountResponse;
};

@@ -756,5 +756,5 @@ export declare const StreamHistoricalStakingRequest: {

/** Stream up-to-date vault subscription */
StreamVaultSubscription(request: DeepPartial<StreamVaultSubscriptionRequest>, metadata?: grpc.Metadata): Observable<StreamVaultSubscriptionResponse>;
/** [Staking] Stream staking update of account (staker) */
StreamStakingUpdate(request: DeepPartial<StreamStakingUpdateRequest>, metadata?: grpc.Metadata): Observable<StreamStakingUpdateResponse>;
StreamHolderSubscription(request: DeepPartial<StreamHolderSubscriptionRequest>, metadata?: grpc.Metadata): Observable<StreamHolderSubscriptionResponse>;
/** [Staking] Stream staking update of an account (staker) */
StreamStakingRewardByAccount(request: DeepPartial<StreamStakingRewardByAccountRequest>, metadata?: grpc.Metadata): Observable<StreamStakingRewardByAccountResponse>;
/** [Staking] Stream historical staking activities */

@@ -781,4 +781,4 @@ StreamHistoricalStaking(request: DeepPartial<StreamHistoricalStakingRequest>, metadata?: grpc.Metadata): Observable<StreamHistoricalStakingResponse>;

StreamVault(request: DeepPartial<StreamVaultRequest>, metadata?: grpc.Metadata): Observable<StreamVaultResponse>;
StreamVaultSubscription(request: DeepPartial<StreamVaultSubscriptionRequest>, metadata?: grpc.Metadata): Observable<StreamVaultSubscriptionResponse>;
StreamStakingUpdate(request: DeepPartial<StreamStakingUpdateRequest>, metadata?: grpc.Metadata): Observable<StreamStakingUpdateResponse>;
StreamHolderSubscription(request: DeepPartial<StreamHolderSubscriptionRequest>, metadata?: grpc.Metadata): Observable<StreamHolderSubscriptionResponse>;
StreamStakingRewardByAccount(request: DeepPartial<StreamStakingRewardByAccountRequest>, metadata?: grpc.Metadata): Observable<StreamStakingRewardByAccountResponse>;
StreamHistoricalStaking(request: DeepPartial<StreamHistoricalStakingRequest>, metadata?: grpc.Metadata): Observable<StreamHistoricalStakingResponse>;

@@ -804,4 +804,4 @@ }

export declare const MitoAPIStreamVaultDesc: UnaryMethodDefinitionish;
export declare const MitoAPIStreamVaultSubscriptionDesc: UnaryMethodDefinitionish;
export declare const MitoAPIStreamStakingUpdateDesc: UnaryMethodDefinitionish;
export declare const MitoAPIStreamHolderSubscriptionDesc: UnaryMethodDefinitionish;
export declare const MitoAPIStreamStakingRewardByAccountDesc: UnaryMethodDefinitionish;
export declare const MitoAPIStreamHistoricalStakingDesc: UnaryMethodDefinitionish;

@@ -808,0 +808,0 @@ interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {

@@ -269,7 +269,7 @@ import { grpc } from "@injectivelabs/grpc-web";

}
export interface StreamVaultSubscriptionRequest {
export interface StreamHolderSubscriptionRequest {
holderAddress: string;
vaultAddress?: string | undefined;
}
export interface StreamVaultSubscriptionResponse {
export interface StreamHolderSubscriptionResponse {
data: Subscription | undefined;

@@ -279,7 +279,7 @@ /** Update type */

}
export interface StreamStakingUpdateRequest {
export interface StreamStakingRewardByAccountRequest {
staker: string;
stakingContractAddress: string;
}
export interface StreamStakingUpdateResponse {
export interface StreamStakingRewardByAccountResponse {
data: StakingReward | undefined;

@@ -674,33 +674,33 @@ /** Update type */

};
export declare const StreamVaultSubscriptionRequest: {
encode(message: StreamVaultSubscriptionRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamVaultSubscriptionRequest;
fromJSON(object: any): StreamVaultSubscriptionRequest;
toJSON(message: StreamVaultSubscriptionRequest): unknown;
create(base?: DeepPartial<StreamVaultSubscriptionRequest>): StreamVaultSubscriptionRequest;
fromPartial(object: DeepPartial<StreamVaultSubscriptionRequest>): StreamVaultSubscriptionRequest;
export declare const StreamHolderSubscriptionRequest: {
encode(message: StreamHolderSubscriptionRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamHolderSubscriptionRequest;
fromJSON(object: any): StreamHolderSubscriptionRequest;
toJSON(message: StreamHolderSubscriptionRequest): unknown;
create(base?: DeepPartial<StreamHolderSubscriptionRequest>): StreamHolderSubscriptionRequest;
fromPartial(object: DeepPartial<StreamHolderSubscriptionRequest>): StreamHolderSubscriptionRequest;
};
export declare const StreamVaultSubscriptionResponse: {
encode(message: StreamVaultSubscriptionResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamVaultSubscriptionResponse;
fromJSON(object: any): StreamVaultSubscriptionResponse;
toJSON(message: StreamVaultSubscriptionResponse): unknown;
create(base?: DeepPartial<StreamVaultSubscriptionResponse>): StreamVaultSubscriptionResponse;
fromPartial(object: DeepPartial<StreamVaultSubscriptionResponse>): StreamVaultSubscriptionResponse;
export declare const StreamHolderSubscriptionResponse: {
encode(message: StreamHolderSubscriptionResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamHolderSubscriptionResponse;
fromJSON(object: any): StreamHolderSubscriptionResponse;
toJSON(message: StreamHolderSubscriptionResponse): unknown;
create(base?: DeepPartial<StreamHolderSubscriptionResponse>): StreamHolderSubscriptionResponse;
fromPartial(object: DeepPartial<StreamHolderSubscriptionResponse>): StreamHolderSubscriptionResponse;
};
export declare const StreamStakingUpdateRequest: {
encode(message: StreamStakingUpdateRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamStakingUpdateRequest;
fromJSON(object: any): StreamStakingUpdateRequest;
toJSON(message: StreamStakingUpdateRequest): unknown;
create(base?: DeepPartial<StreamStakingUpdateRequest>): StreamStakingUpdateRequest;
fromPartial(object: DeepPartial<StreamStakingUpdateRequest>): StreamStakingUpdateRequest;
export declare const StreamStakingRewardByAccountRequest: {
encode(message: StreamStakingRewardByAccountRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamStakingRewardByAccountRequest;
fromJSON(object: any): StreamStakingRewardByAccountRequest;
toJSON(message: StreamStakingRewardByAccountRequest): unknown;
create(base?: DeepPartial<StreamStakingRewardByAccountRequest>): StreamStakingRewardByAccountRequest;
fromPartial(object: DeepPartial<StreamStakingRewardByAccountRequest>): StreamStakingRewardByAccountRequest;
};
export declare const StreamStakingUpdateResponse: {
encode(message: StreamStakingUpdateResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamStakingUpdateResponse;
fromJSON(object: any): StreamStakingUpdateResponse;
toJSON(message: StreamStakingUpdateResponse): unknown;
create(base?: DeepPartial<StreamStakingUpdateResponse>): StreamStakingUpdateResponse;
fromPartial(object: DeepPartial<StreamStakingUpdateResponse>): StreamStakingUpdateResponse;
export declare const StreamStakingRewardByAccountResponse: {
encode(message: StreamStakingRewardByAccountResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StreamStakingRewardByAccountResponse;
fromJSON(object: any): StreamStakingRewardByAccountResponse;
toJSON(message: StreamStakingRewardByAccountResponse): unknown;
create(base?: DeepPartial<StreamStakingRewardByAccountResponse>): StreamStakingRewardByAccountResponse;
fromPartial(object: DeepPartial<StreamStakingRewardByAccountResponse>): StreamStakingRewardByAccountResponse;
};

@@ -756,5 +756,5 @@ export declare const StreamHistoricalStakingRequest: {

/** Stream up-to-date vault subscription */
StreamVaultSubscription(request: DeepPartial<StreamVaultSubscriptionRequest>, metadata?: grpc.Metadata): Observable<StreamVaultSubscriptionResponse>;
/** [Staking] Stream staking update of account (staker) */
StreamStakingUpdate(request: DeepPartial<StreamStakingUpdateRequest>, metadata?: grpc.Metadata): Observable<StreamStakingUpdateResponse>;
StreamHolderSubscription(request: DeepPartial<StreamHolderSubscriptionRequest>, metadata?: grpc.Metadata): Observable<StreamHolderSubscriptionResponse>;
/** [Staking] Stream staking update of an account (staker) */
StreamStakingRewardByAccount(request: DeepPartial<StreamStakingRewardByAccountRequest>, metadata?: grpc.Metadata): Observable<StreamStakingRewardByAccountResponse>;
/** [Staking] Stream historical staking activities */

@@ -781,4 +781,4 @@ StreamHistoricalStaking(request: DeepPartial<StreamHistoricalStakingRequest>, metadata?: grpc.Metadata): Observable<StreamHistoricalStakingResponse>;

StreamVault(request: DeepPartial<StreamVaultRequest>, metadata?: grpc.Metadata): Observable<StreamVaultResponse>;
StreamVaultSubscription(request: DeepPartial<StreamVaultSubscriptionRequest>, metadata?: grpc.Metadata): Observable<StreamVaultSubscriptionResponse>;
StreamStakingUpdate(request: DeepPartial<StreamStakingUpdateRequest>, metadata?: grpc.Metadata): Observable<StreamStakingUpdateResponse>;
StreamHolderSubscription(request: DeepPartial<StreamHolderSubscriptionRequest>, metadata?: grpc.Metadata): Observable<StreamHolderSubscriptionResponse>;
StreamStakingRewardByAccount(request: DeepPartial<StreamStakingRewardByAccountRequest>, metadata?: grpc.Metadata): Observable<StreamStakingRewardByAccountResponse>;
StreamHistoricalStaking(request: DeepPartial<StreamHistoricalStakingRequest>, metadata?: grpc.Metadata): Observable<StreamHistoricalStakingResponse>;

@@ -804,4 +804,4 @@ }

export declare const MitoAPIStreamVaultDesc: UnaryMethodDefinitionish;
export declare const MitoAPIStreamVaultSubscriptionDesc: UnaryMethodDefinitionish;
export declare const MitoAPIStreamStakingUpdateDesc: UnaryMethodDefinitionish;
export declare const MitoAPIStreamHolderSubscriptionDesc: UnaryMethodDefinitionish;
export declare const MitoAPIStreamStakingRewardByAccountDesc: UnaryMethodDefinitionish;
export declare const MitoAPIStreamHistoricalStakingDesc: UnaryMethodDefinitionish;

@@ -808,0 +808,0 @@ interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {

{
"name": "@injectivelabs/mito-proto-ts",
"version": "1.0.21",
"version": "1.0.22",
"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