@uniswap/client-data-api 0.0.270 → 0.0.272

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.
@@ -963,6 +963,30 @@ export declare class TokenMultichain extends Message<TokenMultichain> {
963
963
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenMultichain;
964
964
  static equals(a: TokenMultichain | PlainMessage<TokenMultichain> | undefined, b: TokenMultichain | PlainMessage<TokenMultichain> | undefined): boolean;
965
965
  }
966
+ /**
967
+ * One logo as a light-theme and a dark-theme URL; remote art can't be
968
+ * recoloured by the client's theme.
969
+ *
970
+ * @generated from message data.v2.ThemedLogoUrls
971
+ */
972
+ export declare class ThemedLogoUrls extends Message<ThemedLogoUrls> {
973
+ /**
974
+ * @generated from field: string light = 1;
975
+ */
976
+ light: string;
977
+ /**
978
+ * @generated from field: string dark = 2;
979
+ */
980
+ dark: string;
981
+ constructor(data?: PartialMessage<ThemedLogoUrls>);
982
+ static readonly runtime: typeof proto3;
983
+ static readonly typeName = "data.v2.ThemedLogoUrls";
984
+ static readonly fields: FieldList;
985
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ThemedLogoUrls;
986
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ThemedLogoUrls;
987
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ThemedLogoUrls;
988
+ static equals(a: ThemedLogoUrls | PlainMessage<ThemedLogoUrls> | undefined, b: ThemedLogoUrls | PlainMessage<ThemedLogoUrls> | undefined): boolean;
989
+ }
966
990
  /**
967
991
  * Issuer of a tokenized real-world asset; absent = not an RWA or issuer unknown.
968
992
  *
@@ -978,9 +1002,25 @@ export declare class TokenIssuerInfo extends Message<TokenIssuerInfo> {
978
1002
  */
979
1003
  displayName: string;
980
1004
  /**
1005
+ * Full-colour light-theme logo: the curated one when a set exists, else the
1006
+ * issuer's CoinGecko image (canvas and background vary).
1007
+ *
981
1008
  * @generated from field: string logo_url = 3;
982
1009
  */
983
1010
  logoUrl: string;
1011
+ /**
1012
+ * Curated sets on a uniform square canvas; without one, every slot carries the
1013
+ * CoinGecko image (absent only when the issuer has no logo at all).
1014
+ *
1015
+ * @generated from field: optional data.v2.ThemedLogoUrls color_logo_urls = 4;
1016
+ */
1017
+ colorLogoUrls?: ThemedLogoUrls;
1018
+ /**
1019
+ * Drawn for small dimmed treatments (12px at 50%).
1020
+ *
1021
+ * @generated from field: optional data.v2.ThemedLogoUrls grayscale_logo_urls = 5;
1022
+ */
1023
+ grayscaleLogoUrls?: ThemedLogoUrls;
984
1024
  constructor(data?: PartialMessage<TokenIssuerInfo>);
985
1025
  static readonly runtime: typeof proto3;
986
1026
  static readonly typeName = "data.v2.TokenIssuerInfo";
@@ -1709,6 +1749,14 @@ export declare class Token extends Message<Token> {
1709
1749
  * @generated from field: optional data.v2.TokenLaunchProvenance launch_provenance = 15;
1710
1750
  */
1711
1751
  launchProvenance?: TokenLaunchProvenance;
1752
+ /**
1753
+ * Earliest qualifying swap for this token and chain across indexed pools,
1754
+ * excluding auction bids and checkpoints. Not the launch time. Set only for
1755
+ * tracked launch tokens on canonical-token GetToken and GetTokens reads.
1756
+ *
1757
+ * @generated from field: optional google.protobuf.Timestamp first_traded_at = 16;
1758
+ */
1759
+ firstTradedAt?: Timestamp;
1712
1760
  constructor(data?: PartialMessage<Token>);
1713
1761
  static readonly runtime: typeof proto3;
1714
1762
  static readonly typeName = "data.v2.Token";
@@ -1092,6 +1092,44 @@ TokenMultichain.fields = proto3.util.newFieldList(() => [
1092
1092
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1093
1093
  { no: 2, name: "addresses", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
1094
1094
  ]);
1095
+ /**
1096
+ * One logo as a light-theme and a dark-theme URL; remote art can't be
1097
+ * recoloured by the client's theme.
1098
+ *
1099
+ * @generated from message data.v2.ThemedLogoUrls
1100
+ */
1101
+ export class ThemedLogoUrls extends Message {
1102
+ constructor(data) {
1103
+ super();
1104
+ /**
1105
+ * @generated from field: string light = 1;
1106
+ */
1107
+ this.light = "";
1108
+ /**
1109
+ * @generated from field: string dark = 2;
1110
+ */
1111
+ this.dark = "";
1112
+ proto3.util.initPartial(data, this);
1113
+ }
1114
+ static fromBinary(bytes, options) {
1115
+ return new ThemedLogoUrls().fromBinary(bytes, options);
1116
+ }
1117
+ static fromJson(jsonValue, options) {
1118
+ return new ThemedLogoUrls().fromJson(jsonValue, options);
1119
+ }
1120
+ static fromJsonString(jsonString, options) {
1121
+ return new ThemedLogoUrls().fromJsonString(jsonString, options);
1122
+ }
1123
+ static equals(a, b) {
1124
+ return proto3.util.equals(ThemedLogoUrls, a, b);
1125
+ }
1126
+ }
1127
+ ThemedLogoUrls.runtime = proto3;
1128
+ ThemedLogoUrls.typeName = "data.v2.ThemedLogoUrls";
1129
+ ThemedLogoUrls.fields = proto3.util.newFieldList(() => [
1130
+ { no: 1, name: "light", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1131
+ { no: 2, name: "dark", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1132
+ ]);
1095
1133
  /**
1096
1134
  * Issuer of a tokenized real-world asset; absent = not an RWA or issuer unknown.
1097
1135
  *
@@ -1109,6 +1147,9 @@ export class TokenIssuerInfo extends Message {
1109
1147
  */
1110
1148
  this.displayName = "";
1111
1149
  /**
1150
+ * Full-colour light-theme logo: the curated one when a set exists, else the
1151
+ * issuer's CoinGecko image (canvas and background vary).
1152
+ *
1112
1153
  * @generated from field: string logo_url = 3;
1113
1154
  */
1114
1155
  this.logoUrl = "";
@@ -1133,6 +1174,8 @@ TokenIssuerInfo.fields = proto3.util.newFieldList(() => [
1133
1174
  { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1134
1175
  { no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1135
1176
  { no: 3, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1177
+ { no: 4, name: "color_logo_urls", kind: "message", T: ThemedLogoUrls, opt: true },
1178
+ { no: 5, name: "grayscale_logo_urls", kind: "message", T: ThemedLogoUrls, opt: true },
1136
1179
  ]);
1137
1180
  /**
1138
1181
  * One chain's deployment of a multichain token. Decimals differ across a
@@ -1797,6 +1840,7 @@ Token.fields = proto3.util.newFieldList(() => [
1797
1840
  { no: 13, name: "category_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1798
1841
  { no: 14, name: "issuer", kind: "message", T: TokenIssuerInfo, opt: true },
1799
1842
  { no: 15, name: "launch_provenance", kind: "message", T: TokenLaunchProvenance, opt: true },
1843
+ { no: 16, name: "first_traded_at", kind: "message", T: Timestamp, opt: true },
1800
1844
  ]);
1801
1845
  /**
1802
1846
  * A token launchpad known to the Launches surface (see the data-api
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.270",
3
+ "version": "0.0.272",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },