@metatrongg/sdk 0.8.0-dev.d6c40ea → 0.8.0-dev.e72be48

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.
@@ -998,6 +998,7 @@ type TronTransferRequest = {
998
998
  note?: string;
999
999
  challengeId?: string;
1000
1000
  signature?: string;
1001
+ threadId?: string;
1001
1002
  };
1002
1003
  type TronSecuritySetting = {
1003
1004
  requireSignature: boolean;
@@ -1243,6 +1244,7 @@ type MessageItem = {
1243
1244
  id: string;
1244
1245
  threadId: string;
1245
1246
  senderUserId: string;
1247
+ transaction?: MessageTransaction;
1246
1248
  body: string;
1247
1249
  envelope?: MessageEnvelope;
1248
1250
  sentAt: string;
@@ -1253,6 +1255,11 @@ type MessageItem = {
1253
1255
  attachments: Array<MessageAttachment>;
1254
1256
  linkPreviews: Array<MessageLinkPreview>;
1255
1257
  };
1258
+ type MessageTransaction = {
1259
+ kind: "tron_transfer";
1260
+ amountCents: number;
1261
+ recipientUserId: string;
1262
+ } | null;
1256
1263
  type MessageReplyPreview = {
1257
1264
  id: string;
1258
1265
  senderUserId: string;