@uniswap/client-data-api 0.0.69 → 0.0.70

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.
@@ -1,6 +1,6 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
- import { ChainTokenProfitLoss, MultichainToken, MultichainTokenProfitLoss, Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenDetailProfitLoss, TokenProfitLoss, TokenReportEventType, Transaction, TransactionTypeFilter, WalletProfitLoss } from "./types_pb.js";
3
+ import { ChainTokenProfitLoss, Contract, MultichainToken, MultichainTokenProfitLoss, Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenDetailProfitLoss, TokenProfitLoss, TokenReportEventType, Transaction, TransactionTypeFilter, WalletProfitLoss } from "./types_pb.js";
4
4
  import { Pair, Pool, Position, PositionStatus, ProtocolVersion } from "./poolTypes_pb.js";
5
5
  /**
6
6
  * @generated from enum data.v1.Platform
@@ -1317,6 +1317,18 @@ export declare class GetPortfolioChartRequest extends Message<GetPortfolioChartR
1317
1317
  * @generated from field: data.v1.ChartPeriod chart_period = 3;
1318
1318
  */
1319
1319
  chartPeriod: ChartPeriod;
1320
+ /**
1321
+ * @generated from field: repeated data.v1.Contract include_overrides = 4;
1322
+ */
1323
+ includeOverrides: Contract[];
1324
+ /**
1325
+ * @generated from field: repeated data.v1.Contract exclude_overrides = 5;
1326
+ */
1327
+ excludeOverrides: Contract[];
1328
+ /**
1329
+ * @generated from field: optional bool include_spam_tokens = 6;
1330
+ */
1331
+ includeSpamTokens?: boolean;
1320
1332
  constructor(data?: PartialMessage<GetPortfolioChartRequest>);
1321
1333
  static readonly runtime: typeof proto3;
1322
1334
  static readonly typeName = "data.v1.GetPortfolioChartRequest";
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
- import { ChainTokenProfitLoss, MultichainToken, MultichainTokenProfitLoss, Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenDetailProfitLoss, TokenProfitLoss, TokenReportEventType, Transaction, TransactionTypeFilter, WalletProfitLoss } from "./types_pb.js";
6
+ import { ChainTokenProfitLoss, Contract, MultichainToken, MultichainTokenProfitLoss, Pool as Pool$1, Portfolio, PortfolioValueModifier, Token, TokenDetailProfitLoss, TokenProfitLoss, TokenReportEventType, Transaction, TransactionTypeFilter, WalletProfitLoss } from "./types_pb.js";
7
7
  import { Pair, Pool, Position, PositionStatus, ProtocolVersion } from "./poolTypes_pb.js";
8
8
  /**
9
9
  * @generated from enum data.v1.Platform
@@ -1780,6 +1780,14 @@ export class GetPortfolioChartRequest extends Message {
1780
1780
  * @generated from field: data.v1.ChartPeriod chart_period = 3;
1781
1781
  */
1782
1782
  this.chartPeriod = ChartPeriod.UNSPECIFIED;
1783
+ /**
1784
+ * @generated from field: repeated data.v1.Contract include_overrides = 4;
1785
+ */
1786
+ this.includeOverrides = [];
1787
+ /**
1788
+ * @generated from field: repeated data.v1.Contract exclude_overrides = 5;
1789
+ */
1790
+ this.excludeOverrides = [];
1783
1791
  proto3.util.initPartial(data, this);
1784
1792
  }
1785
1793
  static fromBinary(bytes, options) {
@@ -1801,6 +1809,9 @@ GetPortfolioChartRequest.fields = proto3.util.newFieldList(() => [
1801
1809
  { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
1802
1810
  { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
1803
1811
  { no: 3, name: "chart_period", kind: "enum", T: proto3.getEnumType(ChartPeriod) },
1812
+ { no: 4, name: "include_overrides", kind: "message", T: Contract, repeated: true },
1813
+ { no: 5, name: "exclude_overrides", kind: "message", T: Contract, repeated: true },
1814
+ { no: 6, name: "include_spam_tokens", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1804
1815
  ]);
1805
1816
  /**
1806
1817
  * @generated from message data.v1.ChartPoint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.69",
3
+ "version": "0.0.70",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },