@uniswap/client-data-api 0.0.220 → 0.0.221

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.
@@ -326,6 +326,24 @@ export declare class GetTokenHistoryVolumeRequest extends Message<GetTokenHistor
326
326
  * @generated from field: repeated uint32 chain_ids = 4;
327
327
  */
328
328
  chainIds: number[];
329
+ /**
330
+ * Ranged (TradingView) mode: when resolution is set (non-UNSPECIFIED) the
331
+ * series covers [start_time, end_time || now] at the given bucket width and
332
+ * duration is ignored. start_time is required in this mode; end_time defaults
333
+ * to now. single_chain (EVM) only. Mirrors GetTokenHistoryOHLC's ranged mode
334
+ * so volume buckets align with that endpoint's candles for any window.
335
+ *
336
+ * @generated from field: optional google.protobuf.Timestamp start_time = 5;
337
+ */
338
+ startTime?: Timestamp;
339
+ /**
340
+ * @generated from field: optional google.protobuf.Timestamp end_time = 6;
341
+ */
342
+ endTime?: Timestamp;
343
+ /**
344
+ * @generated from field: optional data.v2.OhlcResolution resolution = 7;
345
+ */
346
+ resolution?: OhlcResolution;
329
347
  constructor(data?: PartialMessage<GetTokenHistoryVolumeRequest>);
330
348
  static readonly runtime: typeof proto3;
331
349
  static readonly typeName = "data.v2.GetTokenHistoryVolumeRequest";
@@ -402,6 +402,9 @@ GetTokenHistoryVolumeRequest.fields = proto3.util.newFieldList(() => [
402
402
  { no: 2, name: "multichain", kind: "message", T: MultichainTarget, oneof: "target" },
403
403
  { no: 3, name: "duration", kind: "enum", T: proto3.getEnumType(HistoryDuration) },
404
404
  { no: 4, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
405
+ { no: 5, name: "start_time", kind: "message", T: Timestamp, opt: true },
406
+ { no: 6, name: "end_time", kind: "message", T: Timestamp, opt: true },
407
+ { no: 7, name: "resolution", kind: "enum", T: proto3.getEnumType(OhlcResolution), opt: true },
405
408
  ]);
406
409
  /**
407
410
  * @generated from message data.v2.GetTokenHistoryVolumeResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.220",
3
+ "version": "0.0.221",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },