@metatrongg/sdk 0.8.0-dev.348102f → 0.8.0-dev.43c7d53
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 +33 -0
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +633 -18
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +33 -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 +3 -3
package/dist/browser/index.d.ts
CHANGED
|
@@ -334,9 +334,16 @@ type PublicAppPage = {
|
|
|
334
334
|
chapters: AppPageChapters;
|
|
335
335
|
links: AppPageLinks;
|
|
336
336
|
studio: PublicAppPageStudio;
|
|
337
|
+
platforms: AppPagePlatforms;
|
|
338
|
+
gameType: AppPageGameType;
|
|
339
|
+
ageRating: AppPageAgeRating;
|
|
340
|
+
languages: AppPageLanguages;
|
|
341
|
+
releaseStatus: AppPageReleaseStatus;
|
|
342
|
+
paymentsMode: AppPagePaymentsMode;
|
|
337
343
|
oauthScopes: Array<string>;
|
|
338
344
|
chains: Array<string>;
|
|
339
345
|
publishedAt: string;
|
|
346
|
+
updatedAt: string;
|
|
340
347
|
};
|
|
341
348
|
type AppPageCategories = Array<"adventure" | "battle_royale" | "board" | "cards" | "casino" | "casual" | "fighting" | "idle" | "mmo" | "moba" | "platformer" | "prediction" | "puzzle" | "racing" | "rhythm" | "roguelike" | "rpg" | "rts" | "sandbox" | "shooter" | "simulation" | "sports" | "strategy" | "survival" | "tools" | "tower_defense" | "visual_novel" | "other">;
|
|
342
349
|
type AppPageTagline = string;
|
|
@@ -365,6 +372,12 @@ type PublicAppPageStudio = {
|
|
|
365
372
|
xHandle: string | null;
|
|
366
373
|
githubUrl: string | null;
|
|
367
374
|
};
|
|
375
|
+
type AppPagePlatforms = Array<"web" | "ios" | "android" | "pc" | "playstation" | "xbox" | "switch">;
|
|
376
|
+
type AppPageGameType = "single_player" | "multiplayer" | "both" | null;
|
|
377
|
+
type AppPageAgeRating = "everyone" | "13_plus" | "16_plus" | "18_plus" | null;
|
|
378
|
+
type AppPageLanguages = Array<"en" | "es" | "fr" | "de" | "pt" | "it" | "ru" | "ja" | "ko" | "zh" | "hi" | "ar" | "tr" | "vi" | "id" | "th" | "pl" | "nl">;
|
|
379
|
+
type AppPageReleaseStatus = "live" | "open_beta" | "coming_soon";
|
|
380
|
+
type AppPagePaymentsMode = "tron" | "onchain" | "both" | null;
|
|
368
381
|
type ReviewListResponse = {
|
|
369
382
|
aggregate: ReviewAggregate;
|
|
370
383
|
reviews: Array<Review>;
|
|
@@ -773,6 +786,8 @@ type ActivityRowTronPot = {
|
|
|
773
786
|
role: "incoming" | "outgoing";
|
|
774
787
|
leg: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
775
788
|
amountCents: number;
|
|
789
|
+
usdCents: number;
|
|
790
|
+
status: "settled";
|
|
776
791
|
app: {
|
|
777
792
|
id: string;
|
|
778
793
|
name: string;
|
|
@@ -780,8 +795,16 @@ type ActivityRowTronPot = {
|
|
|
780
795
|
slug: string | null;
|
|
781
796
|
bannerUrl: string | null;
|
|
782
797
|
} | null;
|
|
798
|
+
involvedUsers?: Array<ActivityTronInvolvedUser> | null;
|
|
783
799
|
metadata?: PaymentMetadata | null;
|
|
784
800
|
};
|
|
801
|
+
type ActivityTronInvolvedUser = {
|
|
802
|
+
userId: string;
|
|
803
|
+
handle: string | null;
|
|
804
|
+
displayName: string | null;
|
|
805
|
+
role: "stake" | "payout" | "dev_cut" | "purchase" | "referral";
|
|
806
|
+
amountCents: number;
|
|
807
|
+
};
|
|
785
808
|
type ActivityRowTronCashout = {
|
|
786
809
|
kind: "tron_cashout";
|
|
787
810
|
groupId: string | null;
|
|
@@ -1856,6 +1879,11 @@ type AppPageDraft = {
|
|
|
1856
1879
|
gallery: AppPageGallery;
|
|
1857
1880
|
chapters: AppPageChapters;
|
|
1858
1881
|
links: AppPageLinks;
|
|
1882
|
+
platforms: AppPagePlatforms;
|
|
1883
|
+
gameType: AppPageGameType;
|
|
1884
|
+
ageRating: AppPageAgeRating;
|
|
1885
|
+
languages: AppPageLanguages;
|
|
1886
|
+
releaseStatus: AppPageReleaseStatus;
|
|
1859
1887
|
firstPublishedAt: string | null;
|
|
1860
1888
|
reviewedAt: string | null;
|
|
1861
1889
|
reviewNotes: string | null;
|
|
@@ -1878,6 +1906,11 @@ type UpdateAppPage = {
|
|
|
1878
1906
|
gallery?: AppPageGallery;
|
|
1879
1907
|
chapters?: AppPageChapters;
|
|
1880
1908
|
links?: AppPageLinks;
|
|
1909
|
+
platforms?: AppPagePlatforms;
|
|
1910
|
+
gameType?: AppPageGameType;
|
|
1911
|
+
ageRating?: AppPageAgeRating;
|
|
1912
|
+
languages?: AppPageLanguages;
|
|
1913
|
+
releaseStatus?: AppPageReleaseStatus;
|
|
1881
1914
|
};
|
|
1882
1915
|
type AppPageGalleryUploadResponse = {
|
|
1883
1916
|
url: string;
|