Skip to content

Commit 8f48240

Browse files
committed
fix export for new vault SDK methods
1 parent 0daf25c commit 8f48240

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

apps/dashboard/src/app/team/[team_slug]/[project_slug]/transactions/server-wallets/components/list-access-tokens.client.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ import {
1111
} from "@/components/ui/dialog";
1212
import { Input } from "@/components/ui/input";
1313
import { useMutation, useQuery } from "@tanstack/react-query";
14-
import { createAccessToken, revokeAccessToken } from "@thirdweb-dev/vault-sdk";
14+
import {
15+
createAccessToken,
16+
revokeAccessToken,
17+
listAccessTokens,
18+
} from "@thirdweb-dev/vault-sdk";
1519
import { createVaultClient } from "@thirdweb-dev/vault-sdk";
1620
import { Loader2, Trash2 } from "lucide-react";
1721
import { useState } from "react";
1822
import { toast } from "sonner";
1923
import { THIRDWEB_VAULT_URL } from "../../../../../../../@/constants/env";
20-
import { listAccessTokens } from "@thirdweb-dev/vault-sdk/dist/types/sdk";
2124

2225
export default function ListAccessTokensButton(props: {
2326
projectId: string;

packages/vault-sdk/src/exports/thirdweb.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ export {
1212
signMessage,
1313
signTransaction,
1414
signTypedData,
15+
listAccessTokens,
16+
createSignedAccessToken,
17+
signAuthorization,
18+
signStructuredMessage,
1519
} from "../sdk.js";
1620

1721
export {

0 commit comments

Comments
 (0)