@uniswap/client-data-api 0.0.218 → 0.0.220

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.
@@ -661,6 +661,15 @@ export declare class TokenPriceData extends Message<TokenPriceData> {
661
661
  * @generated from field: optional double percent_change_1h = 3;
662
662
  */
663
663
  percentChange1h?: number;
664
+ /**
665
+ * USD price ~24h ago — the anchor percent_change_1d is measured against.
666
+ * When set, percent_change_1d is computed at serve time from spot_usd
667
+ * against this anchor (live numerator, 1d-cron-refreshed denominator);
668
+ * unset when the stats pipeline has not resolved an anchor yet.
669
+ *
670
+ * @generated from field: optional double price_24h_ago_usd = 4;
671
+ */
672
+ price24hAgoUsd?: number;
664
673
  constructor(data?: PartialMessage<TokenPriceData>);
665
674
  static readonly runtime: typeof proto3;
666
675
  static readonly typeName = "data.v2.TokenPriceData";
@@ -1257,9 +1266,12 @@ export declare class PoolListFilter extends Message<PoolListFilter> {
1257
1266
  * ListTokens' exact rule; fails closed on a missing price), and discovery
1258
1267
  * (each token native, on a token list, or confidence >= 0.2 WITH 1D token
1259
1268
  * volume in ListTokens' discovery band [10K, 30M] — its exact
1260
- * on-list-or-earned-trust rule), and balance (the pool's claimed TVL
1269
+ * on-list-or-earned-trust rule), balance (the pool's claimed TVL
1261
1270
  * must be backed on both sides: side-valuation ratio at or above the
1262
- * protocol-stats 1:500 rule; unknown fails open).
1271
+ * protocol-stats 1:500 rule; unknown fails open), and a TVL floor
1272
+ * (pool TVL >= $100 on ranked explore feeds, >= $1 on token-scoped
1273
+ * requests — the dust stratum where fossilized stats live; unknown
1274
+ * fails open).
1263
1275
  *
1264
1276
  * @generated from field: optional bool apply_top_level_filters = 8;
1265
1277
  */
@@ -1610,6 +1622,15 @@ export declare class LaunchStats extends Message<LaunchStats> {
1610
1622
  * @generated from field: optional double price_eth = 8;
1611
1623
  */
1612
1624
  priceEth?: number;
1625
+ /**
1626
+ * USD price ~24h ago — the anchor price_change_percent_24h is measured
1627
+ * against. When set, price_change_percent_24h is computed at serve time
1628
+ * from the live current price against this anchor; unset when the stats
1629
+ * pipeline has not resolved an anchor yet.
1630
+ *
1631
+ * @generated from field: optional double price_24h_ago_usd = 9;
1632
+ */
1633
+ price24hAgoUsd?: number;
1613
1634
  constructor(data?: PartialMessage<LaunchStats>);
1614
1635
  static readonly runtime: typeof proto3;
1615
1636
  static readonly typeName = "data.v2.LaunchStats";
@@ -777,6 +777,7 @@ TokenPriceData.fields = proto3.util.newFieldList(() => [
777
777
  { no: 1, name: "spot_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
778
778
  { no: 2, name: "percent_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
779
779
  { no: 3, name: "percent_change_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
780
+ { no: 4, name: "price_24h_ago_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
780
781
  ]);
781
782
  /**
782
783
  * Live on-chain market stats for a single token, USD-denominated.
@@ -1746,6 +1747,7 @@ LaunchStats.fields = proto3.util.newFieldList(() => [
1746
1747
  { no: 6, name: "price_change_percent_24h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1747
1748
  { no: 7, name: "sparkline", kind: "message", T: TimestampedValue, repeated: true },
1748
1749
  { no: 8, name: "price_eth", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1750
+ { no: 9, name: "price_24h_ago_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
1749
1751
  ]);
1750
1752
  /**
1751
1753
  * One token launch: the earliest pool a (token, launchpad) pair created.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.218",
3
+ "version": "0.0.220",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },