chore: update hono type

This commit is contained in:
Stephen Zhou
2025-01-17 21:19:16 +08:00
parent 3479a89b1f
commit 818b024bbc
2 changed files with 21 additions and 1 deletions
@@ -79,7 +79,6 @@ const WithdrawModalContent = ({ dismiss }: { dismiss: () => void }) => {
toRss3?: boolean
}) => {
const amountBigInt = from(amount, 18)[0]
// @ts-expect-error FIXME: remove this line after API is back
await apiClient.wallets.transactions.withdraw.$post({
json: {
address,
+21
View File
@@ -15677,6 +15677,27 @@ declare const _routes: hono_hono_base.HonoBase<Env, ({
status: 200;
};
};
} & {
"/withdraw": {
$post: {
input: {
json: {
amount: string;
address: string;
TOTPCode?: string | undefined;
toRss3?: boolean | undefined;
};
};
output: {
code: 0;
data: {
transactionHash: string;
};
};
outputFormat: "json";
status: 200;
};
};
} & {
"/claim-check": {
$get: {