@uniswap/client-data-api 0.0.46 → 0.0.49

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,6 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
+ import { ProtectionInfo } from "./types_pb.js";
3
4
  /**
4
5
  * Request to fetch all bids by a wallet.
5
6
  *
@@ -329,6 +330,24 @@ export declare class Auction extends Message<Auction> {
329
330
  * @generated from field: optional string total_bid_volume = 26;
330
331
  */
331
332
  totalBidVolume?: string;
333
+ /**
334
+ * Blockaid protection info for the auction's underlying token
335
+ *
336
+ * @generated from field: data.v1.ProtectionInfo token_protection_info = 27;
337
+ */
338
+ tokenProtectionInfo?: ProtectionInfo;
339
+ /**
340
+ * USD price of the currency token (for calculating auction USD value)
341
+ *
342
+ * @generated from field: optional string currency_price_usd = 28;
343
+ */
344
+ currencyPriceUsd?: string;
345
+ /**
346
+ * Computed: total_bid_volume * currency_price_usd (convenience field for clients)
347
+ *
348
+ * @generated from field: optional string total_bid_volume_usd = 29;
349
+ */
350
+ totalBidVolumeUsd?: string;
332
351
  constructor(data?: PartialMessage<Auction>);
333
352
  static readonly runtime: typeof proto3;
334
353
  static readonly typeName = "data.v1.Auction";
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { Message, proto3 } from "@bufbuild/protobuf";
6
+ import { ProtectionInfo } from "./types_pb.js";
6
7
  /**
7
8
  * Request to fetch all bids by a wallet.
8
9
  *
@@ -472,6 +473,9 @@ Auction.fields = proto3.util.newFieldList(() => [
472
473
  { no: 24, name: "token_total_supply", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
473
474
  { no: 25, name: "parsed_auction_steps", kind: "message", T: AuctionStep, repeated: true },
474
475
  { no: 26, name: "total_bid_volume", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
476
+ { no: 27, name: "token_protection_info", kind: "message", T: ProtectionInfo },
477
+ { no: 28, name: "currency_price_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
478
+ { no: 29, name: "total_bid_volume_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
475
479
  ]);
476
480
  /**
477
481
  * Response containing auctions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.46",
3
+ "version": "0.0.49",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },