⬆️ Upgrade dependencies

This commit is contained in:
Baptiste Arnaud
2022-11-21 19:08:14 +01:00
parent b29f7325ad
commit 34cfd1db30
35 changed files with 674 additions and 739 deletions

View File

@@ -11,26 +11,26 @@
"test:report": "pnpm playwright show-report"
},
"dependencies": {
"@sentry/nextjs": "7.19.0",
"aws-sdk": "2.1254.0",
"@sentry/nextjs": "7.20.1",
"aws-sdk": "2.1258.0",
"bot-engine": "*",
"cors": "2.8.5",
"cuid": "2.1.8",
"db": "workspace:*",
"google-spreadsheet": "3.3.0",
"got": "12.5.2",
"next": "13.0.3",
"got": "12.5.3",
"next": "13.0.4",
"nodemailer": "6.8.0",
"qs": "6.11.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"sanitize-html": "2.7.3",
"stripe": "10.17.0"
"stripe": "11.1.0"
},
"devDependencies": {
"@babel/preset-env": "7.20.2",
"@faire/mjml-react": "2.1.4",
"@playwright/test": "1.27.1",
"@faire/mjml-react": "3.0.0",
"@playwright/test": "1.28.0",
"@types/cors": "2.8.12",
"@types/google-spreadsheet": "3.3.0",
"@types/node": "18.11.9",
@@ -49,7 +49,7 @@
"node-fetch": "^3.3.0",
"papaparse": "5.3.2",
"tsconfig": "workspace:*",
"typescript": "4.8.4",
"typescript": "4.9.3",
"utils": "workspace:*"
}
}

View File

@@ -51,7 +51,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
isPreview && stripeKeys?.test?.secretKey
? stripeKeys.test.secretKey
: stripeKeys.live.secretKey,
{ apiVersion: '2022-08-01' }
{ apiVersion: '2022-11-15' }
)
const amount =
Number(parseVariables(variables)(inputOptions.amount)) *

View File

@@ -13,7 +13,8 @@ import { saveErrorLog, saveSuccessLog } from '@/features/logs/api'
import Cors from 'cors'
import { withSentry } from '@sentry/nextjs'
import Mail from 'nodemailer/lib/mailer'
import { DefaultBotNotificationEmail, render } from 'emails'
import { DefaultBotNotificationEmail } from 'emails'
import { render } from '@faire/mjml-react/dist/src/utils/render'
import prisma from '@/lib/prisma'
import { getLinkedTypebots } from '@/features/typebotLink/api'