Skip to content

Commit 08fe6e9

Browse files
Merge branch 'main' into TOOL-3276
2 parents 8a0da5e + daceeed commit 08fe6e9

File tree

27 files changed

+584
-1223
lines changed

27 files changed

+584
-1223
lines changed

.changeset/fair-trains-reply.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/lucky-seahorses-wink.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tall-masks-shop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@thirdweb-dev/service-utils": patch
3+
---
4+
5+
[service-utils] switch to lz4js for compression lib

.changeset/young-cherries-beg.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -548,41 +548,6 @@ export function useResendEmailConfirmation() {
548548
});
549549
}
550550

551-
export function useApiKeys(props: {
552-
isLoggedIn: boolean;
553-
}) {
554-
const address = useActiveAccount()?.address;
555-
return useQuery({
556-
queryKey: apiKeys.keys(address || ""),
557-
queryFn: async () => {
558-
type Result = {
559-
data: ApiKey[];
560-
error?: { message: string };
561-
};
562-
563-
const res = await apiServerProxy<Result>({
564-
pathname: "/v1/keys",
565-
method: "GET",
566-
headers: {
567-
"Content-Type": "application/json",
568-
},
569-
});
570-
571-
if (!res.ok) {
572-
throw new Error(res.error);
573-
}
574-
575-
const json = res.data;
576-
577-
if (json.error) {
578-
throw new Error(json.error.message);
579-
}
580-
return json.data;
581-
},
582-
enabled: !!address && props.isLoggedIn,
583-
});
584-
}
585-
586551
export function useCreateApiKey() {
587552
const address = useActiveAccount()?.address;
588553
const queryClient = useQueryClient();

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/_utils/getContractPageSidebarLinks.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ export function getContractPageSidebarLinks(data: {
3939
href: `${layoutPrefix}/events`,
4040
exactMatch: true,
4141
},
42-
{
43-
label: "Embed",
44-
href: `${layoutPrefix}/embed`,
45-
hide: data.metadata.embedType === null,
46-
exactMatch: true,
47-
},
4842
{
4943
label: "Analytics",
5044
href: `${layoutPrefix}/analytics`,

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/embed/EmbedSetup.client.tsx

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)