<!-- start pr-codex -->
## PR-Codex overview
This PR updates loading states in various components to use `isPending` instead of `isLoading`.
### Detailed summary
- Replaced `isLoading` with `isPending` in multiple components for loading state handling.
> The following files were skipped due to too many changes: `apps/dashboard/src/contract-ui/tabs/manage/components/InstalledModulesTable.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayCustomers.ts`, `apps/dashboard/src/components/pay/PayConfig.tsx`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/chain-header.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/add-partner-form.client.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PaymentHistory.tsx`, `apps/dashboard/src/contract-ui/tabs/split/components/distribute-button.tsx`, `apps/dashboard/src/components/onboarding/LinkWallet.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/TotalVolumePieChart.tsx`, `apps/dashboard/package.json`, `apps/dashboard/src/components/pay/PayAnalytics/hooks/usePayPurchases.ts`, `apps/dashboard/src/components/engine/configuration/local-config.tsx.tsx`, `apps/dashboard/src/components/settings/ApiKeys/Create/index.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/server/partners-table.tsx`, `apps/dashboard/src/contract-ui/components/solidity-inputs/string-input.tsx`, `apps/dashboard/src/components/settings/Account/Billing/index.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/update-partner-form.client.tsx`, `apps/dashboard/src/contract-ui/tabs/nfts/page.tsx`, `apps/dashboard/src/components/configure-networks/Form/IconUpload.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/create/hooks/use-create-ecosystem.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/create/components/client/create-ecosystem-form.client.tsx`, `apps/dashboard/src/components/engine/engine-instances-table.tsx`, `apps/dashboard/src/components/engine/contract-subscription/contract-subscriptions-table.tsx`, `apps/dashboard/src/components/pay/PayAnalytics/components/PayCustomersTable.tsx`, `apps/dashboard/src/pages/api/revalidate/publish.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-update-ecosystem.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-add-partner.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-delete-partner.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/hooks/use-update-partner.ts`, `apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/live-stats.tsx`, `apps/dashboard/src/contract-ui/tabs/shared-components/marketplace-table.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/query/useQueryWithNetwork.ts`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/pay/components/webhooks.client.tsx`, `apps/dashboard/src/components/contract-components/tables/deployed-contracts.tsx`, `apps/dashboard/src/contract-ui/tabs/proposals/components/proposal.tsx`, `apps/dashboard/src/components/app-layouts/app.tsx`, `apps/dashboard/src/app/(dashboard)/dashboard/connect/ecosystem/[slug]/(active)/components/client/integration-permissions-toggle.client.tsx`, `apps/dashboard/src/app/account/settings/AccountSettingsPageUI.tsx`, `apps/dashboard/src/components/cmd-k-search/index.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useLoggedInUser.ts`, `apps/dashboard/src/components/contract-components/hooks.ts`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useRegistry.ts`, `apps/dashboard/src/contract-ui/tabs/manage/components/ModuleForm.tsx`, `apps/dashboard/src/app/team/[team_slug]/(team)/~/settings/general/GeneralSettingsPage.tsx`, `apps/dashboard/src/components/storage/your-files.tsx`, `apps/dashboard/src/components/contract-functions/interactive-abi-function.tsx`, `apps/dashboard/src/components/ipfs-upload/dropzone.tsx`, `apps/dashboard/src/core-ui/nft-drawer/useNftDrawerTabs.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts`, `pnpm-lock.yaml`, `apps/dashboard/src/contract-ui/hooks/useRouteConfig.tsx`, `apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts`
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
153 lines
5.1 KiB
JSON
153 lines
5.1 KiB
JSON
{
|
|
"name": "thirdweb-dashboard",
|
|
"version": "3.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"dev": "next dev --turbo",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"format": "biome format ./src --write",
|
|
"lint": "biome check ./src && knip && eslint ./src",
|
|
"fix": "biome check ./src --fix && eslint ./src --fix",
|
|
"gen:theme-typings": "chakra-cli tokens src/theme/index.ts",
|
|
"postinstall": "pnpm run gen:theme-typings",
|
|
"postbuild": "next-sitemap",
|
|
"build:analyze": "ANALYZE=true pnpm run build",
|
|
"knip": "knip",
|
|
"playwright": "playwright test",
|
|
"update-checkly": "npx checkly deploy",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"@chakra-ui/react": "^2.8.2",
|
|
"@chakra-ui/styled-system": "^2.9.2",
|
|
"@chakra-ui/theme-tools": "^2.1.2",
|
|
"@coinbase/onchainkit": "^0.14.2",
|
|
"@emotion/react": "11.13.3",
|
|
"@emotion/styled": "11.13.0",
|
|
"@hookform/resolvers": "^3.9.0",
|
|
"@n8tb1t/use-scroll-position": "^2.0.3",
|
|
"@radix-ui/react-alert-dialog": "^1.1.1",
|
|
"@radix-ui/react-aspect-ratio": "^1.0.3",
|
|
"@radix-ui/react-avatar": "^1.1.0",
|
|
"@radix-ui/react-checkbox": "^1.1.1",
|
|
"@radix-ui/react-dialog": "1.1.1",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
|
"@radix-ui/react-hover-card": "^1.1.1",
|
|
"@radix-ui/react-label": "^2.1.0",
|
|
"@radix-ui/react-popover": "^1.1.1",
|
|
"@radix-ui/react-progress": "^1.1.0",
|
|
"@radix-ui/react-radio-group": "^1.2.0",
|
|
"@radix-ui/react-select": "^2.1.1",
|
|
"@radix-ui/react-separator": "^1.1.0",
|
|
"@radix-ui/react-slot": "^1.1.0",
|
|
"@radix-ui/react-switch": "^1.1.0",
|
|
"@radix-ui/react-tooltip": "1.1.2",
|
|
"@react-icons/all-files": "^4.1.0",
|
|
"@sentry/nextjs": "8.30.0",
|
|
"@shazow/whatsabi": "^0.14.1",
|
|
"@stripe/react-stripe-js": "^2.7.3",
|
|
"@stripe/stripe-js": "^3.5.0",
|
|
"@tanstack/react-query": "5.55.4",
|
|
"@tanstack/react-table": "^8.17.3",
|
|
"@thirdweb-dev/sdk": "workspace:*",
|
|
"@thirdweb-dev/service-utils": "workspace:*",
|
|
"@thirdweb-dev/storage": "workspace:*",
|
|
"@vercel/og": "^0.6.2",
|
|
"abitype": "1.0.5",
|
|
"chakra-react-select": "^4.7.6",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.1",
|
|
"color": "^4.2.3",
|
|
"compare-versions": "^6.1.0",
|
|
"date-fns": "^3.6.0",
|
|
"ethers": "5.7.2",
|
|
"flat": "^6.0.1",
|
|
"framer-motion": "11.5.4",
|
|
"fuse.js": "7.0.0",
|
|
"ioredis": "^5.4.1",
|
|
"ipaddr.js": "^2.2.0",
|
|
"lottie-react": "^2.4.0",
|
|
"lucide-react": "0.439.0",
|
|
"next": "14.2.11",
|
|
"next-plausible": "^3.12.0",
|
|
"next-seo": "^6.5.0",
|
|
"next-themes": "^0.3.0",
|
|
"nextjs-toploader": "^1.6.12",
|
|
"papaparse": "^5.4.1",
|
|
"pluralize": "^8.0.0",
|
|
"posthog-js": "1.161.3",
|
|
"posthog-js-opensource": "npm:[email protected]",
|
|
"prism-react-renderer": "^2.3.1",
|
|
"prismjs": "^1.29.0",
|
|
"qrcode": "^1.5.3",
|
|
"react": "18.3.1",
|
|
"react-children-utilities": "^2.10.0",
|
|
"react-day-picker": "^8.10.1",
|
|
"react-dom": "18.3.1",
|
|
"react-dropzone": "^14.2.3",
|
|
"react-hook-form": "7.52.0",
|
|
"react-icons": "^5.2.1",
|
|
"react-intersection-observer": "^9.10.3",
|
|
"react-markdown": "^9.0.1",
|
|
"react-otp-input": "^3.1.1",
|
|
"react-responsive-carousel": "^3.2.23",
|
|
"react-table": "^7.8.0",
|
|
"recharts": "^2.12.7",
|
|
"remark-gfm": "^4.0.0",
|
|
"server-only": "^0.0.1",
|
|
"sonner": "^1.5.0",
|
|
"spdx-correct": "^3.2.0",
|
|
"swagger-ui-react": "^5.17.14",
|
|
"tailwind-merge": "^2.5.2",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"thirdweb": "workspace:*",
|
|
"tiny-invariant": "^1.3.3",
|
|
"use-debounce": "^10.0.1",
|
|
"zod": "3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@chakra-ui/cli": "^2.4.1",
|
|
"@chromatic-com/storybook": "^1.5.0",
|
|
"@next/bundle-analyzer": "14.2.9",
|
|
"@next/eslint-plugin-next": "^14.2.9",
|
|
"@playwright/test": "1.47.0",
|
|
"@storybook/addon-essentials": "^8.2.9",
|
|
"@storybook/addon-interactions": "^8.2.9",
|
|
"@storybook/addon-links": "^8.2.9",
|
|
"@storybook/addon-onboarding": "^8.2.9",
|
|
"@storybook/addon-viewport": "^8.2.9",
|
|
"@storybook/blocks": "^8.2.9",
|
|
"@storybook/nextjs": "^8.2.9",
|
|
"@storybook/react": "^8.2.9",
|
|
"@storybook/test": "^8.2.9",
|
|
"@types/color": "^3.0.6",
|
|
"@types/node": "20.14.9",
|
|
"@types/papaparse": "^5.3.14",
|
|
"@types/pluralize": "^0.0.33",
|
|
"@types/qrcode": "^1.5.5",
|
|
"@types/react": "^18.3.5",
|
|
"@types/react-dom": "^18",
|
|
"@types/react-table": "^7.7.20",
|
|
"@types/spdx-correct": "^3.1.3",
|
|
"@types/swagger-ui-react": "^4.18.3",
|
|
"@typescript-eslint/eslint-plugin": "7.14.1",
|
|
"@typescript-eslint/parser": "7.14.1",
|
|
"autoprefixer": "^10.4.19",
|
|
"checkly": "^4.8.1",
|
|
"eslint": "8.57.0",
|
|
"eslint-config-biome": "1.8.3",
|
|
"eslint-plugin-import": "^2.30.0",
|
|
"eslint-plugin-promise": "^6.2.0",
|
|
"eslint-plugin-react-compiler": "0.0.0-experimental-9ed098e-20240725",
|
|
"eslint-plugin-storybook": "^0.8.0",
|
|
"next-sitemap": "^4.2.3",
|
|
"postcss": "^8",
|
|
"storybook": "^8.2.9",
|
|
"tailwindcss": "^3.4.10",
|
|
"typescript": "5.6.2"
|
|
}
|
|
}
|