@uniswap/client-data-api 0.0.142 → 0.0.144

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.
@@ -55,6 +55,21 @@ export declare class GetBidsByWalletRequest extends Message<GetBidsByWalletReque
55
55
  * @generated from field: int32 chain_id = 3;
56
56
  */
57
57
  chainId: number;
58
+ /**
59
+ * Optional pagination. page_size is clamped to 100. When unset it
60
+ * defaults to 25 for wallet-only / wallet+chain (cross-auction) requests
61
+ * and to 100 for auction-scoped (wallet + auction_address + chain_id)
62
+ * requests, matching that path's legacy return-everything behavior.
63
+ * page_token is the next_page_token from a previous response (opaque
64
+ * cursor).
65
+ *
66
+ * @generated from field: int32 page_size = 4;
67
+ */
68
+ pageSize: number;
69
+ /**
70
+ * @generated from field: string page_token = 5;
71
+ */
72
+ pageToken: string;
58
73
  constructor(data?: PartialMessage<GetBidsByWalletRequest>);
59
74
  static readonly runtime: typeof proto3;
60
75
  static readonly typeName = "data.v1.GetBidsByWalletRequest";
@@ -69,6 +69,21 @@ export class GetBidsByWalletRequest extends Message {
69
69
  * @generated from field: int32 chain_id = 3;
70
70
  */
71
71
  this.chainId = 0;
72
+ /**
73
+ * Optional pagination. page_size is clamped to 100. When unset it
74
+ * defaults to 25 for wallet-only / wallet+chain (cross-auction) requests
75
+ * and to 100 for auction-scoped (wallet + auction_address + chain_id)
76
+ * requests, matching that path's legacy return-everything behavior.
77
+ * page_token is the next_page_token from a previous response (opaque
78
+ * cursor).
79
+ *
80
+ * @generated from field: int32 page_size = 4;
81
+ */
82
+ this.pageSize = 0;
83
+ /**
84
+ * @generated from field: string page_token = 5;
85
+ */
86
+ this.pageToken = "";
72
87
  proto3.util.initPartial(data, this);
73
88
  }
74
89
  static fromBinary(bytes, options) {
@@ -90,6 +105,8 @@ GetBidsByWalletRequest.fields = proto3.util.newFieldList(() => [
90
105
  { no: 1, name: "wallet_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
91
106
  { no: 2, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
92
107
  { no: 3, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
108
+ { no: 4, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
109
+ { no: 5, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
93
110
  ]);
94
111
  /**
95
112
  * A single bid resource.
@@ -53,7 +53,11 @@ export declare enum TokensOrderBy {
53
53
  /**
54
54
  * @generated from enum value: TOKENS_ORDER_BY_MARKET_CAP = 11;
55
55
  */
56
- MARKET_CAP = 11
56
+ MARKET_CAP = 11,
57
+ /**
58
+ * @generated from enum value: TOKENS_ORDER_BY_PRICE = 12;
59
+ */
60
+ PRICE = 12
57
61
  }
58
62
  /**
59
63
  * The fiat currencies the legacy GraphQL convert resolver accepts
@@ -58,6 +58,10 @@ export var TokensOrderBy;
58
58
  * @generated from enum value: TOKENS_ORDER_BY_MARKET_CAP = 11;
59
59
  */
60
60
  TokensOrderBy[TokensOrderBy["MARKET_CAP"] = 11] = "MARKET_CAP";
61
+ /**
62
+ * @generated from enum value: TOKENS_ORDER_BY_PRICE = 12;
63
+ */
64
+ TokensOrderBy[TokensOrderBy["PRICE"] = 12] = "PRICE";
61
65
  })(TokensOrderBy || (TokensOrderBy = {}));
62
66
  // Retrieve enum metadata with: proto3.getEnumType(TokensOrderBy)
63
67
  proto3.util.setEnumType(TokensOrderBy, "data.v2.TokensOrderBy", [
@@ -73,6 +77,7 @@ proto3.util.setEnumType(TokensOrderBy, "data.v2.TokensOrderBy", [
73
77
  { no: 9, name: "TOKENS_ORDER_BY_PRICE_CHANGE_1H" },
74
78
  { no: 10, name: "TOKENS_ORDER_BY_PRICE_CHANGE_1D" },
75
79
  { no: 11, name: "TOKENS_ORDER_BY_MARKET_CAP" },
80
+ { no: 12, name: "TOKENS_ORDER_BY_PRICE" },
76
81
  ]);
77
82
  /**
78
83
  * The fiat currencies the legacy GraphQL convert resolver accepts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.142",
3
+ "version": "0.0.144",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },