@uniswap/client-data-api 0.0.241 → 0.0.242

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.
@@ -44,6 +44,27 @@ export declare enum LockMode {
44
44
  */
45
45
  FEE_SPLITTER = 5
46
46
  }
47
+ /**
48
+ * How the auction was launched. is_quick_launch is a plain bool, so an
49
+ * auction that has not been classified yet reads as false there. Read this
50
+ * field when an unclassified auction must not be labeled.
51
+ *
52
+ * @generated from enum data.v1.AuctionType
53
+ */
54
+ export declare enum AuctionType {
55
+ /**
56
+ * @generated from enum value: AUCTION_TYPE_UNSPECIFIED = 0;
57
+ */
58
+ UNSPECIFIED = 0,
59
+ /**
60
+ * @generated from enum value: AUCTION_TYPE_CROWD = 1;
61
+ */
62
+ CROWD = 1,
63
+ /**
64
+ * @generated from enum value: AUCTION_TYPE_CUSTOM = 2;
65
+ */
66
+ CUSTOM = 2
67
+ }
47
68
  /**
48
69
  * Status filter for top auctions, matching the explore-page filters.
49
70
  * Status is derived from the chain's latest block vs the auction's end_block.
@@ -704,6 +725,13 @@ export declare class Auction extends Message<Auction> {
704
725
  * @generated from field: optional google.protobuf.Timestamp estimated_start_time = 58;
705
726
  */
706
727
  estimatedStartTime?: Timestamp;
728
+ /**
729
+ * UNSPECIFIED until the auction is classified, then CROWD when
730
+ * is_quick_launch is true and CUSTOM when it is false.
731
+ *
732
+ * @generated from field: data.v1.AuctionType auction_type = 59;
733
+ */
734
+ auctionType: AuctionType;
707
735
  constructor(data?: PartialMessage<Auction>);
708
736
  static readonly runtime: typeof proto3;
709
737
  static readonly typeName = "data.v1.Auction";
@@ -57,6 +57,34 @@ proto3.util.setEnumType(LockMode, "data.v1.LockMode", [
57
57
  { no: 4, name: "LOCK_MODE_BURN" },
58
58
  { no: 5, name: "LOCK_MODE_FEE_SPLITTER" },
59
59
  ]);
60
+ /**
61
+ * How the auction was launched. is_quick_launch is a plain bool, so an
62
+ * auction that has not been classified yet reads as false there. Read this
63
+ * field when an unclassified auction must not be labeled.
64
+ *
65
+ * @generated from enum data.v1.AuctionType
66
+ */
67
+ export var AuctionType;
68
+ (function (AuctionType) {
69
+ /**
70
+ * @generated from enum value: AUCTION_TYPE_UNSPECIFIED = 0;
71
+ */
72
+ AuctionType[AuctionType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
73
+ /**
74
+ * @generated from enum value: AUCTION_TYPE_CROWD = 1;
75
+ */
76
+ AuctionType[AuctionType["CROWD"] = 1] = "CROWD";
77
+ /**
78
+ * @generated from enum value: AUCTION_TYPE_CUSTOM = 2;
79
+ */
80
+ AuctionType[AuctionType["CUSTOM"] = 2] = "CUSTOM";
81
+ })(AuctionType || (AuctionType = {}));
82
+ // Retrieve enum metadata with: proto3.getEnumType(AuctionType)
83
+ proto3.util.setEnumType(AuctionType, "data.v1.AuctionType", [
84
+ { no: 0, name: "AUCTION_TYPE_UNSPECIFIED" },
85
+ { no: 1, name: "AUCTION_TYPE_CROWD" },
86
+ { no: 2, name: "AUCTION_TYPE_CUSTOM" },
87
+ ]);
60
88
  /**
61
89
  * Status filter for top auctions, matching the explore-page filters.
62
90
  * Status is derived from the chain's latest block vs the auction's end_block.
@@ -642,6 +670,13 @@ export class Auction extends Message {
642
670
  * @generated from field: repeated data.v1.LaunchBadge badges = 57;
643
671
  */
644
672
  this.badges = [];
673
+ /**
674
+ * UNSPECIFIED until the auction is classified, then CROWD when
675
+ * is_quick_launch is true and CUSTOM when it is false.
676
+ *
677
+ * @generated from field: data.v1.AuctionType auction_type = 59;
678
+ */
679
+ this.auctionType = AuctionType.UNSPECIFIED;
645
680
  proto3.util.initPartial(data, this);
646
681
  }
647
682
  static fromBinary(bytes, options) {
@@ -718,6 +753,7 @@ Auction.fields = proto3.util.newFieldList(() => [
718
753
  { no: 56, name: "hooks", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
719
754
  { no: 57, name: "badges", kind: "message", T: LaunchBadge, repeated: true },
720
755
  { no: 58, name: "estimated_start_time", kind: "message", T: Timestamp, opt: true },
756
+ { no: 59, name: "auction_type", kind: "enum", T: proto3.getEnumType(AuctionType) },
721
757
  ]);
722
758
  /**
723
759
  * One badge earned by a launch's token — the data.v1 twin of
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.241",
3
+ "version": "0.0.242",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },