@injectivelabs/indexer-proto-ts-v2 1.17.0 → 1.17.2

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.
Files changed (41) hide show
  1. package/esm/generated/{event_provider_api_pb.client.mjs → event_provider_api_pb.client.js} +1 -1
  2. package/esm/generated/{health_pb.client.mjs → health_pb.client.js} +1 -1
  3. package/esm/generated/{injective_accounts_rpc_pb.client.mjs → injective_accounts_rpc_pb.client.js} +1 -1
  4. package/esm/generated/{injective_archiver_rpc_pb.client.mjs → injective_archiver_rpc_pb.client.js} +1 -1
  5. package/esm/generated/injective_archiver_rpc_pb.d.ts +46 -3
  6. package/esm/generated/{injective_archiver_rpc_pb.mjs → injective_archiver_rpc_pb.js} +42 -0
  7. package/esm/generated/{injective_auction_rpc_pb.client.mjs → injective_auction_rpc_pb.client.js} +1 -1
  8. package/esm/generated/injective_auction_rpc_pb.d.ts +15 -1
  9. package/esm/generated/{injective_auction_rpc_pb.mjs → injective_auction_rpc_pb.js} +14 -0
  10. package/esm/generated/{injective_campaign_rpc_pb.client.mjs → injective_campaign_rpc_pb.client.js} +1 -1
  11. package/esm/generated/{injective_chart_rpc_pb.client.mjs → injective_chart_rpc_pb.client.js} +1 -1
  12. package/esm/generated/{injective_derivative_exchange_rpc_pb.client.mjs → injective_derivative_exchange_rpc_pb.client.js} +1 -1
  13. package/esm/generated/{injective_exchange_rpc_pb.client.mjs → injective_exchange_rpc_pb.client.js} +1 -1
  14. package/esm/generated/{injective_explorer_rpc_pb.client.mjs → injective_explorer_rpc_pb.client.js} +1 -1
  15. package/esm/generated/{injective_insurance_rpc_pb.client.mjs → injective_insurance_rpc_pb.client.js} +1 -1
  16. package/esm/generated/{injective_megavault_rpc_pb.client.mjs → injective_megavault_rpc_pb.client.js} +1 -1
  17. package/esm/generated/injective_megavault_rpc_pb.d.ts +56 -28
  18. package/esm/generated/{injective_megavault_rpc_pb.mjs → injective_megavault_rpc_pb.js} +51 -19
  19. package/esm/generated/{injective_meta_rpc_pb.client.mjs → injective_meta_rpc_pb.client.js} +1 -1
  20. package/esm/generated/{injective_oracle_rpc_pb.client.mjs → injective_oracle_rpc_pb.client.js} +1 -1
  21. package/esm/generated/{injective_portfolio_rpc_pb.client.mjs → injective_portfolio_rpc_pb.client.js} +1 -1
  22. package/esm/generated/{injective_referral_rpc_pb.client.mjs → injective_referral_rpc_pb.client.js} +1 -1
  23. package/esm/generated/{injective_spot_exchange_rpc_pb.client.mjs → injective_spot_exchange_rpc_pb.client.js} +1 -1
  24. package/esm/generated/{injective_trading_rpc_pb.client.mjs → injective_trading_rpc_pb.client.js} +1 -1
  25. package/esm/{index.mjs → index.js} +36 -36
  26. package/package.json +12 -26
  27. /package/esm/generated/{event_provider_api_pb.mjs → event_provider_api_pb.js} +0 -0
  28. /package/esm/generated/{health_pb.mjs → health_pb.js} +0 -0
  29. /package/esm/generated/{injective_accounts_rpc_pb.mjs → injective_accounts_rpc_pb.js} +0 -0
  30. /package/esm/generated/{injective_campaign_rpc_pb.mjs → injective_campaign_rpc_pb.js} +0 -0
  31. /package/esm/generated/{injective_chart_rpc_pb.mjs → injective_chart_rpc_pb.js} +0 -0
  32. /package/esm/generated/{injective_derivative_exchange_rpc_pb.mjs → injective_derivative_exchange_rpc_pb.js} +0 -0
  33. /package/esm/generated/{injective_exchange_rpc_pb.mjs → injective_exchange_rpc_pb.js} +0 -0
  34. /package/esm/generated/{injective_explorer_rpc_pb.mjs → injective_explorer_rpc_pb.js} +0 -0
  35. /package/esm/generated/{injective_insurance_rpc_pb.mjs → injective_insurance_rpc_pb.js} +0 -0
  36. /package/esm/generated/{injective_meta_rpc_pb.mjs → injective_meta_rpc_pb.js} +0 -0
  37. /package/esm/generated/{injective_oracle_rpc_pb.mjs → injective_oracle_rpc_pb.js} +0 -0
  38. /package/esm/generated/{injective_portfolio_rpc_pb.mjs → injective_portfolio_rpc_pb.js} +0 -0
  39. /package/esm/generated/{injective_referral_rpc_pb.mjs → injective_referral_rpc_pb.js} +0 -0
  40. /package/esm/generated/{injective_spot_exchange_rpc_pb.mjs → injective_spot_exchange_rpc_pb.js} +0 -0
  41. /package/esm/generated/{injective_trading_rpc_pb.mjs → injective_trading_rpc_pb.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { EventProviderAPI } from "./event_provider_api_pb.mjs";
1
+ import { EventProviderAPI } from "./event_provider_api_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class EventProviderAPIClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { Health } from "./health_pb.mjs";
1
+ import { Health } from "./health_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class HealthClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveAccountsRPC } from "./injective_accounts_rpc_pb.mjs";
1
+ import { InjectiveAccountsRPC } from "./injective_accounts_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveAccountsRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveArchiverRPC } from "./injective_archiver_rpc_pb.mjs";
1
+ import { InjectiveArchiverRPC } from "./injective_archiver_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveArchiverRPCClient {
4
4
  constructor(_transport) {
@@ -84,6 +84,12 @@ export interface HistoricalDetailedBalance {
84
84
  * @generated from protobuf field: double perp = 2
85
85
  */
86
86
  perp: number;
87
+ /**
88
+ * Staking amount value
89
+ *
90
+ * @generated from protobuf field: double staking = 3
91
+ */
92
+ staking: number;
87
93
  }
88
94
  /**
89
95
  * @generated from protobuf message injective_archiver_rpc.AccountStatsRequest
@@ -95,6 +101,13 @@ export interface AccountStatsRequest {
95
101
  * @generated from protobuf field: string account = 1
96
102
  */
97
103
  account: string;
104
+ /**
105
+ * Time period filter for pnl and volume. Possible values are 1d, 7d, 30d, or
106
+ * empty for all-time
107
+ *
108
+ * @generated from protobuf field: string period = 2
109
+ */
110
+ period: string;
98
111
  }
99
112
  /**
100
113
  * @generated from protobuf message injective_archiver_rpc.AccountStatsResponse
@@ -118,6 +131,12 @@ export interface AccountStatsResponse {
118
131
  * @generated from protobuf field: double volume = 3
119
132
  */
120
133
  volume: number;
134
+ /**
135
+ * Staking amount (USD)
136
+ *
137
+ * @generated from protobuf field: double stake = 4
138
+ */
139
+ stake: number;
121
140
  }
122
141
  /**
123
142
  * @generated from protobuf message injective_archiver_rpc.RpnlRequest
@@ -966,13 +985,15 @@ class HistoricalDetailedBalance$Type extends MessageType<HistoricalDetailedBalan
966
985
  constructor() {
967
986
  super("injective_archiver_rpc.HistoricalDetailedBalance", [
968
987
  { no: 1, name: "spot", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ },
969
- { no: 2, name: "perp", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ }
988
+ { no: 2, name: "perp", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ },
989
+ { no: 3, name: "staking", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ }
970
990
  ]);
971
991
  }
972
992
  create(value?: PartialMessage<HistoricalDetailedBalance>): HistoricalDetailedBalance {
973
993
  const message = globalThis.Object.create((this.messagePrototype!));
974
994
  message.spot = 0;
975
995
  message.perp = 0;
996
+ message.staking = 0;
976
997
  if (value !== undefined)
977
998
  reflectionMergePartial<HistoricalDetailedBalance>(this, message, value);
978
999
  return message;
@@ -988,6 +1009,9 @@ class HistoricalDetailedBalance$Type extends MessageType<HistoricalDetailedBalan
988
1009
  case /* double perp */ 2:
989
1010
  message.perp = reader.double();
990
1011
  break;
1012
+ case /* double staking */ 3:
1013
+ message.staking = reader.double();
1014
+ break;
991
1015
  default:
992
1016
  let u = options.readUnknownField;
993
1017
  if (u === "throw")
@@ -1006,6 +1030,9 @@ class HistoricalDetailedBalance$Type extends MessageType<HistoricalDetailedBalan
1006
1030
  /* double perp = 2; */
1007
1031
  if (message.perp !== 0)
1008
1032
  writer.tag(2, WireType.Bit64).double(message.perp);
1033
+ /* double staking = 3; */
1034
+ if (message.staking !== 0)
1035
+ writer.tag(3, WireType.Bit64).double(message.staking);
1009
1036
  let u = options.writeUnknownFields;
1010
1037
  if (u !== false)
1011
1038
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1020,12 +1047,14 @@ export const HistoricalDetailedBalance = new HistoricalDetailedBalance$Type();
1020
1047
  class AccountStatsRequest$Type extends MessageType<AccountStatsRequest> {
1021
1048
  constructor() {
1022
1049
  super("injective_archiver_rpc.AccountStatsRequest", [
1023
- { no: 1, name: "account", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1050
+ { no: 1, name: "account", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1051
+ { no: 2, name: "period", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1024
1052
  ]);
1025
1053
  }
1026
1054
  create(value?: PartialMessage<AccountStatsRequest>): AccountStatsRequest {
1027
1055
  const message = globalThis.Object.create((this.messagePrototype!));
1028
1056
  message.account = "";
1057
+ message.period = "";
1029
1058
  if (value !== undefined)
1030
1059
  reflectionMergePartial<AccountStatsRequest>(this, message, value);
1031
1060
  return message;
@@ -1038,6 +1067,9 @@ class AccountStatsRequest$Type extends MessageType<AccountStatsRequest> {
1038
1067
  case /* string account */ 1:
1039
1068
  message.account = reader.string();
1040
1069
  break;
1070
+ case /* string period */ 2:
1071
+ message.period = reader.string();
1072
+ break;
1041
1073
  default:
1042
1074
  let u = options.readUnknownField;
1043
1075
  if (u === "throw")
@@ -1053,6 +1085,9 @@ class AccountStatsRequest$Type extends MessageType<AccountStatsRequest> {
1053
1085
  /* string account = 1; */
1054
1086
  if (message.account !== "")
1055
1087
  writer.tag(1, WireType.LengthDelimited).string(message.account);
1088
+ /* string period = 2; */
1089
+ if (message.period !== "")
1090
+ writer.tag(2, WireType.LengthDelimited).string(message.period);
1056
1091
  let u = options.writeUnknownFields;
1057
1092
  if (u !== false)
1058
1093
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1069,7 +1104,8 @@ class AccountStatsResponse$Type extends MessageType<AccountStatsResponse> {
1069
1104
  super("injective_archiver_rpc.AccountStatsResponse", [
1070
1105
  { no: 1, name: "account", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1071
1106
  { no: 2, name: "pnl", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ },
1072
- { no: 3, name: "volume", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ }
1107
+ { no: 3, name: "volume", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ },
1108
+ { no: 4, name: "stake", kind: "scalar", T: 1 /*ScalarType.DOUBLE*/ }
1073
1109
  ]);
1074
1110
  }
1075
1111
  create(value?: PartialMessage<AccountStatsResponse>): AccountStatsResponse {
@@ -1077,6 +1113,7 @@ class AccountStatsResponse$Type extends MessageType<AccountStatsResponse> {
1077
1113
  message.account = "";
1078
1114
  message.pnl = 0;
1079
1115
  message.volume = 0;
1116
+ message.stake = 0;
1080
1117
  if (value !== undefined)
1081
1118
  reflectionMergePartial<AccountStatsResponse>(this, message, value);
1082
1119
  return message;
@@ -1095,6 +1132,9 @@ class AccountStatsResponse$Type extends MessageType<AccountStatsResponse> {
1095
1132
  case /* double volume */ 3:
1096
1133
  message.volume = reader.double();
1097
1134
  break;
1135
+ case /* double stake */ 4:
1136
+ message.stake = reader.double();
1137
+ break;
1098
1138
  default:
1099
1139
  let u = options.readUnknownField;
1100
1140
  if (u === "throw")
@@ -1116,6 +1156,9 @@ class AccountStatsResponse$Type extends MessageType<AccountStatsResponse> {
1116
1156
  /* double volume = 3; */
1117
1157
  if (message.volume !== 0)
1118
1158
  writer.tag(3, WireType.Bit64).double(message.volume);
1159
+ /* double stake = 4; */
1160
+ if (message.stake !== 0)
1161
+ writer.tag(4, WireType.Bit64).double(message.stake);
1119
1162
  let u = options.writeUnknownFields;
1120
1163
  if (u !== false)
1121
1164
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -213,6 +213,13 @@ class HistoricalDetailedBalance$Type extends MessageType {
213
213
  kind: "scalar",
214
214
  T: 1
215
215
  /*ScalarType.DOUBLE*/
216
+ },
217
+ {
218
+ no: 3,
219
+ name: "staking",
220
+ kind: "scalar",
221
+ T: 1
222
+ /*ScalarType.DOUBLE*/
216
223
  }
217
224
  ]);
218
225
  }
@@ -220,6 +227,7 @@ class HistoricalDetailedBalance$Type extends MessageType {
220
227
  const message = globalThis.Object.create(this.messagePrototype);
221
228
  message.spot = 0;
222
229
  message.perp = 0;
230
+ message.staking = 0;
223
231
  if (value !== void 0)
224
232
  reflectionMergePartial(this, message, value);
225
233
  return message;
@@ -237,6 +245,10 @@ class HistoricalDetailedBalance$Type extends MessageType {
237
245
  2:
238
246
  message.perp = reader.double();
239
247
  break;
248
+ case /* double staking */
249
+ 3:
250
+ message.staking = reader.double();
251
+ break;
240
252
  default:
241
253
  let u = options.readUnknownField;
242
254
  if (u === "throw")
@@ -253,6 +265,8 @@ class HistoricalDetailedBalance$Type extends MessageType {
253
265
  writer.tag(1, WireType.Bit64).double(message.spot);
254
266
  if (message.perp !== 0)
255
267
  writer.tag(2, WireType.Bit64).double(message.perp);
268
+ if (message.staking !== 0)
269
+ writer.tag(3, WireType.Bit64).double(message.staking);
256
270
  let u = options.writeUnknownFields;
257
271
  if (u !== false)
258
272
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -269,12 +283,20 @@ class AccountStatsRequest$Type extends MessageType {
269
283
  kind: "scalar",
270
284
  T: 9
271
285
  /*ScalarType.STRING*/
286
+ },
287
+ {
288
+ no: 2,
289
+ name: "period",
290
+ kind: "scalar",
291
+ T: 9
292
+ /*ScalarType.STRING*/
272
293
  }
273
294
  ]);
274
295
  }
275
296
  create(value) {
276
297
  const message = globalThis.Object.create(this.messagePrototype);
277
298
  message.account = "";
299
+ message.period = "";
278
300
  if (value !== void 0)
279
301
  reflectionMergePartial(this, message, value);
280
302
  return message;
@@ -288,6 +310,10 @@ class AccountStatsRequest$Type extends MessageType {
288
310
  1:
289
311
  message.account = reader.string();
290
312
  break;
313
+ case /* string period */
314
+ 2:
315
+ message.period = reader.string();
316
+ break;
291
317
  default:
292
318
  let u = options.readUnknownField;
293
319
  if (u === "throw")
@@ -302,6 +328,8 @@ class AccountStatsRequest$Type extends MessageType {
302
328
  internalBinaryWrite(message, writer, options) {
303
329
  if (message.account !== "")
304
330
  writer.tag(1, WireType.LengthDelimited).string(message.account);
331
+ if (message.period !== "")
332
+ writer.tag(2, WireType.LengthDelimited).string(message.period);
305
333
  let u = options.writeUnknownFields;
306
334
  if (u !== false)
307
335
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -332,6 +360,13 @@ class AccountStatsResponse$Type extends MessageType {
332
360
  kind: "scalar",
333
361
  T: 1
334
362
  /*ScalarType.DOUBLE*/
363
+ },
364
+ {
365
+ no: 4,
366
+ name: "stake",
367
+ kind: "scalar",
368
+ T: 1
369
+ /*ScalarType.DOUBLE*/
335
370
  }
336
371
  ]);
337
372
  }
@@ -340,6 +375,7 @@ class AccountStatsResponse$Type extends MessageType {
340
375
  message.account = "";
341
376
  message.pnl = 0;
342
377
  message.volume = 0;
378
+ message.stake = 0;
343
379
  if (value !== void 0)
344
380
  reflectionMergePartial(this, message, value);
345
381
  return message;
@@ -361,6 +397,10 @@ class AccountStatsResponse$Type extends MessageType {
361
397
  3:
362
398
  message.volume = reader.double();
363
399
  break;
400
+ case /* double stake */
401
+ 4:
402
+ message.stake = reader.double();
403
+ break;
364
404
  default:
365
405
  let u = options.readUnknownField;
366
406
  if (u === "throw")
@@ -379,6 +419,8 @@ class AccountStatsResponse$Type extends MessageType {
379
419
  writer.tag(2, WireType.Bit64).double(message.pnl);
380
420
  if (message.volume !== 0)
381
421
  writer.tag(3, WireType.Bit64).double(message.volume);
422
+ if (message.stake !== 0)
423
+ writer.tag(4, WireType.Bit64).double(message.stake);
382
424
  let u = options.writeUnknownFields;
383
425
  if (u !== false)
384
426
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1,4 +1,4 @@
1
- import { InjectiveAuctionRPC } from "./injective_auction_rpc_pb.mjs";
1
+ import { InjectiveAuctionRPC } from "./injective_auction_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveAuctionRPCClient {
4
4
  constructor(_transport) {
@@ -169,6 +169,12 @@ export interface AuctionContract {
169
169
  * @generated from protobuf field: string max_round_allocation = 10
170
170
  */
171
171
  maxRoundAllocation: string;
172
+ /**
173
+ * Whether any bid has been placed in the auction.
174
+ *
175
+ * @generated from protobuf field: bool is_bid_placed = 11
176
+ */
177
+ isBidPlaced: boolean;
172
178
  }
173
179
  /**
174
180
  * @generated from protobuf message injective_auction_rpc.Bid
@@ -777,7 +783,8 @@ class AuctionContract$Type extends MessageType<AuctionContract> {
777
783
  { no: 7, name: "whitelist_addresses", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
778
784
  { no: 8, name: "start_timestamp", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
779
785
  { no: 9, name: "end_timestamp", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
780
- { no: 10, name: "max_round_allocation", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
786
+ { no: 10, name: "max_round_allocation", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
787
+ { no: 11, name: "is_bid_placed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
781
788
  ]);
782
789
  }
783
790
  create(value?: PartialMessage<AuctionContract>): AuctionContract {
@@ -792,6 +799,7 @@ class AuctionContract$Type extends MessageType<AuctionContract> {
792
799
  message.startTimestamp = 0n;
793
800
  message.endTimestamp = 0n;
794
801
  message.maxRoundAllocation = "";
802
+ message.isBidPlaced = false;
795
803
  if (value !== undefined)
796
804
  reflectionMergePartial<AuctionContract>(this, message, value);
797
805
  return message;
@@ -831,6 +839,9 @@ class AuctionContract$Type extends MessageType<AuctionContract> {
831
839
  case /* string max_round_allocation */ 10:
832
840
  message.maxRoundAllocation = reader.string();
833
841
  break;
842
+ case /* bool is_bid_placed */ 11:
843
+ message.isBidPlaced = reader.bool();
844
+ break;
834
845
  default:
835
846
  let u = options.readUnknownField;
836
847
  if (u === "throw")
@@ -873,6 +884,9 @@ class AuctionContract$Type extends MessageType<AuctionContract> {
873
884
  /* string max_round_allocation = 10; */
874
885
  if (message.maxRoundAllocation !== "")
875
886
  writer.tag(10, WireType.LengthDelimited).string(message.maxRoundAllocation);
887
+ /* bool is_bid_placed = 11; */
888
+ if (message.isBidPlaced !== false)
889
+ writer.tag(11, WireType.Varint).bool(message.isBidPlaced);
876
890
  let u = options.writeUnknownFields;
877
891
  if (u !== false)
878
892
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -381,6 +381,13 @@ class AuctionContract$Type extends MessageType {
381
381
  kind: "scalar",
382
382
  T: 9
383
383
  /*ScalarType.STRING*/
384
+ },
385
+ {
386
+ no: 11,
387
+ name: "is_bid_placed",
388
+ kind: "scalar",
389
+ T: 8
390
+ /*ScalarType.BOOL*/
384
391
  }
385
392
  ]);
386
393
  }
@@ -396,6 +403,7 @@ class AuctionContract$Type extends MessageType {
396
403
  message.startTimestamp = 0n;
397
404
  message.endTimestamp = 0n;
398
405
  message.maxRoundAllocation = "";
406
+ message.isBidPlaced = false;
399
407
  if (value !== void 0)
400
408
  reflectionMergePartial(this, message, value);
401
409
  return message;
@@ -445,6 +453,10 @@ class AuctionContract$Type extends MessageType {
445
453
  10:
446
454
  message.maxRoundAllocation = reader.string();
447
455
  break;
456
+ case /* bool is_bid_placed */
457
+ 11:
458
+ message.isBidPlaced = reader.bool();
459
+ break;
448
460
  default:
449
461
  let u = options.readUnknownField;
450
462
  if (u === "throw")
@@ -477,6 +489,8 @@ class AuctionContract$Type extends MessageType {
477
489
  writer.tag(9, WireType.Varint).uint64(message.endTimestamp);
478
490
  if (message.maxRoundAllocation !== "")
479
491
  writer.tag(10, WireType.LengthDelimited).string(message.maxRoundAllocation);
492
+ if (message.isBidPlaced !== false)
493
+ writer.tag(11, WireType.Varint).bool(message.isBidPlaced);
480
494
  let u = options.writeUnknownFields;
481
495
  if (u !== false)
482
496
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1,4 +1,4 @@
1
- import { InjectiveCampaignRPC } from "./injective_campaign_rpc_pb.mjs";
1
+ import { InjectiveCampaignRPC } from "./injective_campaign_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveCampaignRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveChartRPC } from "./injective_chart_rpc_pb.mjs";
1
+ import { InjectiveChartRPC } from "./injective_chart_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveChartRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveDerivativeExchangeRPC } from "./injective_derivative_exchange_rpc_pb.mjs";
1
+ import { InjectiveDerivativeExchangeRPC } from "./injective_derivative_exchange_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveDerivativeExchangeRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveExchangeRPC } from "./injective_exchange_rpc_pb.mjs";
1
+ import { InjectiveExchangeRPC } from "./injective_exchange_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveExchangeRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveExplorerRPC } from "./injective_explorer_rpc_pb.mjs";
1
+ import { InjectiveExplorerRPC } from "./injective_explorer_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveExplorerRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveInsuranceRPC } from "./injective_insurance_rpc_pb.mjs";
1
+ import { InjectiveInsuranceRPC } from "./injective_insurance_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveInsuranceRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveMegavaultRPC } from "./injective_megavault_rpc_pb.mjs";
1
+ import { InjectiveMegavaultRPC } from "./injective_megavault_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveMegavaultRPCClient {
4
4
  constructor(_transport) {
@@ -498,16 +498,28 @@ export interface User {
498
498
  * @generated from protobuf field: injective_megavault_rpc.UserStats stats = 3
499
499
  */
500
500
  stats?: UserStats;
501
+ /**
502
+ * Block height when the vault was created.
503
+ *
504
+ * @generated from protobuf field: sint64 created_height = 4
505
+ */
506
+ createdHeight: bigint;
507
+ /**
508
+ * CreatedAt timestamp in UNIX millis.
509
+ *
510
+ * @generated from protobuf field: sint64 created_at = 5
511
+ */
512
+ createdAt: bigint;
501
513
  /**
502
514
  * Block height when the vault was updated.
503
515
  *
504
- * @generated from protobuf field: sint64 updated_height = 4
516
+ * @generated from protobuf field: sint64 updated_height = 6
505
517
  */
506
518
  updatedHeight: bigint;
507
519
  /**
508
520
  * UpdatedAt timestamp in UNIX millis.
509
521
  *
510
- * @generated from protobuf field: sint64 updated_at = 5
522
+ * @generated from protobuf field: sint64 updated_at = 7
511
523
  */
512
524
  updatedAt: bigint;
513
525
  }
@@ -909,9 +921,9 @@ export interface HistoricalTVL {
909
921
  /**
910
922
  * Time, Unix timestamp in milliseconds (UTC)
911
923
  *
912
- * @generated from protobuf field: sint32 t = 1
924
+ * @generated from protobuf field: sint64 t = 1
913
925
  */
914
- t: number;
926
+ t: bigint;
915
927
  /**
916
928
  * TVL Value
917
929
  *
@@ -958,9 +970,9 @@ export interface HistoricalPnL {
958
970
  /**
959
971
  * Time, Unix timestamp in milliseconds (UTC)
960
972
  *
961
- * @generated from protobuf field: sint32 t = 1
973
+ * @generated from protobuf field: sint64 t = 1
962
974
  */
963
- t: number;
975
+ t: bigint;
964
976
  /**
965
977
  * PnL Value
966
978
  *
@@ -2121,14 +2133,18 @@ class User$Type extends MessageType<User> {
2121
2133
  { no: 1, name: "address", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2122
2134
  { no: 2, name: "contract_address", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2123
2135
  { no: 3, name: "stats", kind: "message", T: () => UserStats },
2124
- { no: 4, name: "updated_height", kind: "scalar", T: 18 /*ScalarType.SINT64*/, L: 0 /*LongType.BIGINT*/ },
2125
- { no: 5, name: "updated_at", kind: "scalar", T: 18 /*ScalarType.SINT64*/, L: 0 /*LongType.BIGINT*/ }
2136
+ { no: 4, name: "created_height", kind: "scalar", T: 18 /*ScalarType.SINT64*/, L: 0 /*LongType.BIGINT*/ },
2137
+ { no: 5, name: "created_at", kind: "scalar", T: 18 /*ScalarType.SINT64*/, L: 0 /*LongType.BIGINT*/ },
2138
+ { no: 6, name: "updated_height", kind: "scalar", T: 18 /*ScalarType.SINT64*/, L: 0 /*LongType.BIGINT*/ },
2139
+ { no: 7, name: "updated_at", kind: "scalar", T: 18 /*ScalarType.SINT64*/, L: 0 /*LongType.BIGINT*/ }
2126
2140
  ]);
2127
2141
  }
2128
2142
  create(value?: PartialMessage<User>): User {
2129
2143
  const message = globalThis.Object.create((this.messagePrototype!));
2130
2144
  message.address = "";
2131
2145
  message.contractAddress = "";
2146
+ message.createdHeight = 0n;
2147
+ message.createdAt = 0n;
2132
2148
  message.updatedHeight = 0n;
2133
2149
  message.updatedAt = 0n;
2134
2150
  if (value !== undefined)
@@ -2149,10 +2165,16 @@ class User$Type extends MessageType<User> {
2149
2165
  case /* injective_megavault_rpc.UserStats stats */ 3:
2150
2166
  message.stats = UserStats.internalBinaryRead(reader, reader.uint32(), options, message.stats);
2151
2167
  break;
2152
- case /* sint64 updated_height */ 4:
2168
+ case /* sint64 created_height */ 4:
2169
+ message.createdHeight = reader.sint64().toBigInt();
2170
+ break;
2171
+ case /* sint64 created_at */ 5:
2172
+ message.createdAt = reader.sint64().toBigInt();
2173
+ break;
2174
+ case /* sint64 updated_height */ 6:
2153
2175
  message.updatedHeight = reader.sint64().toBigInt();
2154
2176
  break;
2155
- case /* sint64 updated_at */ 5:
2177
+ case /* sint64 updated_at */ 7:
2156
2178
  message.updatedAt = reader.sint64().toBigInt();
2157
2179
  break;
2158
2180
  default:
@@ -2176,12 +2198,18 @@ class User$Type extends MessageType<User> {
2176
2198
  /* injective_megavault_rpc.UserStats stats = 3; */
2177
2199
  if (message.stats)
2178
2200
  UserStats.internalBinaryWrite(message.stats, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
2179
- /* sint64 updated_height = 4; */
2201
+ /* sint64 created_height = 4; */
2202
+ if (message.createdHeight !== 0n)
2203
+ writer.tag(4, WireType.Varint).sint64(message.createdHeight);
2204
+ /* sint64 created_at = 5; */
2205
+ if (message.createdAt !== 0n)
2206
+ writer.tag(5, WireType.Varint).sint64(message.createdAt);
2207
+ /* sint64 updated_height = 6; */
2180
2208
  if (message.updatedHeight !== 0n)
2181
- writer.tag(4, WireType.Varint).sint64(message.updatedHeight);
2182
- /* sint64 updated_at = 5; */
2209
+ writer.tag(6, WireType.Varint).sint64(message.updatedHeight);
2210
+ /* sint64 updated_at = 7; */
2183
2211
  if (message.updatedAt !== 0n)
2184
- writer.tag(5, WireType.Varint).sint64(message.updatedAt);
2212
+ writer.tag(7, WireType.Varint).sint64(message.updatedAt);
2185
2213
  let u = options.writeUnknownFields;
2186
2214
  if (u !== false)
2187
2215
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3150,13 +3178,13 @@ export const TvlHistoryResponse = new TvlHistoryResponse$Type();
3150
3178
  class HistoricalTVL$Type extends MessageType<HistoricalTVL> {
3151
3179
  constructor() {
3152
3180
  super("injective_megavault_rpc.HistoricalTVL", [
3153
- { no: 1, name: "t", kind: "scalar", T: 17 /*ScalarType.SINT32*/ },
3181
+ { no: 1, name: "t", kind: "scalar", T: 18 /*ScalarType.SINT64*/, L: 0 /*LongType.BIGINT*/ },
3154
3182
  { no: 2, name: "v", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
3155
3183
  ]);
3156
3184
  }
3157
3185
  create(value?: PartialMessage<HistoricalTVL>): HistoricalTVL {
3158
3186
  const message = globalThis.Object.create((this.messagePrototype!));
3159
- message.t = 0;
3187
+ message.t = 0n;
3160
3188
  message.v = "";
3161
3189
  if (value !== undefined)
3162
3190
  reflectionMergePartial<HistoricalTVL>(this, message, value);
@@ -3167,8 +3195,8 @@ class HistoricalTVL$Type extends MessageType<HistoricalTVL> {
3167
3195
  while (reader.pos < end) {
3168
3196
  let [fieldNo, wireType] = reader.tag();
3169
3197
  switch (fieldNo) {
3170
- case /* sint32 t */ 1:
3171
- message.t = reader.sint32();
3198
+ case /* sint64 t */ 1:
3199
+ message.t = reader.sint64().toBigInt();
3172
3200
  break;
3173
3201
  case /* string v */ 2:
3174
3202
  message.v = reader.string();
@@ -3185,9 +3213,9 @@ class HistoricalTVL$Type extends MessageType<HistoricalTVL> {
3185
3213
  return message;
3186
3214
  }
3187
3215
  internalBinaryWrite(message: HistoricalTVL, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
3188
- /* sint32 t = 1; */
3189
- if (message.t !== 0)
3190
- writer.tag(1, WireType.Varint).sint32(message.t);
3216
+ /* sint64 t = 1; */
3217
+ if (message.t !== 0n)
3218
+ writer.tag(1, WireType.Varint).sint64(message.t);
3191
3219
  /* string v = 2; */
3192
3220
  if (message.v !== "")
3193
3221
  writer.tag(2, WireType.LengthDelimited).string(message.v);
@@ -3315,13 +3343,13 @@ export const PnlHistoryResponse = new PnlHistoryResponse$Type();
3315
3343
  class HistoricalPnL$Type extends MessageType<HistoricalPnL> {
3316
3344
  constructor() {
3317
3345
  super("injective_megavault_rpc.HistoricalPnL", [
3318
- { no: 1, name: "t", kind: "scalar", T: 17 /*ScalarType.SINT32*/ },
3346
+ { no: 1, name: "t", kind: "scalar", T: 18 /*ScalarType.SINT64*/, L: 0 /*LongType.BIGINT*/ },
3319
3347
  { no: 2, name: "v", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
3320
3348
  ]);
3321
3349
  }
3322
3350
  create(value?: PartialMessage<HistoricalPnL>): HistoricalPnL {
3323
3351
  const message = globalThis.Object.create((this.messagePrototype!));
3324
- message.t = 0;
3352
+ message.t = 0n;
3325
3353
  message.v = "";
3326
3354
  if (value !== undefined)
3327
3355
  reflectionMergePartial<HistoricalPnL>(this, message, value);
@@ -3332,8 +3360,8 @@ class HistoricalPnL$Type extends MessageType<HistoricalPnL> {
3332
3360
  while (reader.pos < end) {
3333
3361
  let [fieldNo, wireType] = reader.tag();
3334
3362
  switch (fieldNo) {
3335
- case /* sint32 t */ 1:
3336
- message.t = reader.sint32();
3363
+ case /* sint64 t */ 1:
3364
+ message.t = reader.sint64().toBigInt();
3337
3365
  break;
3338
3366
  case /* string v */ 2:
3339
3367
  message.v = reader.string();
@@ -3350,9 +3378,9 @@ class HistoricalPnL$Type extends MessageType<HistoricalPnL> {
3350
3378
  return message;
3351
3379
  }
3352
3380
  internalBinaryWrite(message: HistoricalPnL, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
3353
- /* sint32 t = 1; */
3354
- if (message.t !== 0)
3355
- writer.tag(1, WireType.Varint).sint32(message.t);
3381
+ /* sint64 t = 1; */
3382
+ if (message.t !== 0n)
3383
+ writer.tag(1, WireType.Varint).sint64(message.t);
3356
3384
  /* string v = 2; */
3357
3385
  if (message.v !== "")
3358
3386
  writer.tag(2, WireType.LengthDelimited).string(message.v);
@@ -1399,7 +1399,7 @@ class User$Type extends MessageType {
1399
1399
  { no: 3, name: "stats", kind: "message", T: () => UserStats },
1400
1400
  {
1401
1401
  no: 4,
1402
- name: "updated_height",
1402
+ name: "created_height",
1403
1403
  kind: "scalar",
1404
1404
  T: 18,
1405
1405
  L: 0
@@ -1407,6 +1407,22 @@ class User$Type extends MessageType {
1407
1407
  },
1408
1408
  {
1409
1409
  no: 5,
1410
+ name: "created_at",
1411
+ kind: "scalar",
1412
+ T: 18,
1413
+ L: 0
1414
+ /*LongType.BIGINT*/
1415
+ },
1416
+ {
1417
+ no: 6,
1418
+ name: "updated_height",
1419
+ kind: "scalar",
1420
+ T: 18,
1421
+ L: 0
1422
+ /*LongType.BIGINT*/
1423
+ },
1424
+ {
1425
+ no: 7,
1410
1426
  name: "updated_at",
1411
1427
  kind: "scalar",
1412
1428
  T: 18,
@@ -1419,6 +1435,8 @@ class User$Type extends MessageType {
1419
1435
  const message = globalThis.Object.create(this.messagePrototype);
1420
1436
  message.address = "";
1421
1437
  message.contractAddress = "";
1438
+ message.createdHeight = 0n;
1439
+ message.createdAt = 0n;
1422
1440
  message.updatedHeight = 0n;
1423
1441
  message.updatedAt = 0n;
1424
1442
  if (value !== void 0)
@@ -1442,12 +1460,20 @@ class User$Type extends MessageType {
1442
1460
  3:
1443
1461
  message.stats = UserStats.internalBinaryRead(reader, reader.uint32(), options, message.stats);
1444
1462
  break;
1445
- case /* sint64 updated_height */
1463
+ case /* sint64 created_height */
1446
1464
  4:
1465
+ message.createdHeight = reader.sint64().toBigInt();
1466
+ break;
1467
+ case /* sint64 created_at */
1468
+ 5:
1469
+ message.createdAt = reader.sint64().toBigInt();
1470
+ break;
1471
+ case /* sint64 updated_height */
1472
+ 6:
1447
1473
  message.updatedHeight = reader.sint64().toBigInt();
1448
1474
  break;
1449
1475
  case /* sint64 updated_at */
1450
- 5:
1476
+ 7:
1451
1477
  message.updatedAt = reader.sint64().toBigInt();
1452
1478
  break;
1453
1479
  default:
@@ -1468,10 +1494,14 @@ class User$Type extends MessageType {
1468
1494
  writer.tag(2, WireType.LengthDelimited).string(message.contractAddress);
1469
1495
  if (message.stats)
1470
1496
  UserStats.internalBinaryWrite(message.stats, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
1497
+ if (message.createdHeight !== 0n)
1498
+ writer.tag(4, WireType.Varint).sint64(message.createdHeight);
1499
+ if (message.createdAt !== 0n)
1500
+ writer.tag(5, WireType.Varint).sint64(message.createdAt);
1471
1501
  if (message.updatedHeight !== 0n)
1472
- writer.tag(4, WireType.Varint).sint64(message.updatedHeight);
1502
+ writer.tag(6, WireType.Varint).sint64(message.updatedHeight);
1473
1503
  if (message.updatedAt !== 0n)
1474
- writer.tag(5, WireType.Varint).sint64(message.updatedAt);
1504
+ writer.tag(7, WireType.Varint).sint64(message.updatedAt);
1475
1505
  let u = options.writeUnknownFields;
1476
1506
  if (u !== false)
1477
1507
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2698,8 +2728,9 @@ class HistoricalTVL$Type extends MessageType {
2698
2728
  no: 1,
2699
2729
  name: "t",
2700
2730
  kind: "scalar",
2701
- T: 17
2702
- /*ScalarType.SINT32*/
2731
+ T: 18,
2732
+ L: 0
2733
+ /*LongType.BIGINT*/
2703
2734
  },
2704
2735
  {
2705
2736
  no: 2,
@@ -2712,7 +2743,7 @@ class HistoricalTVL$Type extends MessageType {
2712
2743
  }
2713
2744
  create(value) {
2714
2745
  const message = globalThis.Object.create(this.messagePrototype);
2715
- message.t = 0;
2746
+ message.t = 0n;
2716
2747
  message.v = "";
2717
2748
  if (value !== void 0)
2718
2749
  reflectionMergePartial(this, message, value);
@@ -2723,9 +2754,9 @@ class HistoricalTVL$Type extends MessageType {
2723
2754
  while (reader.pos < end) {
2724
2755
  let [fieldNo, wireType] = reader.tag();
2725
2756
  switch (fieldNo) {
2726
- case /* sint32 t */
2757
+ case /* sint64 t */
2727
2758
  1:
2728
- message.t = reader.sint32();
2759
+ message.t = reader.sint64().toBigInt();
2729
2760
  break;
2730
2761
  case /* string v */
2731
2762
  2:
@@ -2743,8 +2774,8 @@ class HistoricalTVL$Type extends MessageType {
2743
2774
  return message;
2744
2775
  }
2745
2776
  internalBinaryWrite(message, writer, options) {
2746
- if (message.t !== 0)
2747
- writer.tag(1, WireType.Varint).sint32(message.t);
2777
+ if (message.t !== 0n)
2778
+ writer.tag(1, WireType.Varint).sint64(message.t);
2748
2779
  if (message.v !== "")
2749
2780
  writer.tag(2, WireType.LengthDelimited).string(message.v);
2750
2781
  let u = options.writeUnknownFields;
@@ -2882,8 +2913,9 @@ class HistoricalPnL$Type extends MessageType {
2882
2913
  no: 1,
2883
2914
  name: "t",
2884
2915
  kind: "scalar",
2885
- T: 17
2886
- /*ScalarType.SINT32*/
2916
+ T: 18,
2917
+ L: 0
2918
+ /*LongType.BIGINT*/
2887
2919
  },
2888
2920
  {
2889
2921
  no: 2,
@@ -2896,7 +2928,7 @@ class HistoricalPnL$Type extends MessageType {
2896
2928
  }
2897
2929
  create(value) {
2898
2930
  const message = globalThis.Object.create(this.messagePrototype);
2899
- message.t = 0;
2931
+ message.t = 0n;
2900
2932
  message.v = "";
2901
2933
  if (value !== void 0)
2902
2934
  reflectionMergePartial(this, message, value);
@@ -2907,9 +2939,9 @@ class HistoricalPnL$Type extends MessageType {
2907
2939
  while (reader.pos < end) {
2908
2940
  let [fieldNo, wireType] = reader.tag();
2909
2941
  switch (fieldNo) {
2910
- case /* sint32 t */
2942
+ case /* sint64 t */
2911
2943
  1:
2912
- message.t = reader.sint32();
2944
+ message.t = reader.sint64().toBigInt();
2913
2945
  break;
2914
2946
  case /* string v */
2915
2947
  2:
@@ -2927,8 +2959,8 @@ class HistoricalPnL$Type extends MessageType {
2927
2959
  return message;
2928
2960
  }
2929
2961
  internalBinaryWrite(message, writer, options) {
2930
- if (message.t !== 0)
2931
- writer.tag(1, WireType.Varint).sint32(message.t);
2962
+ if (message.t !== 0n)
2963
+ writer.tag(1, WireType.Varint).sint64(message.t);
2932
2964
  if (message.v !== "")
2933
2965
  writer.tag(2, WireType.LengthDelimited).string(message.v);
2934
2966
  let u = options.writeUnknownFields;
@@ -1,4 +1,4 @@
1
- import { InjectiveMetaRPC } from "./injective_meta_rpc_pb.mjs";
1
+ import { InjectiveMetaRPC } from "./injective_meta_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveMetaRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveOracleRPC } from "./injective_oracle_rpc_pb.mjs";
1
+ import { InjectiveOracleRPC } from "./injective_oracle_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveOracleRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectivePortfolioRPC } from "./injective_portfolio_rpc_pb.mjs";
1
+ import { InjectivePortfolioRPC } from "./injective_portfolio_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectivePortfolioRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveReferralRPC } from "./injective_referral_rpc_pb.mjs";
1
+ import { InjectiveReferralRPC } from "./injective_referral_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveReferralRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveSpotExchangeRPC } from "./injective_spot_exchange_rpc_pb.mjs";
1
+ import { InjectiveSpotExchangeRPC } from "./injective_spot_exchange_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveSpotExchangeRPCClient {
4
4
  constructor(_transport) {
@@ -1,4 +1,4 @@
1
- import { InjectiveTradingRPC } from "./injective_trading_rpc_pb.mjs";
1
+ import { InjectiveTradingRPC } from "./injective_trading_rpc_pb.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class InjectiveTradingRPCClient {
4
4
  constructor(_transport) {
@@ -1,39 +1,39 @@
1
- import { EventProviderAPIClient } from "./generated/event_provider_api_pb.client.mjs";
2
- import { HealthClient } from "./generated/health_pb.client.mjs";
3
- import { InjectiveAccountsRPCClient } from "./generated/injective_accounts_rpc_pb.client.mjs";
4
- import { InjectiveArchiverRPCClient } from "./generated/injective_archiver_rpc_pb.client.mjs";
5
- import { InjectiveAuctionRPCClient } from "./generated/injective_auction_rpc_pb.client.mjs";
6
- import { InjectiveCampaignRPCClient } from "./generated/injective_campaign_rpc_pb.client.mjs";
7
- import { InjectiveChartRPCClient } from "./generated/injective_chart_rpc_pb.client.mjs";
8
- import { InjectiveDerivativeExchangeRPCClient } from "./generated/injective_derivative_exchange_rpc_pb.client.mjs";
9
- import { InjectiveExchangeRPCClient } from "./generated/injective_exchange_rpc_pb.client.mjs";
10
- import { InjectiveExplorerRPCClient } from "./generated/injective_explorer_rpc_pb.client.mjs";
11
- import { InjectiveInsuranceRPCClient } from "./generated/injective_insurance_rpc_pb.client.mjs";
12
- import { InjectiveMegavaultRPCClient } from "./generated/injective_megavault_rpc_pb.client.mjs";
13
- import { InjectiveMetaRPCClient } from "./generated/injective_meta_rpc_pb.client.mjs";
14
- import { InjectiveOracleRPCClient } from "./generated/injective_oracle_rpc_pb.client.mjs";
15
- import { InjectivePortfolioRPCClient } from "./generated/injective_portfolio_rpc_pb.client.mjs";
16
- import { InjectiveReferralRPCClient } from "./generated/injective_referral_rpc_pb.client.mjs";
17
- import { InjectiveSpotExchangeRPCClient } from "./generated/injective_spot_exchange_rpc_pb.client.mjs";
18
- import { InjectiveTradingRPCClient } from "./generated/injective_trading_rpc_pb.client.mjs";
19
- import * as EventProviderApiPb from "./generated/event_provider_api_pb.mjs";
20
- import * as HealthPb from "./generated/health_pb.mjs";
21
- import * as InjectiveAccountsRpcPb from "./generated/injective_accounts_rpc_pb.mjs";
22
- import * as InjectiveArchiverRpcPb from "./generated/injective_archiver_rpc_pb.mjs";
23
- import * as InjectiveAuctionRpcPb from "./generated/injective_auction_rpc_pb.mjs";
24
- import * as InjectiveCampaignRpcPb from "./generated/injective_campaign_rpc_pb.mjs";
25
- import * as InjectiveChartRpcPb from "./generated/injective_chart_rpc_pb.mjs";
26
- import * as InjectiveDerivativeExchangeRpcPb from "./generated/injective_derivative_exchange_rpc_pb.mjs";
27
- import * as InjectiveExchangeRpcPb from "./generated/injective_exchange_rpc_pb.mjs";
28
- import * as InjectiveExplorerRpcPb from "./generated/injective_explorer_rpc_pb.mjs";
29
- import * as InjectiveInsuranceRpcPb from "./generated/injective_insurance_rpc_pb.mjs";
30
- import * as InjectiveMegavaultRpcPb from "./generated/injective_megavault_rpc_pb.mjs";
31
- import * as InjectiveMetaRpcPb from "./generated/injective_meta_rpc_pb.mjs";
32
- import * as InjectiveOracleRpcPb from "./generated/injective_oracle_rpc_pb.mjs";
33
- import * as InjectivePortfolioRpcPb from "./generated/injective_portfolio_rpc_pb.mjs";
34
- import * as InjectiveReferralRpcPb from "./generated/injective_referral_rpc_pb.mjs";
35
- import * as InjectiveSpotExchangeRpcPb from "./generated/injective_spot_exchange_rpc_pb.mjs";
36
- import * as InjectiveTradingRpcPb from "./generated/injective_trading_rpc_pb.mjs";
1
+ import { EventProviderAPIClient } from "./generated/event_provider_api_pb.client.js";
2
+ import { HealthClient } from "./generated/health_pb.client.js";
3
+ import { InjectiveAccountsRPCClient } from "./generated/injective_accounts_rpc_pb.client.js";
4
+ import { InjectiveArchiverRPCClient } from "./generated/injective_archiver_rpc_pb.client.js";
5
+ import { InjectiveAuctionRPCClient } from "./generated/injective_auction_rpc_pb.client.js";
6
+ import { InjectiveCampaignRPCClient } from "./generated/injective_campaign_rpc_pb.client.js";
7
+ import { InjectiveChartRPCClient } from "./generated/injective_chart_rpc_pb.client.js";
8
+ import { InjectiveDerivativeExchangeRPCClient } from "./generated/injective_derivative_exchange_rpc_pb.client.js";
9
+ import { InjectiveExchangeRPCClient } from "./generated/injective_exchange_rpc_pb.client.js";
10
+ import { InjectiveExplorerRPCClient } from "./generated/injective_explorer_rpc_pb.client.js";
11
+ import { InjectiveInsuranceRPCClient } from "./generated/injective_insurance_rpc_pb.client.js";
12
+ import { InjectiveMegavaultRPCClient } from "./generated/injective_megavault_rpc_pb.client.js";
13
+ import { InjectiveMetaRPCClient } from "./generated/injective_meta_rpc_pb.client.js";
14
+ import { InjectiveOracleRPCClient } from "./generated/injective_oracle_rpc_pb.client.js";
15
+ import { InjectivePortfolioRPCClient } from "./generated/injective_portfolio_rpc_pb.client.js";
16
+ import { InjectiveReferralRPCClient } from "./generated/injective_referral_rpc_pb.client.js";
17
+ import { InjectiveSpotExchangeRPCClient } from "./generated/injective_spot_exchange_rpc_pb.client.js";
18
+ import { InjectiveTradingRPCClient } from "./generated/injective_trading_rpc_pb.client.js";
19
+ import * as EventProviderApiPb from "./generated/event_provider_api_pb.js";
20
+ import * as HealthPb from "./generated/health_pb.js";
21
+ import * as InjectiveAccountsRpcPb from "./generated/injective_accounts_rpc_pb.js";
22
+ import * as InjectiveArchiverRpcPb from "./generated/injective_archiver_rpc_pb.js";
23
+ import * as InjectiveAuctionRpcPb from "./generated/injective_auction_rpc_pb.js";
24
+ import * as InjectiveCampaignRpcPb from "./generated/injective_campaign_rpc_pb.js";
25
+ import * as InjectiveChartRpcPb from "./generated/injective_chart_rpc_pb.js";
26
+ import * as InjectiveDerivativeExchangeRpcPb from "./generated/injective_derivative_exchange_rpc_pb.js";
27
+ import * as InjectiveExchangeRpcPb from "./generated/injective_exchange_rpc_pb.js";
28
+ import * as InjectiveExplorerRpcPb from "./generated/injective_explorer_rpc_pb.js";
29
+ import * as InjectiveInsuranceRpcPb from "./generated/injective_insurance_rpc_pb.js";
30
+ import * as InjectiveMegavaultRpcPb from "./generated/injective_megavault_rpc_pb.js";
31
+ import * as InjectiveMetaRpcPb from "./generated/injective_meta_rpc_pb.js";
32
+ import * as InjectiveOracleRpcPb from "./generated/injective_oracle_rpc_pb.js";
33
+ import * as InjectivePortfolioRpcPb from "./generated/injective_portfolio_rpc_pb.js";
34
+ import * as InjectiveReferralRpcPb from "./generated/injective_referral_rpc_pb.js";
35
+ import * as InjectiveSpotExchangeRpcPb from "./generated/injective_spot_exchange_rpc_pb.js";
36
+ import * as InjectiveTradingRpcPb from "./generated/injective_trading_rpc_pb.js";
37
37
  export {
38
38
  EventProviderAPIClient,
39
39
  EventProviderApiPb,
package/package.json CHANGED
@@ -1,48 +1,34 @@
1
1
  {
2
2
  "name": "@injectivelabs/indexer-proto-ts-v2",
3
- "version": "1.17.0",
4
- "description": "Injective Indexer API client with generated gRPC bindings (V2)",
3
+ "version": "1.17.2",
5
4
  "type": "module",
6
5
  "main": "./esm/index.js",
7
- "module": "./esm/index.js",
8
6
  "types": "./esm/index.d.ts",
9
- "sideEffects": false,
10
7
  "exports": {
11
8
  ".": {
12
9
  "types": "./esm/index.d.ts",
13
- "import": "./esm/index.js"
10
+ "import": "./esm/index.js",
11
+ "default": "./esm/index.js"
14
12
  },
15
13
  "./generated/*": {
16
14
  "types": "./esm/generated/*.d.ts",
17
- "import": "./esm/generated/*.js"
18
- }
15
+ "import": "./esm/generated/*.js",
16
+ "default": "./esm/generated/*.js"
17
+ },
18
+ "./generated/*.js": "./esm/generated/*.js"
19
19
  },
20
20
  "files": [
21
21
  "esm"
22
22
  ],
23
- "keywords": [
24
- "injective",
25
- "indexer",
26
- "grpc",
27
- "protobuf",
28
- "typescript"
29
- ],
30
- "author": "Injective Labs",
31
- "license": "MIT",
23
+ "sideEffects": false,
24
+ "license": "Apache-2.0",
32
25
  "repository": {
33
26
  "type": "git",
34
- "url": "git+https://github.com/InjectiveLabs/injective-ts.git"
35
- },
36
- "bugs": {
37
- "url": "https://github.com/InjectiveLabs/injective-ts/issues"
38
- },
39
- "homepage": "https://github.com/InjectiveLabs/injective-ts#readme",
40
- "publishConfig": {
41
- "access": "public"
27
+ "url": "https://github.com/InjectiveLabs/injective-ts"
42
28
  },
43
29
  "dependencies": {
44
- "@protobuf-ts/grpcweb-transport": "^2.11.1",
45
30
  "@protobuf-ts/runtime": "^2.11.1",
46
- "@protobuf-ts/runtime-rpc": "^2.11.1"
31
+ "@protobuf-ts/runtime-rpc": "^2.11.1",
32
+ "@protobuf-ts/grpcweb-transport": "^2.11.1"
47
33
  }
48
34
  }
File without changes