@uniswap/client-data-api 0.0.272 → 0.0.273

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.
@@ -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.273",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },