@uniswap/client-data-api 0.0.232 → 0.0.234

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.
@@ -1647,12 +1647,7 @@ export declare class GetPoolRewardsResponse extends Message<GetPoolRewardsRespon
1647
1647
  */
1648
1648
  export declare class GetRewardsResponse extends Message<GetRewardsResponse> {
1649
1649
  /**
1650
- * @generated from field: string total_unclaimed_amount_uni = 1;
1651
- */
1652
- totalUnclaimedAmountUni: string;
1653
- /**
1654
- * Per-reward-token unclaimed balances (multi-denomination). The
1655
- * total_unclaimed_amount_uni field above is the legacy UNI-only view.
1650
+ * Per-reward-token unclaimed balances (multi-denomination).
1656
1651
  *
1657
1652
  * @generated from field: repeated pools.v1.RewardBalance reward_balances = 2;
1658
1653
  */
@@ -2209,12 +2209,7 @@ export class GetRewardsResponse extends Message {
2209
2209
  constructor(data) {
2210
2210
  super();
2211
2211
  /**
2212
- * @generated from field: string total_unclaimed_amount_uni = 1;
2213
- */
2214
- this.totalUnclaimedAmountUni = "";
2215
- /**
2216
- * Per-reward-token unclaimed balances (multi-denomination). The
2217
- * total_unclaimed_amount_uni field above is the legacy UNI-only view.
2212
+ * Per-reward-token unclaimed balances (multi-denomination).
2218
2213
  *
2219
2214
  * @generated from field: repeated pools.v1.RewardBalance reward_balances = 2;
2220
2215
  */
@@ -2237,7 +2232,6 @@ export class GetRewardsResponse extends Message {
2237
2232
  GetRewardsResponse.runtime = proto3;
2238
2233
  GetRewardsResponse.typeName = "data.v1.GetRewardsResponse";
2239
2234
  GetRewardsResponse.fields = proto3.util.newFieldList(() => [
2240
- { no: 1, name: "total_unclaimed_amount_uni", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2241
2235
  { no: 2, name: "reward_balances", kind: "message", T: RewardBalance, repeated: true },
2242
2236
  { no: 3, name: "total_unclaimed_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2243
2237
  ]);
@@ -208,12 +208,7 @@ export declare class PoolPosition extends Message<PoolPosition> {
208
208
  */
209
209
  totalApr: number;
210
210
  /**
211
- * @generated from field: string unclaimed_rewards_amount_uni = 23;
212
- */
213
- unclaimedRewardsAmountUni: string;
214
- /**
215
- * Per-reward-token unclaimed balances (multi-denomination). The
216
- * unclaimed_rewards_amount_uni field above is the legacy UNI-only view.
211
+ * Per-reward-token unclaimed balances (multi-denomination).
217
212
  *
218
213
  * @generated from field: repeated pools.v1.RewardBalance reward_balances = 24;
219
214
  */
@@ -241,12 +241,7 @@ export class PoolPosition extends Message {
241
241
  */
242
242
  this.totalApr = 0;
243
243
  /**
244
- * @generated from field: string unclaimed_rewards_amount_uni = 23;
245
- */
246
- this.unclaimedRewardsAmountUni = "";
247
- /**
248
- * Per-reward-token unclaimed balances (multi-denomination). The
249
- * unclaimed_rewards_amount_uni field above is the legacy UNI-only view.
244
+ * Per-reward-token unclaimed balances (multi-denomination).
250
245
  *
251
246
  * @generated from field: repeated pools.v1.RewardBalance reward_balances = 24;
252
247
  */
@@ -291,7 +286,6 @@ PoolPosition.fields = proto3.util.newFieldList(() => [
291
286
  { no: 20, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
292
287
  { no: 21, name: "boosted_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
293
288
  { no: 22, name: "total_apr", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
294
- { no: 23, name: "unclaimed_rewards_amount_uni", kind: "scalar", T: 9 /* ScalarType.STRING */ },
295
289
  { no: 24, name: "reward_balances", kind: "message", T: RewardBalance, repeated: true },
296
290
  { no: 25, name: "protocol_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
297
291
  { no: 26, name: "effective_fee", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
@@ -568,6 +568,18 @@ export declare class TokenListFilter extends Message<TokenListFilter> {
568
568
  * @generated from field: repeated string category_ids = 6;
569
569
  */
570
570
  categoryIds: string[];
571
+ /**
572
+ * Explore-search filter: free text prefix-matched (case-insensitive,
573
+ * normalized: trimmed, whitespace collapsed, capped at 100 chars) against
574
+ * token name and symbol — or, for a "0x"-prefixed query, against the
575
+ * token address. Narrows the listing; sort, quality gates, and pagination
576
+ * keep their ordinary meanings (filter-the-feed, not relevance search —
577
+ * the Search endpoint serves that). A multichain token matches when any
578
+ * of its per-chain members matches. Empty/whitespace = no filter.
579
+ *
580
+ * @generated from field: optional string search_query = 7;
581
+ */
582
+ searchQuery?: string;
571
583
  constructor(data?: PartialMessage<TokenListFilter>);
572
584
  static readonly runtime: typeof proto3;
573
585
  static readonly typeName = "data.v2.TokenListFilter";
@@ -1373,6 +1385,19 @@ export declare class PoolListFilter extends Message<PoolListFilter> {
1373
1385
  * @generated from field: optional bool rewards_only = 9;
1374
1386
  */
1375
1387
  rewardsOnly?: boolean;
1388
+ /**
1389
+ * Explore-search filter: free text matched against the pool's tokens
1390
+ * (case-insensitive, normalized as in TokenListFilter.search_query). A
1391
+ * plain term prefix-matches either token's symbol or name; a "/" splits
1392
+ * the query into two halves, each prefix-matching one side's symbol (both
1393
+ * orientations; an empty half matches anything, so "usdc/" = all USDC
1394
+ * pools); a "0x"-prefixed query prefix-matches the token addresses or the
1395
+ * pool identifier instead. Narrows the listing; sort, gates, floors, and
1396
+ * pagination keep their ordinary meanings. Empty/whitespace = no filter.
1397
+ *
1398
+ * @generated from field: optional string search_query = 10;
1399
+ */
1400
+ searchQuery?: string;
1376
1401
  constructor(data?: PartialMessage<PoolListFilter>);
1377
1402
  static readonly runtime: typeof proto3;
1378
1403
  static readonly typeName = "data.v2.PoolListFilter";
@@ -650,6 +650,7 @@ TokenListFilter.fields = proto3.util.newFieldList(() => [
650
650
  { no: 4, name: "apply_top_level_filters", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
651
651
  { no: 5, name: "exclude_rwas", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
652
652
  { no: 6, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
653
+ { no: 7, name: "search_query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
653
654
  ]);
654
655
  /**
655
656
  * @generated from message data.v2.FiatAmount
@@ -1480,6 +1481,7 @@ PoolListFilter.fields = proto3.util.newFieldList(() => [
1480
1481
  { no: 7, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1481
1482
  { no: 8, name: "apply_top_level_filters", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1482
1483
  { no: 9, name: "rewards_only", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1484
+ { no: 10, name: "search_query", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1483
1485
  ]);
1484
1486
  /**
1485
1487
  * Returned by ListPools — wraps a Pool with its ranking stats.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.232",
3
+ "version": "0.0.234",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },