@uniswap/client-data-api 0.0.94 → 0.0.96

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.
@@ -131,6 +131,23 @@ export declare enum ChartPeriod {
131
131
  */
132
132
  MAX = 6
133
133
  }
134
+ /**
135
+ * @generated from enum data.v1.WalletBalanceCategory
136
+ */
137
+ export declare enum WalletBalanceCategory {
138
+ /**
139
+ * @generated from enum value: WALLET_BALANCE_CATEGORY_UNSPECIFIED = 0;
140
+ */
141
+ UNSPECIFIED = 0,
142
+ /**
143
+ * @generated from enum value: WALLET_BALANCE_CATEGORY_POOLS = 1;
144
+ */
145
+ POOLS = 1,
146
+ /**
147
+ * @generated from enum value: WALLET_BALANCE_CATEGORY_EARN_VAULTS = 2;
148
+ */
149
+ EARN_VAULTS = 2
150
+ }
134
151
  /**
135
152
  * @generated from enum data.v1.RwaCategory
136
153
  */
@@ -614,6 +631,13 @@ export declare class ListTransactionsRequest extends Message<ListTransactionsReq
614
631
  * @generated from field: optional string search_text = 8;
615
632
  */
616
633
  searchText?: string;
634
+ /**
635
+ * When true, token display metadata (name, symbol, logo, project, protection info,
636
+ * fees) is overridden with Substream-fed Aurora canonical_tokens data. Defaults to false.
637
+ *
638
+ * @generated from field: optional bool use_substream_data = 9;
639
+ */
640
+ useSubstreamData?: boolean;
617
641
  constructor(data?: PartialMessage<ListTransactionsRequest>);
618
642
  static readonly runtime: typeof proto3;
619
643
  static readonly typeName = "data.v1.ListTransactionsRequest";
@@ -1699,6 +1723,10 @@ export declare class GetWalletBalancesRequest extends Message<GetWalletBalancesR
1699
1723
  * @generated from field: optional data.v1.PortfolioValueModifier modifier = 3;
1700
1724
  */
1701
1725
  modifier?: PortfolioValueModifier;
1726
+ /**
1727
+ * @generated from field: repeated data.v1.WalletBalanceCategory include_categories = 4;
1728
+ */
1729
+ includeCategories: WalletBalanceCategory[];
1702
1730
  constructor(data?: PartialMessage<GetWalletBalancesRequest>);
1703
1731
  static readonly runtime: typeof proto3;
1704
1732
  static readonly typeName = "data.v1.GetWalletBalancesRequest";
@@ -1741,6 +1769,10 @@ export declare class GetWalletsBalancesRequest extends Message<GetWalletsBalance
1741
1769
  * @generated from field: repeated data.v1.PortfolioValueModifier modifiers = 3;
1742
1770
  */
1743
1771
  modifiers: PortfolioValueModifier[];
1772
+ /**
1773
+ * @generated from field: repeated data.v1.WalletBalanceCategory include_categories = 4;
1774
+ */
1775
+ includeCategories: WalletBalanceCategory[];
1744
1776
  constructor(data?: PartialMessage<GetWalletsBalancesRequest>);
1745
1777
  static readonly runtime: typeof proto3;
1746
1778
  static readonly typeName = "data.v1.GetWalletsBalancesRequest";
@@ -1787,6 +1819,10 @@ export declare class WalletBalance extends Message<WalletBalance> {
1787
1819
  * @generated from field: data.v1.WalletAccount wallet_account = 4;
1788
1820
  */
1789
1821
  walletAccount?: WalletAccount;
1822
+ /**
1823
+ * @generated from field: data.v1.BalanceComponent earn = 5;
1824
+ */
1825
+ earn?: BalanceComponent;
1790
1826
  constructor(data?: PartialMessage<WalletBalance>);
1791
1827
  static readonly runtime: typeof proto3;
1792
1828
  static readonly typeName = "data.v1.WalletBalance";
@@ -180,6 +180,30 @@ proto3.util.setEnumType(ChartPeriod, "data.v1.ChartPeriod", [
180
180
  { no: 5, name: "CHART_PERIOD_YEAR" },
181
181
  { no: 6, name: "CHART_PERIOD_MAX" },
182
182
  ]);
183
+ /**
184
+ * @generated from enum data.v1.WalletBalanceCategory
185
+ */
186
+ export var WalletBalanceCategory;
187
+ (function (WalletBalanceCategory) {
188
+ /**
189
+ * @generated from enum value: WALLET_BALANCE_CATEGORY_UNSPECIFIED = 0;
190
+ */
191
+ WalletBalanceCategory[WalletBalanceCategory["UNSPECIFIED"] = 0] = "UNSPECIFIED";
192
+ /**
193
+ * @generated from enum value: WALLET_BALANCE_CATEGORY_POOLS = 1;
194
+ */
195
+ WalletBalanceCategory[WalletBalanceCategory["POOLS"] = 1] = "POOLS";
196
+ /**
197
+ * @generated from enum value: WALLET_BALANCE_CATEGORY_EARN_VAULTS = 2;
198
+ */
199
+ WalletBalanceCategory[WalletBalanceCategory["EARN_VAULTS"] = 2] = "EARN_VAULTS";
200
+ })(WalletBalanceCategory || (WalletBalanceCategory = {}));
201
+ // Retrieve enum metadata with: proto3.getEnumType(WalletBalanceCategory)
202
+ proto3.util.setEnumType(WalletBalanceCategory, "data.v1.WalletBalanceCategory", [
203
+ { no: 0, name: "WALLET_BALANCE_CATEGORY_UNSPECIFIED" },
204
+ { no: 1, name: "WALLET_BALANCE_CATEGORY_POOLS" },
205
+ { no: 2, name: "WALLET_BALANCE_CATEGORY_EARN_VAULTS" },
206
+ ]);
183
207
  /**
184
208
  * @generated from enum data.v1.RwaCategory
185
209
  */
@@ -870,6 +894,7 @@ ListTransactionsRequest.fields = proto3.util.newFieldList(() => [
870
894
  { no: 6, name: "include_plans", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
871
895
  { no: 7, name: "filter_transaction_types", kind: "enum", T: proto3.getEnumType(TransactionTypeFilter), repeated: true },
872
896
  { no: 8, name: "search_text", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
897
+ { no: 9, name: "use_substream_data", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
873
898
  ]);
874
899
  /**
875
900
  * @generated from message data.v1.FiatOnRampParams
@@ -2269,6 +2294,10 @@ export class GetWalletBalancesRequest extends Message {
2269
2294
  * @generated from field: repeated uint32 chain_ids = 2;
2270
2295
  */
2271
2296
  this.chainIds = [];
2297
+ /**
2298
+ * @generated from field: repeated data.v1.WalletBalanceCategory include_categories = 4;
2299
+ */
2300
+ this.includeCategories = [];
2272
2301
  proto3.util.initPartial(data, this);
2273
2302
  }
2274
2303
  static fromBinary(bytes, options) {
@@ -2290,6 +2319,7 @@ GetWalletBalancesRequest.fields = proto3.util.newFieldList(() => [
2290
2319
  { no: 1, name: "wallet_account", kind: "message", T: WalletAccount },
2291
2320
  { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
2292
2321
  { no: 3, name: "modifier", kind: "message", T: PortfolioValueModifier, opt: true },
2322
+ { no: 4, name: "include_categories", kind: "enum", T: proto3.getEnumType(WalletBalanceCategory), repeated: true },
2293
2323
  ]);
2294
2324
  /**
2295
2325
  * @generated from message data.v1.GetWalletBalancesResponse
@@ -2335,6 +2365,10 @@ export class GetWalletsBalancesRequest extends Message {
2335
2365
  * @generated from field: repeated data.v1.PortfolioValueModifier modifiers = 3;
2336
2366
  */
2337
2367
  this.modifiers = [];
2368
+ /**
2369
+ * @generated from field: repeated data.v1.WalletBalanceCategory include_categories = 4;
2370
+ */
2371
+ this.includeCategories = [];
2338
2372
  proto3.util.initPartial(data, this);
2339
2373
  }
2340
2374
  static fromBinary(bytes, options) {
@@ -2356,6 +2390,7 @@ GetWalletsBalancesRequest.fields = proto3.util.newFieldList(() => [
2356
2390
  { no: 1, name: "wallet_accounts", kind: "message", T: WalletAccount, repeated: true },
2357
2391
  { no: 2, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
2358
2392
  { no: 3, name: "modifiers", kind: "message", T: PortfolioValueModifier, repeated: true },
2393
+ { no: 4, name: "include_categories", kind: "enum", T: proto3.getEnumType(WalletBalanceCategory), repeated: true },
2359
2394
  ]);
2360
2395
  /**
2361
2396
  * @generated from message data.v1.GetWalletsBalancesResponse
@@ -2415,6 +2450,7 @@ WalletBalance.fields = proto3.util.newFieldList(() => [
2415
2450
  { no: 2, name: "tokens", kind: "message", T: BalanceComponent },
2416
2451
  { no: 3, name: "pools", kind: "message", T: BalanceComponent },
2417
2452
  { no: 4, name: "wallet_account", kind: "message", T: WalletAccount },
2453
+ { no: 5, name: "earn", kind: "message", T: BalanceComponent },
2418
2454
  ]);
2419
2455
  /**
2420
2456
  * @generated from message data.v1.BalanceComponent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.94",
3
+ "version": "0.0.96",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },