jr-common-micro 1.1.70 → 1.1.71
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.
|
@@ -119,6 +119,7 @@ export declare class ChatTickerCardDto extends Message<ChatTickerCardDto> {
|
|
|
119
119
|
price: string;
|
|
120
120
|
change24h: string;
|
|
121
121
|
capturedAt: string;
|
|
122
|
+
coinmarketcapId: string;
|
|
122
123
|
constructor(data?: PartialMessage<ChatTickerCardDto>);
|
|
123
124
|
static readonly runtime: typeof proto3;
|
|
124
125
|
static readonly typeName = "micro.v1.chat.ChatTickerCardDto";
|
|
@@ -250,6 +250,7 @@ class ChatTickerCardDto extends protobuf_1.Message {
|
|
|
250
250
|
price = "";
|
|
251
251
|
change24h = "";
|
|
252
252
|
capturedAt = "";
|
|
253
|
+
coinmarketcapId = "";
|
|
253
254
|
constructor(data) {
|
|
254
255
|
super();
|
|
255
256
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -263,6 +264,7 @@ class ChatTickerCardDto extends protobuf_1.Message {
|
|
|
263
264
|
{ no: 4, name: "price", kind: "scalar", T: 9 },
|
|
264
265
|
{ no: 5, name: "change_24h", kind: "scalar", T: 9 },
|
|
265
266
|
{ no: 6, name: "captured_at", kind: "scalar", T: 9 },
|
|
267
|
+
{ no: 7, name: "coinmarketcap_id", kind: "scalar", T: 9 },
|
|
266
268
|
]);
|
|
267
269
|
static fromBinary(bytes, options) {
|
|
268
270
|
return new ChatTickerCardDto().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -106,6 +106,9 @@ message ChatTickerCardDto {
|
|
|
106
106
|
string change_24h = 5;
|
|
107
107
|
// ISO timestamp of the snapshot.
|
|
108
108
|
string captured_at = 6;
|
|
109
|
+
// CoinMarketCap id: our own icon set does not cover every coin, CMC's CDN
|
|
110
|
+
// does, so the client can fall back to it.
|
|
111
|
+
string coinmarketcap_id = 7;
|
|
109
112
|
}
|
|
110
113
|
|
|
111
114
|
message ChatLinkPreviewDto {
|