@metatrongg/sdk 0.8.0-dev.cb4b3eb → 0.8.0-dev.e892968
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 +10 -0
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +141 -16
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +10 -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
|
@@ -773,6 +773,8 @@ type ActivityRowTronPot = {
|
|
|
773
773
|
role: "incoming" | "outgoing";
|
|
774
774
|
leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
775
775
|
amountCents: number;
|
|
776
|
+
usdCents: number;
|
|
777
|
+
status: "settled";
|
|
776
778
|
app: {
|
|
777
779
|
id: string;
|
|
778
780
|
name: string;
|
|
@@ -780,8 +782,16 @@ type ActivityRowTronPot = {
|
|
|
780
782
|
slug: string | null;
|
|
781
783
|
bannerUrl: string | null;
|
|
782
784
|
} | null;
|
|
785
|
+
involvedUsers?: Array<ActivityTronInvolvedUser> | null;
|
|
783
786
|
metadata?: PaymentMetadata | null;
|
|
784
787
|
};
|
|
788
|
+
type ActivityTronInvolvedUser = {
|
|
789
|
+
userId: string;
|
|
790
|
+
handle: string | null;
|
|
791
|
+
displayName: string | null;
|
|
792
|
+
role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
793
|
+
amountCents: number;
|
|
794
|
+
};
|
|
785
795
|
type ActivityRowTronCashout = {
|
|
786
796
|
kind: "tron_cashout";
|
|
787
797
|
groupId: string | null;
|