@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.
- package/dist/browser/index.d.ts +7 -0
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +52 -1
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +7 -0
- package/dist/node/index.js +1 -1
- package/dist/webhook/express.js +1 -1
- package/dist/webhook/fastify.js +1 -1
- package/dist/webhook/hono.js +1 -1
- package/dist/webhook/index.js +1 -1
- package/package.json +1 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -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;
|