Update dependencies and import dynamic method

This commit updates multiple dependencies in the pnpm-lock.yaml file and imports the dynamic method from 'next/dynamic' in the site-header-account-section.tsx file. These updates are part of routine maintenance and improvement of the codebase. The import allows for dynamic imports, which can enhance performance.
This commit is contained in:
giancarlo
2024-04-16 20:56:18 +08:00
parent f2be1b80f4
commit cad729670f
26 changed files with 918 additions and 1788 deletions

View File

@@ -28,7 +28,7 @@
"@kit/tailwind-config": "workspace:*",
"@kit/tsconfig": "workspace:*",
"@kit/ui": "workspace:*",
"lucide-react": "^0.367.0",
"lucide-react": "^0.368.0",
"zod": "^3.22.4"
},
"eslintConfig": {

View File

@@ -45,7 +45,7 @@
"@supabase/supabase-js": "^2.42.4",
"@types/react": "^18.2.79",
"date-fns": "^3.6.0",
"lucide-react": "^0.367.0",
"lucide-react": "^0.368.0",
"next": "14.2.1",
"react": "18.2.0",
"react-hook-form": "^7.51.3",

View File

@@ -26,7 +26,7 @@
"dependencies": {
"@stripe/react-stripe-js": "^2.7.0",
"@stripe/stripe-js": "^3.3.0",
"stripe": "^14.25.0"
"stripe": "^15.1.0"
},
"devDependencies": {
"@kit/billing": "workspace:^",

View File

@@ -2,7 +2,7 @@ import 'server-only';
import { StripeServerEnvSchema } from '../schema/stripe-server-env.schema';
const STRIPE_API_VERSION = '2023-10-16';
const STRIPE_API_VERSION = '2024-04-10';
/**
* @description returns a Stripe instance