@injectivelabs/indexer-proto-ts-v2 1.18.19 → 1.18.20

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.
@@ -763,6 +763,12 @@ export interface ConditionalOrderInput {
763
763
  * @generated from protobuf field: string allowed_relayer = 20
764
764
  */
765
765
  allowedRelayer: string;
766
+ /**
767
+ * Replay protection nonce time window in milliseconds
768
+ *
769
+ * @generated from protobuf field: uint64 taker_nonce_time_window_ms = 21
770
+ */
771
+ takerNonceTimeWindowMs: bigint;
766
772
  }
767
773
  /**
768
774
  * @generated from protobuf message injective_rfq_rpc.CreateConditionalOrderResponse
@@ -897,6 +903,12 @@ export interface ConditionalOrderResponseType {
897
903
  * @generated from protobuf field: uint64 evm_chain_id = 19
898
904
  */
899
905
  evmChainId: bigint;
906
+ /**
907
+ * Replay protection nonce time window in milliseconds
908
+ *
909
+ * @generated from protobuf field: uint64 taker_nonce_time_window_ms = 20
910
+ */
911
+ takerNonceTimeWindowMs: bigint;
900
912
  }
901
913
  /**
902
914
  * @generated from protobuf message injective_rfq_rpc.ListConditionalOrdersRequest
@@ -2924,7 +2936,8 @@ class ConditionalOrderInput$Type extends MessageType<ConditionalOrderInput> {
2924
2936
  { no: 17, name: "trigger_price", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2925
2937
  { no: 18, name: "unfilled_action", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2926
2938
  { no: 19, name: "cid", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2927
- { no: 20, name: "allowed_relayer", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
2939
+ { no: 20, name: "allowed_relayer", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
2940
+ { no: 21, name: "taker_nonce_time_window_ms", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
2928
2941
  ]);
2929
2942
  }
2930
2943
  create(value?: PartialMessage<ConditionalOrderInput>): ConditionalOrderInput {
@@ -2949,6 +2962,7 @@ class ConditionalOrderInput$Type extends MessageType<ConditionalOrderInput> {
2949
2962
  message.unfilledAction = "";
2950
2963
  message.cid = "";
2951
2964
  message.allowedRelayer = "";
2965
+ message.takerNonceTimeWindowMs = 0n;
2952
2966
  if (value !== undefined)
2953
2967
  reflectionMergePartial<ConditionalOrderInput>(this, message, value);
2954
2968
  return message;
@@ -3018,6 +3032,9 @@ class ConditionalOrderInput$Type extends MessageType<ConditionalOrderInput> {
3018
3032
  case /* string allowed_relayer */ 20:
3019
3033
  message.allowedRelayer = reader.string();
3020
3034
  break;
3035
+ case /* uint64 taker_nonce_time_window_ms */ 21:
3036
+ message.takerNonceTimeWindowMs = reader.uint64().toBigInt();
3037
+ break;
3021
3038
  default:
3022
3039
  let u = options.readUnknownField;
3023
3040
  if (u === "throw")
@@ -3090,6 +3107,9 @@ class ConditionalOrderInput$Type extends MessageType<ConditionalOrderInput> {
3090
3107
  /* string allowed_relayer = 20; */
3091
3108
  if (message.allowedRelayer !== "")
3092
3109
  writer.tag(20, WireType.LengthDelimited).string(message.allowedRelayer);
3110
+ /* uint64 taker_nonce_time_window_ms = 21; */
3111
+ if (message.takerNonceTimeWindowMs !== 0n)
3112
+ writer.tag(21, WireType.Varint).uint64(message.takerNonceTimeWindowMs);
3093
3113
  let u = options.writeUnknownFields;
3094
3114
  if (u !== false)
3095
3115
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3168,7 +3188,8 @@ class ConditionalOrderResponseType$Type extends MessageType<ConditionalOrderResp
3168
3188
  { no: 16, name: "error", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
3169
3189
  { no: 17, name: "tx_hash", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
3170
3190
  { no: 18, name: "terminal_at", kind: "scalar", T: 18 /*ScalarType.SINT64*/, L: 0 /*LongType.BIGINT*/ },
3171
- { no: 19, name: "evm_chain_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
3191
+ { no: 19, name: "evm_chain_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
3192
+ { no: 20, name: "taker_nonce_time_window_ms", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
3172
3193
  ]);
3173
3194
  }
3174
3195
  create(value?: PartialMessage<ConditionalOrderResponseType>): ConditionalOrderResponseType {
@@ -3192,6 +3213,7 @@ class ConditionalOrderResponseType$Type extends MessageType<ConditionalOrderResp
3192
3213
  message.txHash = "";
3193
3214
  message.terminalAt = 0n;
3194
3215
  message.evmChainId = 0n;
3216
+ message.takerNonceTimeWindowMs = 0n;
3195
3217
  if (value !== undefined)
3196
3218
  reflectionMergePartial<ConditionalOrderResponseType>(this, message, value);
3197
3219
  return message;
@@ -3258,6 +3280,9 @@ class ConditionalOrderResponseType$Type extends MessageType<ConditionalOrderResp
3258
3280
  case /* uint64 evm_chain_id */ 19:
3259
3281
  message.evmChainId = reader.uint64().toBigInt();
3260
3282
  break;
3283
+ case /* uint64 taker_nonce_time_window_ms */ 20:
3284
+ message.takerNonceTimeWindowMs = reader.uint64().toBigInt();
3285
+ break;
3261
3286
  default:
3262
3287
  let u = options.readUnknownField;
3263
3288
  if (u === "throw")
@@ -3327,6 +3352,9 @@ class ConditionalOrderResponseType$Type extends MessageType<ConditionalOrderResp
3327
3352
  /* uint64 evm_chain_id = 19; */
3328
3353
  if (message.evmChainId !== 0n)
3329
3354
  writer.tag(19, WireType.Varint).uint64(message.evmChainId);
3355
+ /* uint64 taker_nonce_time_window_ms = 20; */
3356
+ if (message.takerNonceTimeWindowMs !== 0n)
3357
+ writer.tag(20, WireType.Varint).uint64(message.takerNonceTimeWindowMs);
3330
3358
  let u = options.writeUnknownFields;
3331
3359
  if (u !== false)
3332
3360
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1822,6 +1822,14 @@ class ConditionalOrderInput$Type extends MessageType {
1822
1822
  kind: "scalar",
1823
1823
  T: 9
1824
1824
  /*ScalarType.STRING*/
1825
+ },
1826
+ {
1827
+ no: 21,
1828
+ name: "taker_nonce_time_window_ms",
1829
+ kind: "scalar",
1830
+ T: 4,
1831
+ L: 0
1832
+ /*LongType.BIGINT*/
1825
1833
  }
1826
1834
  ]);
1827
1835
  }
@@ -1847,6 +1855,7 @@ class ConditionalOrderInput$Type extends MessageType {
1847
1855
  message.unfilledAction = "";
1848
1856
  message.cid = "";
1849
1857
  message.allowedRelayer = "";
1858
+ message.takerNonceTimeWindowMs = 0n;
1850
1859
  if (value !== void 0)
1851
1860
  reflectionMergePartial(this, message, value);
1852
1861
  return message;
@@ -1936,6 +1945,10 @@ class ConditionalOrderInput$Type extends MessageType {
1936
1945
  20:
1937
1946
  message.allowedRelayer = reader.string();
1938
1947
  break;
1948
+ case /* uint64 taker_nonce_time_window_ms */
1949
+ 21:
1950
+ message.takerNonceTimeWindowMs = reader.uint64().toBigInt();
1951
+ break;
1939
1952
  default:
1940
1953
  let u = options.readUnknownField;
1941
1954
  if (u === "throw")
@@ -1988,6 +2001,8 @@ class ConditionalOrderInput$Type extends MessageType {
1988
2001
  writer.tag(19, WireType.LengthDelimited).string(message.cid);
1989
2002
  if (message.allowedRelayer !== "")
1990
2003
  writer.tag(20, WireType.LengthDelimited).string(message.allowedRelayer);
2004
+ if (message.takerNonceTimeWindowMs !== 0n)
2005
+ writer.tag(21, WireType.Varint).uint64(message.takerNonceTimeWindowMs);
1991
2006
  let u = options.writeUnknownFields;
1992
2007
  if (u !== false)
1993
2008
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2179,6 +2194,14 @@ class ConditionalOrderResponseType$Type extends MessageType {
2179
2194
  T: 4,
2180
2195
  L: 0
2181
2196
  /*LongType.BIGINT*/
2197
+ },
2198
+ {
2199
+ no: 20,
2200
+ name: "taker_nonce_time_window_ms",
2201
+ kind: "scalar",
2202
+ T: 4,
2203
+ L: 0
2204
+ /*LongType.BIGINT*/
2182
2205
  }
2183
2206
  ]);
2184
2207
  }
@@ -2203,6 +2226,7 @@ class ConditionalOrderResponseType$Type extends MessageType {
2203
2226
  message.txHash = "";
2204
2227
  message.terminalAt = 0n;
2205
2228
  message.evmChainId = 0n;
2229
+ message.takerNonceTimeWindowMs = 0n;
2206
2230
  if (value !== void 0)
2207
2231
  reflectionMergePartial(this, message, value);
2208
2232
  return message;
@@ -2288,6 +2312,10 @@ class ConditionalOrderResponseType$Type extends MessageType {
2288
2312
  19:
2289
2313
  message.evmChainId = reader.uint64().toBigInt();
2290
2314
  break;
2315
+ case /* uint64 taker_nonce_time_window_ms */
2316
+ 20:
2317
+ message.takerNonceTimeWindowMs = reader.uint64().toBigInt();
2318
+ break;
2291
2319
  default:
2292
2320
  let u = options.readUnknownField;
2293
2321
  if (u === "throw")
@@ -2338,6 +2366,8 @@ class ConditionalOrderResponseType$Type extends MessageType {
2338
2366
  writer.tag(18, WireType.Varint).sint64(message.terminalAt);
2339
2367
  if (message.evmChainId !== 0n)
2340
2368
  writer.tag(19, WireType.Varint).uint64(message.evmChainId);
2369
+ if (message.takerNonceTimeWindowMs !== 0n)
2370
+ writer.tag(20, WireType.Varint).uint64(message.takerNonceTimeWindowMs);
2341
2371
  let u = options.writeUnknownFields;
2342
2372
  if (u !== false)
2343
2373
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@injectivelabs/indexer-proto-ts-v2",
3
- "version": "1.18.19",
3
+ "version": "1.18.20",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",