@injectivelabs/indexer-proto-ts
Advanced tools
Comparing version 1.13.5 to 1.13.6
@@ -376,3 +376,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -379,0 +378,0 @@ metadata: grpc.Metadata; |
@@ -26,2 +26,6 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
migrationLastVersion: number; | ||
/** Block height from event provider service. */ | ||
epHeight: number; | ||
/** Block UNIX timestamp from event provider service. */ | ||
epTimestamp: number; | ||
} | ||
@@ -91,3 +95,2 @@ export declare const GetStatusRequest: { | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -94,0 +97,0 @@ metadata: grpc.Metadata; |
@@ -125,3 +125,11 @@ "use strict"; | ||
function createBaseHealthStatus() { | ||
return { localHeight: 0, localTimestamp: 0, horacleHeight: 0, horacleTimestamp: 0, migrationLastVersion: 0 }; | ||
return { | ||
localHeight: 0, | ||
localTimestamp: 0, | ||
horacleHeight: 0, | ||
horacleTimestamp: 0, | ||
migrationLastVersion: 0, | ||
epHeight: 0, | ||
epTimestamp: 0, | ||
}; | ||
} | ||
@@ -145,2 +153,8 @@ exports.HealthStatus = { | ||
} | ||
if (message.epHeight !== 0) { | ||
writer.uint32(48).sint32(message.epHeight); | ||
} | ||
if (message.epTimestamp !== 0) { | ||
writer.uint32(56).sint32(message.epTimestamp); | ||
} | ||
return writer; | ||
@@ -170,2 +184,8 @@ }, | ||
break; | ||
case 6: | ||
message.epHeight = reader.sint32(); | ||
break; | ||
case 7: | ||
message.epTimestamp = reader.sint32(); | ||
break; | ||
default: | ||
@@ -185,2 +205,4 @@ reader.skipType(tag & 7); | ||
migrationLastVersion: isSet(object.migrationLastVersion) ? Number(object.migrationLastVersion) : 0, | ||
epHeight: isSet(object.epHeight) ? Number(object.epHeight) : 0, | ||
epTimestamp: isSet(object.epTimestamp) ? Number(object.epTimestamp) : 0, | ||
}; | ||
@@ -195,2 +217,4 @@ }, | ||
message.migrationLastVersion !== undefined && (obj.migrationLastVersion = Math.round(message.migrationLastVersion)); | ||
message.epHeight !== undefined && (obj.epHeight = Math.round(message.epHeight)); | ||
message.epTimestamp !== undefined && (obj.epTimestamp = Math.round(message.epTimestamp)); | ||
return obj; | ||
@@ -202,3 +226,3 @@ }, | ||
fromPartial(object) { | ||
var _a, _b, _c, _d, _e; | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
const message = createBaseHealthStatus(); | ||
@@ -210,2 +234,4 @@ message.localHeight = (_a = object.localHeight) !== null && _a !== void 0 ? _a : 0; | ||
message.migrationLastVersion = (_e = object.migrationLastVersion) !== null && _e !== void 0 ? _e : 0; | ||
message.epHeight = (_f = object.epHeight) !== null && _f !== void 0 ? _f : 0; | ||
message.epTimestamp = (_g = object.epTimestamp) !== null && _g !== void 0 ? _g : 0; | ||
return message; | ||
@@ -212,0 +238,0 @@ }, |
@@ -995,3 +995,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -998,0 +997,0 @@ metadata: grpc.Metadata; |
@@ -146,2 +146,4 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
next: string[]; | ||
/** Total number of holders */ | ||
total: number; | ||
} | ||
@@ -212,2 +214,4 @@ export interface Holder { | ||
marketType: string; | ||
/** Unique trade ID */ | ||
tradeId: string; | ||
} | ||
@@ -493,3 +497,2 @@ export interface PriceLevel { | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -496,0 +499,0 @@ metadata: grpc.Metadata; |
@@ -202,3 +202,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -205,0 +204,0 @@ metadata: grpc.Metadata; |
@@ -540,3 +540,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -543,0 +542,0 @@ metadata: grpc.Metadata; |
@@ -45,2 +45,4 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
v: number[]; | ||
/** Status of the request. */ | ||
s: string; | ||
} | ||
@@ -88,2 +90,4 @@ export interface DerivativeMarketHistoryRequest { | ||
v: number[]; | ||
/** Status of the request. */ | ||
s: string; | ||
} | ||
@@ -165,3 +169,2 @@ export declare const SpotMarketHistoryRequest: { | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -168,0 +171,0 @@ metadata: grpc.Metadata; |
@@ -105,3 +105,3 @@ "use strict"; | ||
function createBaseSpotMarketHistoryResponse() { | ||
return { t: [], o: [], h: [], l: [], c: [], v: [] }; | ||
return { t: [], o: [], h: [], l: [], c: [], v: [], s: "" }; | ||
} | ||
@@ -140,2 +140,5 @@ exports.SpotMarketHistoryResponse = { | ||
writer.ldelim(); | ||
if (message.s !== "") { | ||
writer.uint32(58).string(message.s); | ||
} | ||
return writer; | ||
@@ -216,2 +219,5 @@ }, | ||
break; | ||
case 7: | ||
message.s = reader.string(); | ||
break; | ||
default: | ||
@@ -232,2 +238,3 @@ reader.skipType(tag & 7); | ||
v: Array.isArray(object === null || object === void 0 ? void 0 : object.v) ? object.v.map((e) => Number(e)) : [], | ||
s: isSet(object.s) ? String(object.s) : "", | ||
}; | ||
@@ -273,2 +280,3 @@ }, | ||
} | ||
message.s !== undefined && (obj.s = message.s); | ||
return obj; | ||
@@ -280,3 +288,3 @@ }, | ||
fromPartial(object) { | ||
var _a, _b, _c, _d, _e, _f; | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
const message = createBaseSpotMarketHistoryResponse(); | ||
@@ -289,2 +297,3 @@ message.t = ((_a = object.t) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || []; | ||
message.v = ((_f = object.v) === null || _f === void 0 ? void 0 : _f.map((e) => e)) || []; | ||
message.s = (_g = object.s) !== null && _g !== void 0 ? _g : ""; | ||
return message; | ||
@@ -386,3 +395,3 @@ }, | ||
function createBaseDerivativeMarketHistoryResponse() { | ||
return { t: [], o: [], h: [], l: [], c: [], v: [] }; | ||
return { t: [], o: [], h: [], l: [], c: [], v: [], s: "" }; | ||
} | ||
@@ -421,2 +430,5 @@ exports.DerivativeMarketHistoryResponse = { | ||
writer.ldelim(); | ||
if (message.s !== "") { | ||
writer.uint32(58).string(message.s); | ||
} | ||
return writer; | ||
@@ -497,2 +509,5 @@ }, | ||
break; | ||
case 7: | ||
message.s = reader.string(); | ||
break; | ||
default: | ||
@@ -513,2 +528,3 @@ reader.skipType(tag & 7); | ||
v: Array.isArray(object === null || object === void 0 ? void 0 : object.v) ? object.v.map((e) => Number(e)) : [], | ||
s: isSet(object.s) ? String(object.s) : "", | ||
}; | ||
@@ -554,2 +570,3 @@ }, | ||
} | ||
message.s !== undefined && (obj.s = message.s); | ||
return obj; | ||
@@ -561,3 +578,3 @@ }, | ||
fromPartial(object) { | ||
var _a, _b, _c, _d, _e, _f; | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
const message = createBaseDerivativeMarketHistoryResponse(); | ||
@@ -570,2 +587,3 @@ message.t = ((_a = object.t) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || []; | ||
message.v = ((_f = object.v) === null || _f === void 0 ? void 0 : _f.map((e) => e)) || []; | ||
message.s = (_g = object.s) !== null && _g !== void 0 ? _g : ""; | ||
return message; | ||
@@ -572,0 +590,0 @@ }, |
@@ -413,3 +413,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -416,0 +415,0 @@ metadata: grpc.Metadata; |
@@ -207,3 +207,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -210,0 +209,0 @@ metadata: grpc.Metadata; |
@@ -243,3 +243,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -246,0 +245,0 @@ metadata: grpc.Metadata; |
@@ -191,3 +191,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -194,0 +193,0 @@ metadata: grpc.Metadata; |
@@ -305,3 +305,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -308,0 +307,0 @@ metadata: grpc.Metadata; |
@@ -1170,3 +1170,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -1173,0 +1172,0 @@ metadata: grpc.Metadata; |
@@ -301,3 +301,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -304,0 +303,0 @@ metadata: grpc.Metadata; |
@@ -376,3 +376,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -379,0 +378,0 @@ metadata: grpc.Metadata; |
@@ -26,2 +26,6 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
migrationLastVersion: number; | ||
/** Block height from event provider service. */ | ||
epHeight: number; | ||
/** Block UNIX timestamp from event provider service. */ | ||
epTimestamp: number; | ||
} | ||
@@ -91,3 +95,2 @@ export declare const GetStatusRequest: { | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -94,0 +97,0 @@ metadata: grpc.Metadata; |
@@ -118,3 +118,11 @@ /* eslint-disable */ | ||
function createBaseHealthStatus() { | ||
return { localHeight: 0, localTimestamp: 0, horacleHeight: 0, horacleTimestamp: 0, migrationLastVersion: 0 }; | ||
return { | ||
localHeight: 0, | ||
localTimestamp: 0, | ||
horacleHeight: 0, | ||
horacleTimestamp: 0, | ||
migrationLastVersion: 0, | ||
epHeight: 0, | ||
epTimestamp: 0, | ||
}; | ||
} | ||
@@ -138,2 +146,8 @@ export const HealthStatus = { | ||
} | ||
if (message.epHeight !== 0) { | ||
writer.uint32(48).sint32(message.epHeight); | ||
} | ||
if (message.epTimestamp !== 0) { | ||
writer.uint32(56).sint32(message.epTimestamp); | ||
} | ||
return writer; | ||
@@ -163,2 +177,8 @@ }, | ||
break; | ||
case 6: | ||
message.epHeight = reader.sint32(); | ||
break; | ||
case 7: | ||
message.epTimestamp = reader.sint32(); | ||
break; | ||
default: | ||
@@ -178,2 +198,4 @@ reader.skipType(tag & 7); | ||
migrationLastVersion: isSet(object.migrationLastVersion) ? Number(object.migrationLastVersion) : 0, | ||
epHeight: isSet(object.epHeight) ? Number(object.epHeight) : 0, | ||
epTimestamp: isSet(object.epTimestamp) ? Number(object.epTimestamp) : 0, | ||
}; | ||
@@ -188,2 +210,4 @@ }, | ||
message.migrationLastVersion !== undefined && (obj.migrationLastVersion = Math.round(message.migrationLastVersion)); | ||
message.epHeight !== undefined && (obj.epHeight = Math.round(message.epHeight)); | ||
message.epTimestamp !== undefined && (obj.epTimestamp = Math.round(message.epTimestamp)); | ||
return obj; | ||
@@ -201,2 +225,4 @@ }, | ||
message.migrationLastVersion = object.migrationLastVersion ?? 0; | ||
message.epHeight = object.epHeight ?? 0; | ||
message.epTimestamp = object.epTimestamp ?? 0; | ||
return message; | ||
@@ -203,0 +229,0 @@ }, |
@@ -995,3 +995,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -998,0 +997,0 @@ metadata: grpc.Metadata; |
@@ -146,2 +146,4 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
next: string[]; | ||
/** Total number of holders */ | ||
total: number; | ||
} | ||
@@ -212,2 +214,4 @@ export interface Holder { | ||
marketType: string; | ||
/** Unique trade ID */ | ||
tradeId: string; | ||
} | ||
@@ -493,3 +497,2 @@ export interface PriceLevel { | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -496,0 +499,0 @@ metadata: grpc.Metadata; |
@@ -202,3 +202,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -205,0 +204,0 @@ metadata: grpc.Metadata; |
@@ -540,3 +540,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -543,0 +542,0 @@ metadata: grpc.Metadata; |
@@ -45,2 +45,4 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
v: number[]; | ||
/** Status of the request. */ | ||
s: string; | ||
} | ||
@@ -88,2 +90,4 @@ export interface DerivativeMarketHistoryRequest { | ||
v: number[]; | ||
/** Status of the request. */ | ||
s: string; | ||
} | ||
@@ -165,3 +169,2 @@ export declare const SpotMarketHistoryRequest: { | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -168,0 +171,0 @@ metadata: grpc.Metadata; |
@@ -98,3 +98,3 @@ /* eslint-disable */ | ||
function createBaseSpotMarketHistoryResponse() { | ||
return { t: [], o: [], h: [], l: [], c: [], v: [] }; | ||
return { t: [], o: [], h: [], l: [], c: [], v: [], s: "" }; | ||
} | ||
@@ -133,2 +133,5 @@ export const SpotMarketHistoryResponse = { | ||
writer.ldelim(); | ||
if (message.s !== "") { | ||
writer.uint32(58).string(message.s); | ||
} | ||
return writer; | ||
@@ -209,2 +212,5 @@ }, | ||
break; | ||
case 7: | ||
message.s = reader.string(); | ||
break; | ||
default: | ||
@@ -225,2 +231,3 @@ reader.skipType(tag & 7); | ||
v: Array.isArray(object?.v) ? object.v.map((e) => Number(e)) : [], | ||
s: isSet(object.s) ? String(object.s) : "", | ||
}; | ||
@@ -266,2 +273,3 @@ }, | ||
} | ||
message.s !== undefined && (obj.s = message.s); | ||
return obj; | ||
@@ -280,2 +288,3 @@ }, | ||
message.v = object.v?.map((e) => e) || []; | ||
message.s = object.s ?? ""; | ||
return message; | ||
@@ -376,3 +385,3 @@ }, | ||
function createBaseDerivativeMarketHistoryResponse() { | ||
return { t: [], o: [], h: [], l: [], c: [], v: [] }; | ||
return { t: [], o: [], h: [], l: [], c: [], v: [], s: "" }; | ||
} | ||
@@ -411,2 +420,5 @@ export const DerivativeMarketHistoryResponse = { | ||
writer.ldelim(); | ||
if (message.s !== "") { | ||
writer.uint32(58).string(message.s); | ||
} | ||
return writer; | ||
@@ -487,2 +499,5 @@ }, | ||
break; | ||
case 7: | ||
message.s = reader.string(); | ||
break; | ||
default: | ||
@@ -503,2 +518,3 @@ reader.skipType(tag & 7); | ||
v: Array.isArray(object?.v) ? object.v.map((e) => Number(e)) : [], | ||
s: isSet(object.s) ? String(object.s) : "", | ||
}; | ||
@@ -544,2 +560,3 @@ }, | ||
} | ||
message.s !== undefined && (obj.s = message.s); | ||
return obj; | ||
@@ -558,2 +575,3 @@ }, | ||
message.v = object.v?.map((e) => e) || []; | ||
message.s = object.s ?? ""; | ||
return message; | ||
@@ -560,0 +578,0 @@ }, |
@@ -413,3 +413,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -416,0 +415,0 @@ metadata: grpc.Metadata; |
@@ -207,3 +207,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -210,0 +209,0 @@ metadata: grpc.Metadata; |
@@ -243,3 +243,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -246,0 +245,0 @@ metadata: grpc.Metadata; |
@@ -191,3 +191,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -194,0 +193,0 @@ metadata: grpc.Metadata; |
@@ -305,3 +305,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -308,0 +307,0 @@ metadata: grpc.Metadata; |
@@ -1170,3 +1170,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -1173,0 +1172,0 @@ metadata: grpc.Metadata; |
@@ -301,3 +301,2 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
export declare class GrpcWebError extends tsProtoGlobalThis.Error { | ||
static [x: string]: any; | ||
code: grpc.Code; | ||
@@ -304,0 +303,0 @@ metadata: grpc.Metadata; |
{ | ||
"name": "@injectivelabs/indexer-proto-ts", | ||
"version": "1.13.5", | ||
"version": "1.13.6", | ||
"description": "Injective Indexer 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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
4084077
99423