@metatrongg/sdk 0.8.0-dev.8266b7d → 0.8.0-dev.8b1062f
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 +3 -57
- package/dist/browser/index.js +1 -1
- package/dist/contracts/index.d.ts +9 -477
- package/dist/contracts/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node/index.d.ts +3 -57
- 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
|
@@ -733,11 +733,7 @@ type ActivityRow = ({
|
|
|
733
733
|
kind: "referral_earning";
|
|
734
734
|
} & ActivityRowReferralEarning) | ({
|
|
735
735
|
kind: "nft_charge";
|
|
736
|
-
} & ActivityRowNftCharge)
|
|
737
|
-
kind: "solana_stake";
|
|
738
|
-
} & ActivityRowSolanaStake) | ({
|
|
739
|
-
kind: "solana_pot_leg";
|
|
740
|
-
} & ActivityRowSolanaPotLeg);
|
|
736
|
+
} & ActivityRowNftCharge);
|
|
741
737
|
type ActivityRowPayment = {
|
|
742
738
|
kind: "payment";
|
|
743
739
|
groupId: string | null;
|
|
@@ -1065,56 +1061,6 @@ type ActivityRowNftCharge = {
|
|
|
1065
1061
|
counterpartyHandle: string | null;
|
|
1066
1062
|
counterpartyDisplayName: string | null;
|
|
1067
1063
|
};
|
|
1068
|
-
type ActivityRowSolanaStake = {
|
|
1069
|
-
kind: "solana_stake";
|
|
1070
|
-
groupId: string | null;
|
|
1071
|
-
id: string;
|
|
1072
|
-
chain: string;
|
|
1073
|
-
occurredAt: string;
|
|
1074
|
-
role: "outgoing" | "incoming";
|
|
1075
|
-
amount: string;
|
|
1076
|
-
token: string;
|
|
1077
|
-
potId: string | null;
|
|
1078
|
-
usdCents: number;
|
|
1079
|
-
status: "completed";
|
|
1080
|
-
txHash: string | null;
|
|
1081
|
-
app: {
|
|
1082
|
-
id: string;
|
|
1083
|
-
name: string;
|
|
1084
|
-
logoUrl: string | null;
|
|
1085
|
-
slug: string | null;
|
|
1086
|
-
bannerUrl: string | null;
|
|
1087
|
-
} | null;
|
|
1088
|
-
stakerUserId?: string | null;
|
|
1089
|
-
stakerHandle?: string | null;
|
|
1090
|
-
stakerDisplayName?: string | null;
|
|
1091
|
-
metadata?: PaymentMetadata | null;
|
|
1092
|
-
};
|
|
1093
|
-
type ActivityRowSolanaPotLeg = {
|
|
1094
|
-
kind: "solana_pot_leg";
|
|
1095
|
-
groupId: string | null;
|
|
1096
|
-
id: string;
|
|
1097
|
-
chain: string;
|
|
1098
|
-
occurredAt: string;
|
|
1099
|
-
role: "outgoing" | "incoming";
|
|
1100
|
-
beneficiary: string;
|
|
1101
|
-
potId: string | null;
|
|
1102
|
-
amount: string;
|
|
1103
|
-
token: string;
|
|
1104
|
-
usdCents: number | null;
|
|
1105
|
-
status: "settled";
|
|
1106
|
-
app: {
|
|
1107
|
-
id: string;
|
|
1108
|
-
name: string;
|
|
1109
|
-
logoUrl: string | null;
|
|
1110
|
-
slug: string | null;
|
|
1111
|
-
bannerUrl: string | null;
|
|
1112
|
-
} | null;
|
|
1113
|
-
txHash: string | null;
|
|
1114
|
-
recipientUserId?: string | null;
|
|
1115
|
-
recipientHandle?: string | null;
|
|
1116
|
-
recipientDisplayName?: string | null;
|
|
1117
|
-
};
|
|
1118
1064
|
type OutstandingResponse = {
|
|
1119
1065
|
rows: Array<OutstandingByToken>;
|
|
1120
1066
|
};
|
|
@@ -2297,7 +2243,7 @@ type DeveloperAppWalletsResponse = {
|
|
|
2297
2243
|
};
|
|
2298
2244
|
type DeveloperAppWalletItem = {
|
|
2299
2245
|
chain: string;
|
|
2300
|
-
address: string
|
|
2246
|
+
address: string;
|
|
2301
2247
|
custody: "server" | null;
|
|
2302
2248
|
walletId: string | null;
|
|
2303
2249
|
autoSweepEnabled: boolean;
|
|
@@ -2318,7 +2264,7 @@ type DeveloperAppProvisionWalletResponse = {
|
|
|
2318
2264
|
chain: string;
|
|
2319
2265
|
custody: "server";
|
|
2320
2266
|
walletId: string;
|
|
2321
|
-
address: string
|
|
2267
|
+
address: string;
|
|
2322
2268
|
};
|
|
2323
2269
|
type DeveloperAppWithdrawResponse = {
|
|
2324
2270
|
appId: string;
|