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

@injectivelabs/indexer-proto-ts

Package Overview
Dependencies
Maintainers
12
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.13.2 to 1.13.3

15

cjs/injective_trading_rpc.d.ts

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

isTrailingStrategy: boolean;
/**
* Indicates whether the trading strategy performance should be included in the
* response
*/
withPerformance: boolean;
}

@@ -127,2 +132,12 @@ export interface ListTradingStrategiesResponse {

tvl: string;
/** PnL of the trading strategy */
pnl: string;
/** PnL percentage of the trading strategy */
pnlPerc: string;
/** pnlUpdatedAt timestamp in UNIX millis. */
pnlUpdatedAt: string;
/** Indicates the performance of the trading strategy */
performance: string;
/** Return on investment of the trading strategy */
roi: string;
}

@@ -129,0 +144,0 @@ export interface ExitConfig {

64

cjs/injective_trading_rpc.js

@@ -29,2 +29,3 @@ "use strict";

isTrailingStrategy: false,
withPerformance: false,
};

@@ -76,2 +77,5 @@ }

}
if (message.withPerformance === true) {
writer.uint32(120).bool(message.withPerformance);
}
return writer;

@@ -128,2 +132,5 @@ },

break;
case 15:
message.withPerformance = reader.bool();
break;
default:

@@ -152,2 +159,3 @@ reader.skipType(tag & 7);

isTrailingStrategy: isSet(object.isTrailingStrategy) ? Boolean(object.isTrailingStrategy) : false,
withPerformance: isSet(object.withPerformance) ? Boolean(object.withPerformance) : false,
};

@@ -176,2 +184,3 @@ },

message.isTrailingStrategy !== undefined && (obj.isTrailingStrategy = message.isTrailingStrategy);
message.withPerformance !== undefined && (obj.withPerformance = message.withPerformance);
return obj;

@@ -183,3 +192,3 @@ },

fromPartial(object) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
const message = createBaseListTradingStrategiesRequest();

@@ -200,2 +209,3 @@ message.state = (_a = object.state) !== null && _a !== void 0 ? _a : "";

message.isTrailingStrategy = (_p = object.isTrailingStrategy) !== null && _p !== void 0 ? _p : false;
message.withPerformance = (_q = object.withPerformance) !== null && _q !== void 0 ? _q : false;
return message;

@@ -310,2 +320,7 @@ },

tvl: "",
pnl: "",
pnlPerc: "",
pnlUpdatedAt: "0",
performance: "",
roi: "",
};

@@ -432,2 +447,17 @@ }

}
if (message.pnl !== "") {
writer.uint32(322).string(message.pnl);
}
if (message.pnlPerc !== "") {
writer.uint32(330).string(message.pnlPerc);
}
if (message.pnlUpdatedAt !== "0") {
writer.uint32(336).sint64(message.pnlUpdatedAt);
}
if (message.performance !== "") {
writer.uint32(346).string(message.performance);
}
if (message.roi !== "") {
writer.uint32(354).string(message.roi);
}
return writer;

@@ -559,2 +589,17 @@ },

break;
case 40:
message.pnl = reader.string();
break;
case 41:
message.pnlPerc = reader.string();
break;
case 42:
message.pnlUpdatedAt = longToString(reader.sint64());
break;
case 43:
message.performance = reader.string();
break;
case 44:
message.roi = reader.string();
break;
default:

@@ -610,2 +655,7 @@ reader.skipType(tag & 7);

tvl: isSet(object.tvl) ? String(object.tvl) : "",
pnl: isSet(object.pnl) ? String(object.pnl) : "",
pnlPerc: isSet(object.pnlPerc) ? String(object.pnlPerc) : "",
pnlUpdatedAt: isSet(object.pnlUpdatedAt) ? String(object.pnlUpdatedAt) : "0",
performance: isSet(object.performance) ? String(object.performance) : "",
roi: isSet(object.roi) ? String(object.roi) : "",
};

@@ -657,2 +707,7 @@ },

message.tvl !== undefined && (obj.tvl = message.tvl);
message.pnl !== undefined && (obj.pnl = message.pnl);
message.pnlPerc !== undefined && (obj.pnlPerc = message.pnlPerc);
message.pnlUpdatedAt !== undefined && (obj.pnlUpdatedAt = message.pnlUpdatedAt);
message.performance !== undefined && (obj.performance = message.performance);
message.roi !== undefined && (obj.roi = message.roi);
return obj;

@@ -664,3 +719,3 @@ },

fromPartial(object) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12;
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17;
const message = createBaseTradingStrategy();

@@ -710,2 +765,7 @@ message.state = (_a = object.state) !== null && _a !== void 0 ? _a : "";

message.tvl = (_12 = object.tvl) !== null && _12 !== void 0 ? _12 : "";
message.pnl = (_13 = object.pnl) !== null && _13 !== void 0 ? _13 : "";
message.pnlPerc = (_14 = object.pnlPerc) !== null && _14 !== void 0 ? _14 : "";
message.pnlUpdatedAt = (_15 = object.pnlUpdatedAt) !== null && _15 !== void 0 ? _15 : "0";
message.performance = (_16 = object.performance) !== null && _16 !== void 0 ? _16 : "";
message.roi = (_17 = object.roi) !== null && _17 !== void 0 ? _17 : "";
return message;

@@ -712,0 +772,0 @@ },

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

isTrailingStrategy: boolean;
/**
* Indicates whether the trading strategy performance should be included in the
* response
*/
withPerformance: boolean;
}

@@ -127,2 +132,12 @@ export interface ListTradingStrategiesResponse {

tvl: string;
/** PnL of the trading strategy */
pnl: string;
/** PnL percentage of the trading strategy */
pnlPerc: string;
/** pnlUpdatedAt timestamp in UNIX millis. */
pnlUpdatedAt: string;
/** Indicates the performance of the trading strategy */
performance: string;
/** Return on investment of the trading strategy */
roi: string;
}

@@ -129,0 +144,0 @@ export interface ExitConfig {

@@ -23,2 +23,3 @@ /* eslint-disable */

isTrailingStrategy: false,
withPerformance: false,
};

@@ -70,2 +71,5 @@ }

}
if (message.withPerformance === true) {
writer.uint32(120).bool(message.withPerformance);
}
return writer;

@@ -122,2 +126,5 @@ },

break;
case 15:
message.withPerformance = reader.bool();
break;
default:

@@ -146,2 +153,3 @@ reader.skipType(tag & 7);

isTrailingStrategy: isSet(object.isTrailingStrategy) ? Boolean(object.isTrailingStrategy) : false,
withPerformance: isSet(object.withPerformance) ? Boolean(object.withPerformance) : false,
};

@@ -170,2 +178,3 @@ },

message.isTrailingStrategy !== undefined && (obj.isTrailingStrategy = message.isTrailingStrategy);
message.withPerformance !== undefined && (obj.withPerformance = message.withPerformance);
return obj;

@@ -192,2 +201,3 @@ },

message.isTrailingStrategy = object.isTrailingStrategy ?? false;
message.withPerformance = object.withPerformance ?? false;
return message;

@@ -301,2 +311,7 @@ },

tvl: "",
pnl: "",
pnlPerc: "",
pnlUpdatedAt: "0",
performance: "",
roi: "",
};

@@ -423,2 +438,17 @@ }

}
if (message.pnl !== "") {
writer.uint32(322).string(message.pnl);
}
if (message.pnlPerc !== "") {
writer.uint32(330).string(message.pnlPerc);
}
if (message.pnlUpdatedAt !== "0") {
writer.uint32(336).sint64(message.pnlUpdatedAt);
}
if (message.performance !== "") {
writer.uint32(346).string(message.performance);
}
if (message.roi !== "") {
writer.uint32(354).string(message.roi);
}
return writer;

@@ -550,2 +580,17 @@ },

break;
case 40:
message.pnl = reader.string();
break;
case 41:
message.pnlPerc = reader.string();
break;
case 42:
message.pnlUpdatedAt = longToString(reader.sint64());
break;
case 43:
message.performance = reader.string();
break;
case 44:
message.roi = reader.string();
break;
default:

@@ -601,2 +646,7 @@ reader.skipType(tag & 7);

tvl: isSet(object.tvl) ? String(object.tvl) : "",
pnl: isSet(object.pnl) ? String(object.pnl) : "",
pnlPerc: isSet(object.pnlPerc) ? String(object.pnlPerc) : "",
pnlUpdatedAt: isSet(object.pnlUpdatedAt) ? String(object.pnlUpdatedAt) : "0",
performance: isSet(object.performance) ? String(object.performance) : "",
roi: isSet(object.roi) ? String(object.roi) : "",
};

@@ -648,2 +698,7 @@ },

message.tvl !== undefined && (obj.tvl = message.tvl);
message.pnl !== undefined && (obj.pnl = message.pnl);
message.pnlPerc !== undefined && (obj.pnlPerc = message.pnlPerc);
message.pnlUpdatedAt !== undefined && (obj.pnlUpdatedAt = message.pnlUpdatedAt);
message.performance !== undefined && (obj.performance = message.performance);
message.roi !== undefined && (obj.roi = message.roi);
return obj;

@@ -699,2 +754,7 @@ },

message.tvl = object.tvl ?? "";
message.pnl = object.pnl ?? "";
message.pnlPerc = object.pnlPerc ?? "";
message.pnlUpdatedAt = object.pnlUpdatedAt ?? "0";
message.performance = object.performance ?? "";
message.roi = object.roi ?? "";
return message;

@@ -701,0 +761,0 @@ },

2

package.json
{
"name": "@injectivelabs/indexer-proto-ts",
"version": "1.13.2",
"version": "1.13.3",
"description": "Injective Indexer API client with generated gRPC bindings.",

@@ -5,0 +5,0 @@ "sideEffects": false,

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