@uniswap/client-data-api 0.0.272 → 0.0.274

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.
@@ -136,7 +136,7 @@ export declare class SearchResponse extends Message<SearchResponse> {
136
136
  */
137
137
  pools: RankedPool[];
138
138
  /**
139
- * Ordered by total bid volume. With both TOKEN and AUCTION requested, one primary result per Custom CCA token, matched on chain + token address and decided by lifecycle, not is_tradeable: an UPCOMING or LIVE auction replaces its token's rows in tokens and suppressed_tokens; for any other lifecycle a matching token row wins and the auction is served only without TOKEN. An auction with no matching token row is always served. Kept rows keep their order. Auctions are capped before any token is replaced, so a replaced token's auction is always served.
139
+ * Ordered by total bid volume. With both TOKEN and AUCTION requested, one primary result per Custom CCA token, matched on chain + token address and decided by lifecycle, not is_tradeable: an UPCOMING or LIVE auction replaces its token's rows in tokens and suppressed_tokens; for any other lifecycle a matching token row wins and the auction is served only without TOKEN. A GRADUATED or FAILED auction with no matching token row gives way to its token while tokens has room, for at most the first 15 such auctions: the token is appended after the ranked rows unless it is unknown, hidden, or already listed. Any other auction with no matching token row is served. Kept rows keep their order. Auctions are capped before any token is replaced, so a replaced token's auction is always served.
140
140
  *
141
141
  * @generated from field: repeated data.v2.SearchAuction auctions = 4;
142
142
  */
@@ -170,7 +170,7 @@ export class SearchResponse extends Message {
170
170
  */
171
171
  this.pools = [];
172
172
  /**
173
- * Ordered by total bid volume. With both TOKEN and AUCTION requested, one primary result per Custom CCA token, matched on chain + token address and decided by lifecycle, not is_tradeable: an UPCOMING or LIVE auction replaces its token's rows in tokens and suppressed_tokens; for any other lifecycle a matching token row wins and the auction is served only without TOKEN. An auction with no matching token row is always served. Kept rows keep their order. Auctions are capped before any token is replaced, so a replaced token's auction is always served.
173
+ * Ordered by total bid volume. With both TOKEN and AUCTION requested, one primary result per Custom CCA token, matched on chain + token address and decided by lifecycle, not is_tradeable: an UPCOMING or LIVE auction replaces its token's rows in tokens and suppressed_tokens; for any other lifecycle a matching token row wins and the auction is served only without TOKEN. A GRADUATED or FAILED auction with no matching token row gives way to its token while tokens has room, for at most the first 15 such auctions: the token is appended after the ranked rows unless it is unknown, hidden, or already listed. Any other auction with no matching token row is served. Kept rows keep their order. Auctions are capped before any token is replaced, so a replaced token's auction is always served.
174
174
  *
175
175
  * @generated from field: repeated data.v2.SearchAuction auctions = 4;
176
176
  */
@@ -718,6 +718,16 @@ export declare class TokenPriceData extends Message<TokenPriceData> {
718
718
  * @generated from field: optional double price_24h_ago_usd = 4;
719
719
  */
720
720
  price24hAgoUsd?: number;
721
+ /**
722
+ * Confidence in spot_usd, 0 to 1: the pricing pipeline's route score. USDC
723
+ * anchors at 1, and each pool hop on the route to USDC scales it down by
724
+ * that pool's 24h depth and swap count. Unset means unknown, never low
725
+ * confidence: no Aurora price row, a price older than 24h, or a source that
726
+ * does not score prices, such as Codex for Solana.
727
+ *
728
+ * @generated from field: optional double confidence_score = 5;
729
+ */
730
+ confidenceScore?: number;
721
731
  constructor(data?: PartialMessage<TokenPriceData>);
722
732
  static readonly runtime: typeof proto3;
723
733
  static readonly typeName = "data.v2.TokenPriceData";
@@ -825,6 +825,7 @@ TokenPriceData.fields = proto3.util.newFieldList(() => [
825
825
  { no: 2, name: "percent_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
826
826
  { no: 3, name: "percent_change_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
827
827
  { no: 4, name: "price_24h_ago_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
828
+ { no: 5, name: "confidence_score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
828
829
  ]);
829
830
  /**
830
831
  * Live on-chain market stats for a single token, USD-denominated.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.272",
3
+ "version": "0.0.274",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },