@uniswap/client-data-api 0.0.141 → 0.0.143

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,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
2
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolFeesRequest, GetProtocolFeesResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
5
5
  */
@@ -169,6 +169,19 @@ export declare const getPool: {
169
169
  readonly typeName: "data.v1.DataApiService";
170
170
  };
171
171
  };
172
+ /**
173
+ * @generated from rpc data.v1.DataApiService.GetProtocolFees
174
+ */
175
+ export declare const getProtocolFees: {
176
+ readonly localName: "getProtocolFees";
177
+ readonly name: "GetProtocolFees";
178
+ readonly kind: MethodKind.Unary;
179
+ readonly I: typeof GetProtocolFeesRequest;
180
+ readonly O: typeof GetProtocolFeesResponse;
181
+ readonly service: {
182
+ readonly typeName: "data.v1.DataApiService";
183
+ };
184
+ };
172
185
  /**
173
186
  * @generated from rpc data.v1.DataApiService.GetPosition
174
187
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
6
+ import { CreatePendingTokenFactoryTokenRequest, CreatePendingTokenFactoryTokenResponse, CreateTokenFactoryPresignedUrlRequest, CreateTokenFactoryPresignedUrlResponse, GetPairRequest, GetPairResponse, GetPoolRequest, GetPoolResponse, GetPortfolioChartRequest, GetPortfolioChartResponse, GetPortfolioRequest, GetPortfolioResponse, GetPositionRequest, GetPositionResponse, GetProtocolFeesRequest, GetProtocolFeesResponse, GetProtocolStatsRequest, GetProtocolStatsResponse, GetRewardsRequest, GetRewardsResponse, GetTokenPricesRequest, GetTokenPricesResponse, GetTokenRequest, GetTokenResponse, GetTransactionRequest, GetTransactionResponse, GetWalletBalancesRequest, GetWalletBalancesResponse, GetWalletProfitLossRequest, GetWalletProfitLossResponse, GetWalletsBalancesRequest, GetWalletsBalancesResponse, GetWalletTokenProfitLossRequest, GetWalletTokenProfitLossResponse, GetWalletTokensProfitLossRequest, GetWalletTokensProfitLossResponse, ListPoolsRequest, ListPoolsResponse, ListPortfoliosRequest, ListPortfoliosResponse, ListPositionsRequest, ListPositionsResponse, ListRankedRwasRequest, ListRankedRwasResponse, ListRwasRequest, ListRwasResponse, ListRwaTokensRequest, ListRwaTokensResponse, ListTokensRequest, ListTokensResponse, ListTopPoolsRequest, ListTopPoolsResponse, ListTransactionsRequest, ListTransactionsResponse, SubmitDataReportRequest, SubmitDataReportResponse, SubmitReportRequest, SubmitReportResponse, SubmitTokenFactoryTokenRequest, SubmitTokenFactoryTokenResponse, VerifyTokenFactoryImageRequest, VerifyTokenFactoryImageResponse } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v1.DataApiService.CreatePendingTokenFactoryToken
9
9
  */
@@ -173,6 +173,19 @@ export const getPool = {
173
173
  typeName: "data.v1.DataApiService"
174
174
  }
175
175
  };
176
+ /**
177
+ * @generated from rpc data.v1.DataApiService.GetProtocolFees
178
+ */
179
+ export const getProtocolFees = {
180
+ localName: "getProtocolFees",
181
+ name: "GetProtocolFees",
182
+ kind: MethodKind.Unary,
183
+ I: GetProtocolFeesRequest,
184
+ O: GetProtocolFeesResponse,
185
+ service: {
186
+ typeName: "data.v1.DataApiService"
187
+ }
188
+ };
176
189
  /**
177
190
  * @generated from rpc data.v1.DataApiService.GetPosition
178
191
  */
@@ -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";
@@ -1014,6 +1029,24 @@ export declare class AuctionWithStats extends Message<AuctionWithStats> {
1014
1029
  * @deprecated
1015
1030
  */
1016
1031
  totalBidVolume: string;
1032
+ /**
1033
+ * Distinct wallets that have placed bids in the auction, all-time
1034
+ * (includes exited/withdrawn bids — historical participation).
1035
+ * Optional for explicit presence: absent when the stats aggregate failed
1036
+ * (degraded response), so clients can tell "unavailable" from a real 0.
1037
+ *
1038
+ * @generated from field: optional int32 unique_bidder_count = 3;
1039
+ */
1040
+ uniqueBidderCount?: number;
1041
+ /**
1042
+ * USD value of currency committed to the auction in the trailing hour
1043
+ * (includes exited bids, matching total_bid_volume semantics).
1044
+ * Optional for explicit presence: absent when the stats aggregate failed
1045
+ * (degraded response), so clients can tell "unavailable" from a real 0.
1046
+ *
1047
+ * @generated from field: optional double bid_volume_usd_last_1h = 4;
1048
+ */
1049
+ bidVolumeUsdLast1h?: number;
1017
1050
  constructor(data?: PartialMessage<AuctionWithStats>);
1018
1051
  static readonly runtime: typeof proto3;
1019
1052
  static readonly typeName = "data.v1.AuctionWithStats";
@@ -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.
@@ -1276,6 +1293,8 @@ AuctionWithStats.typeName = "data.v1.AuctionWithStats";
1276
1293
  AuctionWithStats.fields = proto3.util.newFieldList(() => [
1277
1294
  { no: 1, name: "auction", kind: "message", T: Auction },
1278
1295
  { no: 2, name: "total_bid_volume", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1296
+ { no: 3, name: "unique_bidder_count", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1297
+ { no: 4, name: "bid_volume_usd_last_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1279
1298
  ]);
1280
1299
  /**
1281
1300
  * Response containing top auctions ordered by total bid volume.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.141",
3
+ "version": "0.0.143",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },