@injectivelabs/indexer-proto-ts-v2 1.17.5 → 1.17.7-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm/generated → generated}/injective_auction_rpc_pb.client.d.ts +20 -3
- package/{esm/generated → generated}/injective_auction_rpc_pb.client.js +12 -3
- package/{esm/generated → generated}/injective_auction_rpc_pb.d.ts +131 -0
- package/{esm/generated → generated}/injective_auction_rpc_pb.js +116 -0
- package/{esm/generated → generated}/injective_oracle_rpc_pb.d.ts +76 -3
- package/{esm/generated → generated}/injective_oracle_rpc_pb.js +74 -2
- package/package.json +13 -11
- /package/{esm/generated → generated}/event_provider_api_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/event_provider_api_pb.client.js +0 -0
- /package/{esm/generated → generated}/event_provider_api_pb.d.ts +0 -0
- /package/{esm/generated → generated}/event_provider_api_pb.js +0 -0
- /package/{esm/generated → generated}/health_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/health_pb.client.js +0 -0
- /package/{esm/generated → generated}/health_pb.d.ts +0 -0
- /package/{esm/generated → generated}/health_pb.js +0 -0
- /package/{esm/generated → generated}/injective_accounts_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_accounts_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_accounts_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_accounts_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_archiver_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_archiver_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_archiver_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_archiver_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_campaign_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_campaign_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_campaign_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_campaign_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_chart_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_chart_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_chart_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_chart_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_derivative_exchange_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_derivative_exchange_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_derivative_exchange_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_derivative_exchange_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_exchange_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_exchange_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_exchange_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_exchange_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_explorer_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_explorer_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_explorer_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_explorer_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_insurance_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_insurance_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_insurance_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_insurance_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_megavault_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_megavault_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_megavault_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_megavault_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_meta_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_meta_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_meta_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_meta_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_oracle_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_oracle_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_portfolio_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_portfolio_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_portfolio_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_portfolio_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_referral_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_referral_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_referral_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_referral_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_spot_exchange_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_spot_exchange_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_spot_exchange_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_spot_exchange_rpc_pb.js +0 -0
- /package/{esm/generated → generated}/injective_trading_rpc_pb.client.d.ts +0 -0
- /package/{esm/generated → generated}/injective_trading_rpc_pb.client.js +0 -0
- /package/{esm/generated → generated}/injective_trading_rpc_pb.d.ts +0 -0
- /package/{esm/generated → generated}/injective_trading_rpc_pb.js +0 -0
- /package/{esm/index.d.ts → index.d.ts} +0 -0
- /package/{esm/index.js → index.js} +0 -0
|
@@ -19,6 +19,8 @@ import type { InjBurntEndpointRequest } from "./injective_auction_rpc_pb";
|
|
|
19
19
|
import type { StreamBidsResponse } from "./injective_auction_rpc_pb";
|
|
20
20
|
import type { StreamBidsRequest } from "./injective_auction_rpc_pb";
|
|
21
21
|
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
22
|
+
import type { AuctionAccountStatusResponse } from "./injective_auction_rpc_pb";
|
|
23
|
+
import type { AuctionAccountStatusRequest } from "./injective_auction_rpc_pb";
|
|
22
24
|
import type { AccountAuctionsV2Response } from "./injective_auction_rpc_pb";
|
|
23
25
|
import type { AccountAuctionsV2Request } from "./injective_auction_rpc_pb";
|
|
24
26
|
import type { AuctionV2Response } from "./injective_auction_rpc_pb";
|
|
@@ -68,6 +70,12 @@ export interface IInjectiveAuctionRPCClient {
|
|
|
68
70
|
* @generated from protobuf rpc: AccountAuctionsV2
|
|
69
71
|
*/
|
|
70
72
|
accountAuctionsV2(input: AccountAuctionsV2Request, options?: RpcOptions): UnaryCall<AccountAuctionsV2Request, AccountAuctionsV2Response>;
|
|
73
|
+
/**
|
|
74
|
+
* Get the allowlist status for a specific account in an auction round
|
|
75
|
+
*
|
|
76
|
+
* @generated from protobuf rpc: AuctionAccountStatus
|
|
77
|
+
*/
|
|
78
|
+
auctionAccountStatus(input: AuctionAccountStatusRequest, options?: RpcOptions): UnaryCall<AuctionAccountStatusRequest, AuctionAccountStatusResponse>;
|
|
71
79
|
/**
|
|
72
80
|
* StreamBids streams new bids of an auction.
|
|
73
81
|
*
|
|
@@ -143,13 +151,22 @@ export class InjectiveAuctionRPCClient implements IInjectiveAuctionRPCClient, Se
|
|
|
143
151
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
144
152
|
return stackIntercept<AccountAuctionsV2Request, AccountAuctionsV2Response>("unary", this._transport, method, opt, input);
|
|
145
153
|
}
|
|
154
|
+
/**
|
|
155
|
+
* Get the allowlist status for a specific account in an auction round
|
|
156
|
+
*
|
|
157
|
+
* @generated from protobuf rpc: AuctionAccountStatus
|
|
158
|
+
*/
|
|
159
|
+
auctionAccountStatus(input: AuctionAccountStatusRequest, options?: RpcOptions): UnaryCall<AuctionAccountStatusRequest, AuctionAccountStatusResponse> {
|
|
160
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
161
|
+
return stackIntercept<AuctionAccountStatusRequest, AuctionAccountStatusResponse>("unary", this._transport, method, opt, input);
|
|
162
|
+
}
|
|
146
163
|
/**
|
|
147
164
|
* StreamBids streams new bids of an auction.
|
|
148
165
|
*
|
|
149
166
|
* @generated from protobuf rpc: StreamBids
|
|
150
167
|
*/
|
|
151
168
|
streamBids(input: StreamBidsRequest, options?: RpcOptions): ServerStreamingCall<StreamBidsRequest, StreamBidsResponse> {
|
|
152
|
-
const method = this.methods[
|
|
169
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
153
170
|
return stackIntercept<StreamBidsRequest, StreamBidsResponse>("serverStreaming", this._transport, method, opt, input);
|
|
154
171
|
}
|
|
155
172
|
/**
|
|
@@ -158,7 +175,7 @@ export class InjectiveAuctionRPCClient implements IInjectiveAuctionRPCClient, Se
|
|
|
158
175
|
* @generated from protobuf rpc: InjBurntEndpoint
|
|
159
176
|
*/
|
|
160
177
|
injBurntEndpoint(input: InjBurntEndpointRequest, options?: RpcOptions): UnaryCall<InjBurntEndpointRequest, InjBurntEndpointResponse> {
|
|
161
|
-
const method = this.methods[
|
|
178
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
162
179
|
return stackIntercept<InjBurntEndpointRequest, InjBurntEndpointResponse>("unary", this._transport, method, opt, input);
|
|
163
180
|
}
|
|
164
181
|
/**
|
|
@@ -167,7 +184,7 @@ export class InjectiveAuctionRPCClient implements IInjectiveAuctionRPCClient, Se
|
|
|
167
184
|
* @generated from protobuf rpc: AuctionsStats
|
|
168
185
|
*/
|
|
169
186
|
auctionsStats(input: AuctionsStatsRequest, options?: RpcOptions): UnaryCall<AuctionsStatsRequest, AuctionsStatsResponse> {
|
|
170
|
-
const method = this.methods[
|
|
187
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
171
188
|
return stackIntercept<AuctionsStatsRequest, AuctionsStatsResponse>("unary", this._transport, method, opt, input);
|
|
172
189
|
}
|
|
173
190
|
}
|
|
@@ -52,13 +52,22 @@ class InjectiveAuctionRPCClient {
|
|
|
52
52
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
53
53
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* Get the allowlist status for a specific account in an auction round
|
|
57
|
+
*
|
|
58
|
+
* @generated from protobuf rpc: AuctionAccountStatus
|
|
59
|
+
*/
|
|
60
|
+
auctionAccountStatus(input, options) {
|
|
61
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
62
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
63
|
+
}
|
|
55
64
|
/**
|
|
56
65
|
* StreamBids streams new bids of an auction.
|
|
57
66
|
*
|
|
58
67
|
* @generated from protobuf rpc: StreamBids
|
|
59
68
|
*/
|
|
60
69
|
streamBids(input, options) {
|
|
61
|
-
const method = this.methods[
|
|
70
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
62
71
|
return stackIntercept("serverStreaming", this._transport, method, opt, input);
|
|
63
72
|
}
|
|
64
73
|
/**
|
|
@@ -67,7 +76,7 @@ class InjectiveAuctionRPCClient {
|
|
|
67
76
|
* @generated from protobuf rpc: InjBurntEndpoint
|
|
68
77
|
*/
|
|
69
78
|
injBurntEndpoint(input, options) {
|
|
70
|
-
const method = this.methods[
|
|
79
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
71
80
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
72
81
|
}
|
|
73
82
|
/**
|
|
@@ -76,7 +85,7 @@ class InjectiveAuctionRPCClient {
|
|
|
76
85
|
* @generated from protobuf rpc: AuctionsStats
|
|
77
86
|
*/
|
|
78
87
|
auctionsStats(input, options) {
|
|
79
|
-
const method = this.methods[
|
|
88
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
80
89
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
81
90
|
}
|
|
82
91
|
}
|
|
@@ -446,6 +446,34 @@ export interface AccountAuctionV2 {
|
|
|
446
446
|
*/
|
|
447
447
|
claimedAssets: CoinPrices[];
|
|
448
448
|
}
|
|
449
|
+
/**
|
|
450
|
+
* @generated from protobuf message injective_auction_rpc.AuctionAccountStatusRequest
|
|
451
|
+
*/
|
|
452
|
+
export interface AuctionAccountStatusRequest {
|
|
453
|
+
/**
|
|
454
|
+
* The auction round number
|
|
455
|
+
*
|
|
456
|
+
* @generated from protobuf field: sint64 round = 1
|
|
457
|
+
*/
|
|
458
|
+
round: bigint;
|
|
459
|
+
/**
|
|
460
|
+
* Address of account
|
|
461
|
+
*
|
|
462
|
+
* @generated from protobuf field: string address = 2
|
|
463
|
+
*/
|
|
464
|
+
address: string;
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* @generated from protobuf message injective_auction_rpc.AuctionAccountStatusResponse
|
|
468
|
+
*/
|
|
469
|
+
export interface AuctionAccountStatusResponse {
|
|
470
|
+
/**
|
|
471
|
+
* The allowlist status of the account
|
|
472
|
+
*
|
|
473
|
+
* @generated from protobuf field: string status = 1
|
|
474
|
+
*/
|
|
475
|
+
status: string;
|
|
476
|
+
}
|
|
449
477
|
/**
|
|
450
478
|
* @generated from protobuf message injective_auction_rpc.StreamBidsRequest
|
|
451
479
|
*/
|
|
@@ -1699,6 +1727,108 @@ class AccountAuctionV2$Type extends MessageType<AccountAuctionV2> {
|
|
|
1699
1727
|
*/
|
|
1700
1728
|
export const AccountAuctionV2 = new AccountAuctionV2$Type();
|
|
1701
1729
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
1730
|
+
class AuctionAccountStatusRequest$Type extends MessageType<AuctionAccountStatusRequest> {
|
|
1731
|
+
constructor() {
|
|
1732
|
+
super("injective_auction_rpc.AuctionAccountStatusRequest", [
|
|
1733
|
+
{ no: 1, name: "round", kind: "scalar", T: 18 /*ScalarType.SINT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
1734
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1735
|
+
]);
|
|
1736
|
+
}
|
|
1737
|
+
create(value?: PartialMessage<AuctionAccountStatusRequest>): AuctionAccountStatusRequest {
|
|
1738
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1739
|
+
message.round = 0n;
|
|
1740
|
+
message.address = "";
|
|
1741
|
+
if (value !== undefined)
|
|
1742
|
+
reflectionMergePartial<AuctionAccountStatusRequest>(this, message, value);
|
|
1743
|
+
return message;
|
|
1744
|
+
}
|
|
1745
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuctionAccountStatusRequest): AuctionAccountStatusRequest {
|
|
1746
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1747
|
+
while (reader.pos < end) {
|
|
1748
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1749
|
+
switch (fieldNo) {
|
|
1750
|
+
case /* sint64 round */ 1:
|
|
1751
|
+
message.round = reader.sint64().toBigInt();
|
|
1752
|
+
break;
|
|
1753
|
+
case /* string address */ 2:
|
|
1754
|
+
message.address = reader.string();
|
|
1755
|
+
break;
|
|
1756
|
+
default:
|
|
1757
|
+
let u = options.readUnknownField;
|
|
1758
|
+
if (u === "throw")
|
|
1759
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1760
|
+
let d = reader.skip(wireType);
|
|
1761
|
+
if (u !== false)
|
|
1762
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
return message;
|
|
1766
|
+
}
|
|
1767
|
+
internalBinaryWrite(message: AuctionAccountStatusRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1768
|
+
/* sint64 round = 1; */
|
|
1769
|
+
if (message.round !== 0n)
|
|
1770
|
+
writer.tag(1, WireType.Varint).sint64(message.round);
|
|
1771
|
+
/* string address = 2; */
|
|
1772
|
+
if (message.address !== "")
|
|
1773
|
+
writer.tag(2, WireType.LengthDelimited).string(message.address);
|
|
1774
|
+
let u = options.writeUnknownFields;
|
|
1775
|
+
if (u !== false)
|
|
1776
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1777
|
+
return writer;
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
/**
|
|
1781
|
+
* @generated MessageType for protobuf message injective_auction_rpc.AuctionAccountStatusRequest
|
|
1782
|
+
*/
|
|
1783
|
+
export const AuctionAccountStatusRequest = new AuctionAccountStatusRequest$Type();
|
|
1784
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1785
|
+
class AuctionAccountStatusResponse$Type extends MessageType<AuctionAccountStatusResponse> {
|
|
1786
|
+
constructor() {
|
|
1787
|
+
super("injective_auction_rpc.AuctionAccountStatusResponse", [
|
|
1788
|
+
{ no: 1, name: "status", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
1789
|
+
]);
|
|
1790
|
+
}
|
|
1791
|
+
create(value?: PartialMessage<AuctionAccountStatusResponse>): AuctionAccountStatusResponse {
|
|
1792
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
1793
|
+
message.status = "";
|
|
1794
|
+
if (value !== undefined)
|
|
1795
|
+
reflectionMergePartial<AuctionAccountStatusResponse>(this, message, value);
|
|
1796
|
+
return message;
|
|
1797
|
+
}
|
|
1798
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AuctionAccountStatusResponse): AuctionAccountStatusResponse {
|
|
1799
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1800
|
+
while (reader.pos < end) {
|
|
1801
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1802
|
+
switch (fieldNo) {
|
|
1803
|
+
case /* string status */ 1:
|
|
1804
|
+
message.status = reader.string();
|
|
1805
|
+
break;
|
|
1806
|
+
default:
|
|
1807
|
+
let u = options.readUnknownField;
|
|
1808
|
+
if (u === "throw")
|
|
1809
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1810
|
+
let d = reader.skip(wireType);
|
|
1811
|
+
if (u !== false)
|
|
1812
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
return message;
|
|
1816
|
+
}
|
|
1817
|
+
internalBinaryWrite(message: AuctionAccountStatusResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
1818
|
+
/* string status = 1; */
|
|
1819
|
+
if (message.status !== "")
|
|
1820
|
+
writer.tag(1, WireType.LengthDelimited).string(message.status);
|
|
1821
|
+
let u = options.writeUnknownFields;
|
|
1822
|
+
if (u !== false)
|
|
1823
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1824
|
+
return writer;
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
/**
|
|
1828
|
+
* @generated MessageType for protobuf message injective_auction_rpc.AuctionAccountStatusResponse
|
|
1829
|
+
*/
|
|
1830
|
+
export const AuctionAccountStatusResponse = new AuctionAccountStatusResponse$Type();
|
|
1831
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
1702
1832
|
class StreamBidsRequest$Type extends MessageType<StreamBidsRequest> {
|
|
1703
1833
|
constructor() {
|
|
1704
1834
|
super("injective_auction_rpc.StreamBidsRequest", []);
|
|
@@ -1994,6 +2124,7 @@ export const InjectiveAuctionRPC = new ServiceType("injective_auction_rpc.Inject
|
|
|
1994
2124
|
{ name: "AuctionsHistoryV2", options: {}, I: AuctionsHistoryV2Request, O: AuctionsHistoryV2Response },
|
|
1995
2125
|
{ name: "AuctionV2", options: {}, I: AuctionV2Request, O: AuctionV2Response },
|
|
1996
2126
|
{ name: "AccountAuctionsV2", options: {}, I: AccountAuctionsV2Request, O: AccountAuctionsV2Response },
|
|
2127
|
+
{ name: "AuctionAccountStatus", options: {}, I: AuctionAccountStatusRequest, O: AuctionAccountStatusResponse },
|
|
1997
2128
|
{ name: "StreamBids", serverStreaming: true, options: {}, I: StreamBidsRequest, O: StreamBidsResponse },
|
|
1998
2129
|
{ name: "InjBurntEndpoint", options: {}, I: InjBurntEndpointRequest, O: InjBurntEndpointResponse },
|
|
1999
2130
|
{ name: "AuctionsStats", options: {}, I: AuctionsStatsRequest, O: AuctionsStatsResponse }
|
|
@@ -1456,6 +1456,119 @@ class AccountAuctionV2$Type extends MessageType {
|
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
1458
|
const AccountAuctionV2 = new AccountAuctionV2$Type();
|
|
1459
|
+
class AuctionAccountStatusRequest$Type extends MessageType {
|
|
1460
|
+
constructor() {
|
|
1461
|
+
super("injective_auction_rpc.AuctionAccountStatusRequest", [
|
|
1462
|
+
{
|
|
1463
|
+
no: 1,
|
|
1464
|
+
name: "round",
|
|
1465
|
+
kind: "scalar",
|
|
1466
|
+
T: 18,
|
|
1467
|
+
L: 0
|
|
1468
|
+
/*LongType.BIGINT*/
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
no: 2,
|
|
1472
|
+
name: "address",
|
|
1473
|
+
kind: "scalar",
|
|
1474
|
+
T: 9
|
|
1475
|
+
/*ScalarType.STRING*/
|
|
1476
|
+
}
|
|
1477
|
+
]);
|
|
1478
|
+
}
|
|
1479
|
+
create(value) {
|
|
1480
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
1481
|
+
message.round = 0n;
|
|
1482
|
+
message.address = "";
|
|
1483
|
+
if (value !== void 0)
|
|
1484
|
+
reflectionMergePartial(this, message, value);
|
|
1485
|
+
return message;
|
|
1486
|
+
}
|
|
1487
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1488
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1489
|
+
while (reader.pos < end) {
|
|
1490
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1491
|
+
switch (fieldNo) {
|
|
1492
|
+
case /* sint64 round */
|
|
1493
|
+
1:
|
|
1494
|
+
message.round = reader.sint64().toBigInt();
|
|
1495
|
+
break;
|
|
1496
|
+
case /* string address */
|
|
1497
|
+
2:
|
|
1498
|
+
message.address = reader.string();
|
|
1499
|
+
break;
|
|
1500
|
+
default:
|
|
1501
|
+
let u = options.readUnknownField;
|
|
1502
|
+
if (u === "throw")
|
|
1503
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1504
|
+
let d = reader.skip(wireType);
|
|
1505
|
+
if (u !== false)
|
|
1506
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
return message;
|
|
1510
|
+
}
|
|
1511
|
+
internalBinaryWrite(message, writer, options) {
|
|
1512
|
+
if (message.round !== 0n)
|
|
1513
|
+
writer.tag(1, WireType.Varint).sint64(message.round);
|
|
1514
|
+
if (message.address !== "")
|
|
1515
|
+
writer.tag(2, WireType.LengthDelimited).string(message.address);
|
|
1516
|
+
let u = options.writeUnknownFields;
|
|
1517
|
+
if (u !== false)
|
|
1518
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1519
|
+
return writer;
|
|
1520
|
+
}
|
|
1521
|
+
}
|
|
1522
|
+
const AuctionAccountStatusRequest = new AuctionAccountStatusRequest$Type();
|
|
1523
|
+
class AuctionAccountStatusResponse$Type extends MessageType {
|
|
1524
|
+
constructor() {
|
|
1525
|
+
super("injective_auction_rpc.AuctionAccountStatusResponse", [
|
|
1526
|
+
{
|
|
1527
|
+
no: 1,
|
|
1528
|
+
name: "status",
|
|
1529
|
+
kind: "scalar",
|
|
1530
|
+
T: 9
|
|
1531
|
+
/*ScalarType.STRING*/
|
|
1532
|
+
}
|
|
1533
|
+
]);
|
|
1534
|
+
}
|
|
1535
|
+
create(value) {
|
|
1536
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
1537
|
+
message.status = "";
|
|
1538
|
+
if (value !== void 0)
|
|
1539
|
+
reflectionMergePartial(this, message, value);
|
|
1540
|
+
return message;
|
|
1541
|
+
}
|
|
1542
|
+
internalBinaryRead(reader, length, options, target) {
|
|
1543
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
1544
|
+
while (reader.pos < end) {
|
|
1545
|
+
let [fieldNo, wireType] = reader.tag();
|
|
1546
|
+
switch (fieldNo) {
|
|
1547
|
+
case /* string status */
|
|
1548
|
+
1:
|
|
1549
|
+
message.status = reader.string();
|
|
1550
|
+
break;
|
|
1551
|
+
default:
|
|
1552
|
+
let u = options.readUnknownField;
|
|
1553
|
+
if (u === "throw")
|
|
1554
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
1555
|
+
let d = reader.skip(wireType);
|
|
1556
|
+
if (u !== false)
|
|
1557
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
return message;
|
|
1561
|
+
}
|
|
1562
|
+
internalBinaryWrite(message, writer, options) {
|
|
1563
|
+
if (message.status !== "")
|
|
1564
|
+
writer.tag(1, WireType.LengthDelimited).string(message.status);
|
|
1565
|
+
let u = options.writeUnknownFields;
|
|
1566
|
+
if (u !== false)
|
|
1567
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
1568
|
+
return writer;
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
const AuctionAccountStatusResponse = new AuctionAccountStatusResponse$Type();
|
|
1459
1572
|
class StreamBidsRequest$Type extends MessageType {
|
|
1460
1573
|
constructor() {
|
|
1461
1574
|
super("injective_auction_rpc.StreamBidsRequest", []);
|
|
@@ -1769,6 +1882,7 @@ const InjectiveAuctionRPC = new ServiceType("injective_auction_rpc.InjectiveAuct
|
|
|
1769
1882
|
{ name: "AuctionsHistoryV2", options: {}, I: AuctionsHistoryV2Request, O: AuctionsHistoryV2Response },
|
|
1770
1883
|
{ name: "AuctionV2", options: {}, I: AuctionV2Request, O: AuctionV2Response },
|
|
1771
1884
|
{ name: "AccountAuctionsV2", options: {}, I: AccountAuctionsV2Request, O: AccountAuctionsV2Response },
|
|
1885
|
+
{ name: "AuctionAccountStatus", options: {}, I: AuctionAccountStatusRequest, O: AuctionAccountStatusResponse },
|
|
1772
1886
|
{ name: "StreamBids", serverStreaming: true, options: {}, I: StreamBidsRequest, O: StreamBidsResponse },
|
|
1773
1887
|
{ name: "InjBurntEndpoint", options: {}, I: InjBurntEndpointRequest, O: InjBurntEndpointResponse },
|
|
1774
1888
|
{ name: "AuctionsStats", options: {}, I: AuctionsStatsRequest, O: AuctionsStatsResponse }
|
|
@@ -1778,6 +1892,8 @@ export {
|
|
|
1778
1892
|
AccountAuctionsV2Request,
|
|
1779
1893
|
AccountAuctionsV2Response,
|
|
1780
1894
|
Auction,
|
|
1895
|
+
AuctionAccountStatusRequest,
|
|
1896
|
+
AuctionAccountStatusResponse,
|
|
1781
1897
|
AuctionContract,
|
|
1782
1898
|
AuctionEndpointRequest,
|
|
1783
1899
|
AuctionEndpointResponse,
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
// $ goa gen github.com/InjectiveLabs/injective-indexer/api/design -o ../
|
|
11
11
|
//
|
|
12
12
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
13
|
-
import { WireType } from "@protobuf-ts/runtime";
|
|
14
13
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
15
14
|
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
15
|
+
import { WireType } from "@protobuf-ts/runtime";
|
|
16
16
|
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
17
17
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
18
18
|
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
@@ -23,15 +23,47 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
23
23
|
* @generated from protobuf message injective_oracle_rpc.OracleListRequest
|
|
24
24
|
*/
|
|
25
25
|
export interface OracleListRequest {
|
|
26
|
+
/**
|
|
27
|
+
* Filter by oracle symbol
|
|
28
|
+
*
|
|
29
|
+
* @generated from protobuf field: string symbol = 1
|
|
30
|
+
*/
|
|
31
|
+
symbol: string;
|
|
32
|
+
/**
|
|
33
|
+
* Filter by oracle type
|
|
34
|
+
*
|
|
35
|
+
* @generated from protobuf field: string oracle_type = 2
|
|
36
|
+
*/
|
|
37
|
+
oracleType: string;
|
|
38
|
+
/**
|
|
39
|
+
* Number of results per page
|
|
40
|
+
*
|
|
41
|
+
* @generated from protobuf field: sint32 per_page = 3
|
|
42
|
+
*/
|
|
43
|
+
perPage: number;
|
|
44
|
+
/**
|
|
45
|
+
* Pagination token from previous response
|
|
46
|
+
*
|
|
47
|
+
* @generated from protobuf field: string token = 4
|
|
48
|
+
*/
|
|
49
|
+
token: string;
|
|
26
50
|
}
|
|
27
51
|
/**
|
|
28
52
|
* @generated from protobuf message injective_oracle_rpc.OracleListResponse
|
|
29
53
|
*/
|
|
30
54
|
export interface OracleListResponse {
|
|
31
55
|
/**
|
|
56
|
+
* List of oracles
|
|
57
|
+
*
|
|
32
58
|
* @generated from protobuf field: repeated injective_oracle_rpc.Oracle oracles = 1
|
|
33
59
|
*/
|
|
34
60
|
oracles: Oracle[];
|
|
61
|
+
/**
|
|
62
|
+
* Next tokens for pagination
|
|
63
|
+
*
|
|
64
|
+
* @generated from protobuf field: repeated string next = 2
|
|
65
|
+
*/
|
|
66
|
+
next: string[];
|
|
35
67
|
}
|
|
36
68
|
/**
|
|
37
69
|
* @generated from protobuf message injective_oracle_rpc.Oracle
|
|
@@ -273,10 +305,19 @@ export interface StreamPricesByMarketsResponse {
|
|
|
273
305
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
274
306
|
class OracleListRequest$Type extends MessageType<OracleListRequest> {
|
|
275
307
|
constructor() {
|
|
276
|
-
super("injective_oracle_rpc.OracleListRequest", [
|
|
308
|
+
super("injective_oracle_rpc.OracleListRequest", [
|
|
309
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
310
|
+
{ no: 2, name: "oracle_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
311
|
+
{ no: 3, name: "per_page", kind: "scalar", T: 17 /*ScalarType.SINT32*/ },
|
|
312
|
+
{ no: 4, name: "token", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
313
|
+
]);
|
|
277
314
|
}
|
|
278
315
|
create(value?: PartialMessage<OracleListRequest>): OracleListRequest {
|
|
279
316
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
317
|
+
message.symbol = "";
|
|
318
|
+
message.oracleType = "";
|
|
319
|
+
message.perPage = 0;
|
|
320
|
+
message.token = "";
|
|
280
321
|
if (value !== undefined)
|
|
281
322
|
reflectionMergePartial<OracleListRequest>(this, message, value);
|
|
282
323
|
return message;
|
|
@@ -286,6 +327,18 @@ class OracleListRequest$Type extends MessageType<OracleListRequest> {
|
|
|
286
327
|
while (reader.pos < end) {
|
|
287
328
|
let [fieldNo, wireType] = reader.tag();
|
|
288
329
|
switch (fieldNo) {
|
|
330
|
+
case /* string symbol */ 1:
|
|
331
|
+
message.symbol = reader.string();
|
|
332
|
+
break;
|
|
333
|
+
case /* string oracle_type */ 2:
|
|
334
|
+
message.oracleType = reader.string();
|
|
335
|
+
break;
|
|
336
|
+
case /* sint32 per_page */ 3:
|
|
337
|
+
message.perPage = reader.sint32();
|
|
338
|
+
break;
|
|
339
|
+
case /* string token */ 4:
|
|
340
|
+
message.token = reader.string();
|
|
341
|
+
break;
|
|
289
342
|
default:
|
|
290
343
|
let u = options.readUnknownField;
|
|
291
344
|
if (u === "throw")
|
|
@@ -298,6 +351,18 @@ class OracleListRequest$Type extends MessageType<OracleListRequest> {
|
|
|
298
351
|
return message;
|
|
299
352
|
}
|
|
300
353
|
internalBinaryWrite(message: OracleListRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
354
|
+
/* string symbol = 1; */
|
|
355
|
+
if (message.symbol !== "")
|
|
356
|
+
writer.tag(1, WireType.LengthDelimited).string(message.symbol);
|
|
357
|
+
/* string oracle_type = 2; */
|
|
358
|
+
if (message.oracleType !== "")
|
|
359
|
+
writer.tag(2, WireType.LengthDelimited).string(message.oracleType);
|
|
360
|
+
/* sint32 per_page = 3; */
|
|
361
|
+
if (message.perPage !== 0)
|
|
362
|
+
writer.tag(3, WireType.Varint).sint32(message.perPage);
|
|
363
|
+
/* string token = 4; */
|
|
364
|
+
if (message.token !== "")
|
|
365
|
+
writer.tag(4, WireType.LengthDelimited).string(message.token);
|
|
301
366
|
let u = options.writeUnknownFields;
|
|
302
367
|
if (u !== false)
|
|
303
368
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -312,12 +377,14 @@ export const OracleListRequest = new OracleListRequest$Type();
|
|
|
312
377
|
class OracleListResponse$Type extends MessageType<OracleListResponse> {
|
|
313
378
|
constructor() {
|
|
314
379
|
super("injective_oracle_rpc.OracleListResponse", [
|
|
315
|
-
{ no: 1, name: "oracles", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Oracle }
|
|
380
|
+
{ no: 1, name: "oracles", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Oracle },
|
|
381
|
+
{ no: 2, name: "next", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
316
382
|
]);
|
|
317
383
|
}
|
|
318
384
|
create(value?: PartialMessage<OracleListResponse>): OracleListResponse {
|
|
319
385
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
320
386
|
message.oracles = [];
|
|
387
|
+
message.next = [];
|
|
321
388
|
if (value !== undefined)
|
|
322
389
|
reflectionMergePartial<OracleListResponse>(this, message, value);
|
|
323
390
|
return message;
|
|
@@ -330,6 +397,9 @@ class OracleListResponse$Type extends MessageType<OracleListResponse> {
|
|
|
330
397
|
case /* repeated injective_oracle_rpc.Oracle oracles */ 1:
|
|
331
398
|
message.oracles.push(Oracle.internalBinaryRead(reader, reader.uint32(), options));
|
|
332
399
|
break;
|
|
400
|
+
case /* repeated string next */ 2:
|
|
401
|
+
message.next.push(reader.string());
|
|
402
|
+
break;
|
|
333
403
|
default:
|
|
334
404
|
let u = options.readUnknownField;
|
|
335
405
|
if (u === "throw")
|
|
@@ -345,6 +415,9 @@ class OracleListResponse$Type extends MessageType<OracleListResponse> {
|
|
|
345
415
|
/* repeated injective_oracle_rpc.Oracle oracles = 1; */
|
|
346
416
|
for (let i = 0; i < message.oracles.length; i++)
|
|
347
417
|
Oracle.internalBinaryWrite(message.oracles[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
418
|
+
/* repeated string next = 2; */
|
|
419
|
+
for (let i = 0; i < message.next.length; i++)
|
|
420
|
+
writer.tag(2, WireType.LengthDelimited).string(message.next[i]);
|
|
348
421
|
let u = options.writeUnknownFields;
|
|
349
422
|
if (u !== false)
|
|
350
423
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -5,10 +5,43 @@ import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
|
5
5
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
6
6
|
class OracleListRequest$Type extends MessageType {
|
|
7
7
|
constructor() {
|
|
8
|
-
super("injective_oracle_rpc.OracleListRequest", [
|
|
8
|
+
super("injective_oracle_rpc.OracleListRequest", [
|
|
9
|
+
{
|
|
10
|
+
no: 1,
|
|
11
|
+
name: "symbol",
|
|
12
|
+
kind: "scalar",
|
|
13
|
+
T: 9
|
|
14
|
+
/*ScalarType.STRING*/
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
no: 2,
|
|
18
|
+
name: "oracle_type",
|
|
19
|
+
kind: "scalar",
|
|
20
|
+
T: 9
|
|
21
|
+
/*ScalarType.STRING*/
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
no: 3,
|
|
25
|
+
name: "per_page",
|
|
26
|
+
kind: "scalar",
|
|
27
|
+
T: 17
|
|
28
|
+
/*ScalarType.SINT32*/
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
no: 4,
|
|
32
|
+
name: "token",
|
|
33
|
+
kind: "scalar",
|
|
34
|
+
T: 9
|
|
35
|
+
/*ScalarType.STRING*/
|
|
36
|
+
}
|
|
37
|
+
]);
|
|
9
38
|
}
|
|
10
39
|
create(value) {
|
|
11
40
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
41
|
+
message.symbol = "";
|
|
42
|
+
message.oracleType = "";
|
|
43
|
+
message.perPage = 0;
|
|
44
|
+
message.token = "";
|
|
12
45
|
if (value !== void 0)
|
|
13
46
|
reflectionMergePartial(this, message, value);
|
|
14
47
|
return message;
|
|
@@ -18,6 +51,22 @@ class OracleListRequest$Type extends MessageType {
|
|
|
18
51
|
while (reader.pos < end) {
|
|
19
52
|
let [fieldNo, wireType] = reader.tag();
|
|
20
53
|
switch (fieldNo) {
|
|
54
|
+
case /* string symbol */
|
|
55
|
+
1:
|
|
56
|
+
message.symbol = reader.string();
|
|
57
|
+
break;
|
|
58
|
+
case /* string oracle_type */
|
|
59
|
+
2:
|
|
60
|
+
message.oracleType = reader.string();
|
|
61
|
+
break;
|
|
62
|
+
case /* sint32 per_page */
|
|
63
|
+
3:
|
|
64
|
+
message.perPage = reader.sint32();
|
|
65
|
+
break;
|
|
66
|
+
case /* string token */
|
|
67
|
+
4:
|
|
68
|
+
message.token = reader.string();
|
|
69
|
+
break;
|
|
21
70
|
default:
|
|
22
71
|
let u = options.readUnknownField;
|
|
23
72
|
if (u === "throw")
|
|
@@ -30,6 +79,14 @@ class OracleListRequest$Type extends MessageType {
|
|
|
30
79
|
return message;
|
|
31
80
|
}
|
|
32
81
|
internalBinaryWrite(message, writer, options) {
|
|
82
|
+
if (message.symbol !== "")
|
|
83
|
+
writer.tag(1, WireType.LengthDelimited).string(message.symbol);
|
|
84
|
+
if (message.oracleType !== "")
|
|
85
|
+
writer.tag(2, WireType.LengthDelimited).string(message.oracleType);
|
|
86
|
+
if (message.perPage !== 0)
|
|
87
|
+
writer.tag(3, WireType.Varint).sint32(message.perPage);
|
|
88
|
+
if (message.token !== "")
|
|
89
|
+
writer.tag(4, WireType.LengthDelimited).string(message.token);
|
|
33
90
|
let u = options.writeUnknownFields;
|
|
34
91
|
if (u !== false)
|
|
35
92
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -40,12 +97,21 @@ const OracleListRequest = new OracleListRequest$Type();
|
|
|
40
97
|
class OracleListResponse$Type extends MessageType {
|
|
41
98
|
constructor() {
|
|
42
99
|
super("injective_oracle_rpc.OracleListResponse", [
|
|
43
|
-
{ no: 1, name: "oracles", kind: "message", repeat: 2, T: () => Oracle }
|
|
100
|
+
{ no: 1, name: "oracles", kind: "message", repeat: 2, T: () => Oracle },
|
|
101
|
+
{
|
|
102
|
+
no: 2,
|
|
103
|
+
name: "next",
|
|
104
|
+
kind: "scalar",
|
|
105
|
+
repeat: 2,
|
|
106
|
+
T: 9
|
|
107
|
+
/*ScalarType.STRING*/
|
|
108
|
+
}
|
|
44
109
|
]);
|
|
45
110
|
}
|
|
46
111
|
create(value) {
|
|
47
112
|
const message = globalThis.Object.create(this.messagePrototype);
|
|
48
113
|
message.oracles = [];
|
|
114
|
+
message.next = [];
|
|
49
115
|
if (value !== void 0)
|
|
50
116
|
reflectionMergePartial(this, message, value);
|
|
51
117
|
return message;
|
|
@@ -59,6 +125,10 @@ class OracleListResponse$Type extends MessageType {
|
|
|
59
125
|
1:
|
|
60
126
|
message.oracles.push(Oracle.internalBinaryRead(reader, reader.uint32(), options));
|
|
61
127
|
break;
|
|
128
|
+
case /* repeated string next */
|
|
129
|
+
2:
|
|
130
|
+
message.next.push(reader.string());
|
|
131
|
+
break;
|
|
62
132
|
default:
|
|
63
133
|
let u = options.readUnknownField;
|
|
64
134
|
if (u === "throw")
|
|
@@ -73,6 +143,8 @@ class OracleListResponse$Type extends MessageType {
|
|
|
73
143
|
internalBinaryWrite(message, writer, options) {
|
|
74
144
|
for (let i = 0; i < message.oracles.length; i++)
|
|
75
145
|
Oracle.internalBinaryWrite(message.oracles[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
146
|
+
for (let i = 0; i < message.next.length; i++)
|
|
147
|
+
writer.tag(2, WireType.LengthDelimited).string(message.next[i]);
|
|
76
148
|
let u = options.writeUnknownFields;
|
|
77
149
|
if (u !== false)
|
|
78
150
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
package/package.json
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/indexer-proto-ts-v2",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.7-alpha",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "./
|
|
6
|
-
"types": "./
|
|
5
|
+
"main": "./index.js",
|
|
6
|
+
"types": "./index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
-
"types": "./
|
|
10
|
-
"import": "./
|
|
11
|
-
"default": "./
|
|
9
|
+
"types": "./index.d.ts",
|
|
10
|
+
"import": "./index.js",
|
|
11
|
+
"default": "./index.js"
|
|
12
12
|
},
|
|
13
13
|
"./generated/*": {
|
|
14
|
-
"types": "./
|
|
15
|
-
"import": "./
|
|
16
|
-
"default": "./
|
|
14
|
+
"types": "./generated/*.d.ts",
|
|
15
|
+
"import": "./generated/*.js",
|
|
16
|
+
"default": "./generated/*.js"
|
|
17
17
|
},
|
|
18
|
-
"./generated/*.js": "./
|
|
18
|
+
"./generated/*.js": "./generated/*.js"
|
|
19
19
|
},
|
|
20
20
|
"files": [
|
|
21
|
-
"
|
|
21
|
+
"index.js",
|
|
22
|
+
"index.d.ts",
|
|
23
|
+
"generated"
|
|
22
24
|
],
|
|
23
25
|
"sideEffects": false,
|
|
24
26
|
"license": "Apache-2.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|