@uniswap/client-data-api 0.0.233 → 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.
@@ -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.233",
3
+ "version": "0.0.234",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },