Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 30 additions & 23 deletions apps/playground-web/src/app/navLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,28 +60,6 @@ export const staticSidebarLinks: SidebarLink[] = [
},
],
},
{
name: "Universal Bridge",
expanded: false,
links: [
{
name: "UI Component",
href: "/connect/pay",
},
{
name: "Fund Wallet",
href: "/connect/pay/fund-wallet",
},
{
name: "Commerce",
href: "/connect/pay/commerce",
},
{
name: "Transactions",
href: "/connect/pay/transactions",
},
],
},
{
name: "Auth",
href: "/connect/auth",
Expand Down Expand Up @@ -124,6 +102,34 @@ export const staticSidebarLinks: SidebarLink[] = [
},
];

const universalBridgeSidebarLinks: SidebarLink = {
name: "Universal Bridge",
isCollapsible: false,
expanded: false,
links: [
{
name: "UI Component",
href: "/connect/pay",
},
{
name: "Fund Wallet",
href: "/connect/pay/fund-wallet",
},
{
name: "Commerce",
href: "/connect/pay/commerce",
},
{
name: "Transactions",
href: "/connect/pay/transactions",
},
{
name: "Backend API",
href: "https://bridge.thirdweb.com/reference",
},
],
};

const engineSidebarLinks: SidebarLink = {
name: "Engine",
isCollapsible: false,
Expand Down Expand Up @@ -167,13 +173,14 @@ export async function getSidebarLinks() {

const sidebarLinks: SidebarLink[] = [
...staticSidebarLinks,
universalBridgeSidebarLinks,
engineSidebarLinks,
{
name: "Insight",
isCollapsible: false,
expanded: false,
links: insightLinks,
},
engineSidebarLinks,
];

return sidebarLinks;
Expand Down
4 changes: 0 additions & 4 deletions packages/service-utils/src/core/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ export type ProjectService =
name: "nebula";
actions: never[];
}
| {
name: "engineCloud";
actions: never[];
}
| ProjectBundlerService
| ProjectEmbeddedWalletsService;

Expand Down
8 changes: 0 additions & 8 deletions packages/service-utils/src/core/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,6 @@ export const SERVICE_DEFINITIONS = {
// all actions allowed
actions: [],
},
engineCloud: {
name: "engineCloud",
title: "Server wallets",
description:
"Server wallets with high transaction throughput and low latency",
// all actions allowed
actions: [],
},
} as const;

export const SERVICE_NAMES = Object.keys(
Expand Down
Loading