@uniswap/client-data-api 0.0.261 → 0.0.262

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,5 +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 { TokensSort } from "./types_pb.js";
3
4
  /**
4
5
  * @generated from enum data.v2.CategoryClass
5
6
  */
@@ -156,6 +157,13 @@ export declare class Category extends Message<Category> {
156
157
  descriptionTranslations: {
157
158
  [key: string]: string;
158
159
  };
160
+ /**
161
+ * Sort the category page opens with, before the user picks a column.
162
+ * Always set. Feed it to ListTokens / ListTokenGroups as the sort.
163
+ *
164
+ * @generated from field: data.v2.TokensSort default_sort = 9;
165
+ */
166
+ defaultSort?: TokensSort;
159
167
  constructor(data?: PartialMessage<Category>);
160
168
  static readonly runtime: typeof proto3;
161
169
  static readonly typeName = "data.v2.Category";
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
+ import { TokensSort } from "./types_pb.js";
6
7
  /**
7
8
  * @generated from enum data.v2.CategoryClass
8
9
  */
@@ -219,6 +220,7 @@ Category.fields = proto3.util.newFieldList(() => [
219
220
  { no: 6, name: "grouped", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
220
221
  { no: 7, name: "name_translations", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
221
222
  { no: 8, name: "description_translations", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
223
+ { no: 9, name: "default_sort", kind: "message", T: TokensSort },
222
224
  ]);
223
225
  /**
224
226
  * A category plus its chain-scoped market view (mirrors RankedPool /
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.261",
3
+ "version": "0.0.262",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },