update env variables
parent
719fe7501d
commit
2db9a08a0e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -2,8 +2,8 @@
|
|||
import React, { useRef, useState } from "react"
|
||||
import ReCAPTCHA from "react-google-recaptcha";
|
||||
import { toast } from "react-hot-toast";
|
||||
const { NEXT_PUBLIC_RECAPTCHA_SITE_KEY } = process.env;
|
||||
console.log(NEXT_PUBLIC_RECAPTCHA_SITE_KEY)
|
||||
const { RECAPTCHA_SITE_KEY } = process.env;
|
||||
console.log( RECAPTCHA_SITE_KEY)
|
||||
|
||||
export default function ContactUsContent() {
|
||||
const recaptchaRef = useRef(null);
|
||||
|
@ -99,7 +99,7 @@ export default function ContactUsContent() {
|
|||
</div>
|
||||
</div>
|
||||
<div className="mt-6">
|
||||
<ReCAPTCHA ref={recaptchaRef} size="invisible" sitekey={NEXT_PUBLIC_RECAPTCHA_SITE_KEY} onChange={onReCAPTCHAChange} />
|
||||
<ReCAPTCHA ref={recaptchaRef} size="invisible" sitekey={RECAPTCHA_SITE_KEY} onChange={onReCAPTCHAChange} />
|
||||
</div>
|
||||
<div className="mt-6">
|
||||
<button
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import sendgrid from '@sendgrid/mail'
|
||||
import { NextRequest, NextResponse } from 'next/server'
|
||||
const { NEXT_PUBLIC_SENDGRID_API_KEY, NEXT_PUBLIC_RECAPTCHA_SECRET_KEY, AUTH0_CLIENT, AUTH0_SECRET } = process.env;
|
||||
const { SENDGRID_API_KEY, RECAPTCHA_SECRET_KEY } = process.env;
|
||||
|
||||
sendgrid.setApiKey(NEXT_PUBLIC_SENDGRID_API_KEY!)
|
||||
sendgrid.setApiKey(SENDGRID_API_KEY!)
|
||||
|
||||
export async function POST(req: NextRequest, res: NextResponse) {
|
||||
const body = await req.json()
|
||||
|
@ -17,7 +17,7 @@ export async function POST(req: NextRequest, res: NextResponse) {
|
|||
|
||||
try {
|
||||
const response = await fetch(
|
||||
`https://www.google.com/recaptcha/api/siteverify?secret=${NEXT_PUBLIC_RECAPTCHA_SECRET_KEY}&response=${captcha}`,
|
||||
`https://www.google.com/recaptcha/api/siteverify?secret=${RECAPTCHA_SECRET_KEY}&response=${captcha}`,
|
||||
{
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8',
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
"react-dom": "18.2.0",
|
||||
"react-google-recaptcha": "^3.1.0",
|
||||
"react-hot-toast": "^2.4.1",
|
||||
"sendgrid": "^5.2.3",
|
||||
"sharp": "^0.32.5",
|
||||
"supports-color": "^8.1.1",
|
||||
"typescript": "^5.0.4"
|
||||
|
@ -479,6 +480,11 @@
|
|||
"@types/react": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/addressparser": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/addressparser/-/addressparser-1.0.1.tgz",
|
||||
"integrity": "sha512-aQX7AISOMM7HFE0iZ3+YnD07oIeJqWGVnJ+ZIKaBZAk03ftmVYVqsGas/rbXKR21n4D/hKCSHypvcyOkds/xzg=="
|
||||
},
|
||||
"node_modules/ansi-regex": {
|
||||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
|
||||
|
@ -538,6 +544,79 @@
|
|||
"integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/async.ensureasync": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/async.ensureasync/-/async.ensureasync-0.5.2.tgz",
|
||||
"integrity": "sha512-eez/kJFHbnnHUBWpYlmWcjZpho/Oh7SHwnnnuscM8nOZcIJ41t+ACMSYTfNtdrES+XfbGVQtyw+6YK2evQgV5w==",
|
||||
"dependencies": {
|
||||
"async.util.ensureasync": "0.5.2"
|
||||
}
|
||||
},
|
||||
"node_modules/async.queue": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/async.queue/-/async.queue-0.5.2.tgz",
|
||||
"integrity": "sha512-SX5gCWh47bIRLqHAt/zfJmRl2xpCF4OM4kkT3HehVJLmgQfLzYjL6QhLHe+SS4e7FOYU6NgMy2kXPB2wVchncg==",
|
||||
"dependencies": {
|
||||
"async.util.queue": "0.5.2"
|
||||
}
|
||||
},
|
||||
"node_modules/async.util.arrayeach": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/async.util.arrayeach/-/async.util.arrayeach-0.5.2.tgz",
|
||||
"integrity": "sha512-PIb4rVYjwzLqb93XX2wj0+mA9YTgSWtxQRKxtuLqxXvGj1xZMB6qJUfr1NhS+FSaMPJIE1tF40Gl/o/vlfIz/A=="
|
||||
},
|
||||
"node_modules/async.util.ensureasync": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/async.util.ensureasync/-/async.util.ensureasync-0.5.2.tgz",
|
||||
"integrity": "sha512-sQufNz4JYLHO/7ZUklaTGJtiX36gCp28McNNcMZfVYPm/wqi1pKk4xRCPr2DOZDM6KfA54zjG36jQjBU2mLzXg==",
|
||||
"dependencies": {
|
||||
"async.util.restparam": "0.5.2",
|
||||
"async.util.setimmediate": "0.5.2"
|
||||
}
|
||||
},
|
||||
"node_modules/async.util.isarray": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/async.util.isarray/-/async.util.isarray-0.5.2.tgz",
|
||||
"integrity": "sha512-wbUzlrwON8RUgi+v/rhF0U99Ce8Osjcn+JP/mFNg6ymvShcobAOvE6cvLajSY5dPqKCOE1xfdhefgBif11zZgw=="
|
||||
},
|
||||
"node_modules/async.util.map": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/async.util.map/-/async.util.map-0.5.2.tgz",
|
||||
"integrity": "sha512-uXZhyNIH9Jo25jn35lUoEwFLAdZWC2ZQKjLO5PLq8VAisfW6qvSfgDLH4H57/WQSKZSo6OOmuqGhtdvIHDTi1Q=="
|
||||
},
|
||||
"node_modules/async.util.noop": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/async.util.noop/-/async.util.noop-0.5.2.tgz",
|
||||
"integrity": "sha512-AdwShXwE0KoskgqVJAck8zcM32nIHj3AC8ZN62ZaR5srhrY235Nw18vOJZWxcOfhxdVM0hRVKM8kMx7lcl7cCQ=="
|
||||
},
|
||||
"node_modules/async.util.onlyonce": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/async.util.onlyonce/-/async.util.onlyonce-0.5.2.tgz",
|
||||
"integrity": "sha512-UgQvkU9JZ+I0Cm1f56XyGXcII+J3d/5XWUuHpcevlItuA3WFSJcqZrsyAUck2FkRSD8BwYQX1zUTDp3SJMVESg=="
|
||||
},
|
||||
"node_modules/async.util.queue": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/async.util.queue/-/async.util.queue-0.5.2.tgz",
|
||||
"integrity": "sha512-DlKOFnhCzERL9D3bLKlNdgXwSckckcj+XkCvNuX4KMs4brBc2lHvPg8MK4NoPIhwAvUBGvE4NECdNRY0I5UOEQ==",
|
||||
"dependencies": {
|
||||
"async.util.arrayeach": "0.5.2",
|
||||
"async.util.isarray": "0.5.2",
|
||||
"async.util.map": "0.5.2",
|
||||
"async.util.noop": "0.5.2",
|
||||
"async.util.onlyonce": "0.5.2",
|
||||
"async.util.setimmediate": "0.5.2"
|
||||
}
|
||||
},
|
||||
"node_modules/async.util.restparam": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/async.util.restparam/-/async.util.restparam-0.5.2.tgz",
|
||||
"integrity": "sha512-Q9Z+zgmtMxFX5i7CnBvNOkgrL5hptztCqwarQluyNudUUk4iCmyjmsQl8MuQEjNh3gGqP5ayvDaextL1VXXgIg=="
|
||||
},
|
||||
"node_modules/async.util.setimmediate": {
|
||||
"version": "0.5.2",
|
||||
"resolved": "https://registry.npmjs.org/async.util.setimmediate/-/async.util.setimmediate-0.5.2.tgz",
|
||||
"integrity": "sha512-aCYF85ZFCQ9Xn0106GcOVx+LvFguIIzfbfRTOlQoie3G4KeSjURfA6f7CfpFAF09FNP2A1MtdjeFdvYeTGDebw=="
|
||||
},
|
||||
"node_modules/asynckit": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
||||
|
@ -683,6 +762,11 @@
|
|||
"readable-stream": "^3.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/bottleneck": {
|
||||
"version": "1.16.0",
|
||||
"resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-1.16.0.tgz",
|
||||
"integrity": "sha512-HinT6aCt+ZLPVvMtOy8Vd1vQtR2R/Qi06fKRCa4oGiIuFF+CQwNYR/KZTjrEynkER7y9WaY8fhwWKqZp+/aXeg=="
|
||||
},
|
||||
"node_modules/brace-expansion": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
||||
|
@ -894,6 +978,16 @@
|
|||
"node": ">= 6"
|
||||
}
|
||||
},
|
||||
"node_modules/core-js": {
|
||||
"version": "3.38.0",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.0.tgz",
|
||||
"integrity": "sha512-XPpwqEodRljce9KswjZShh95qJ1URisBeKCjUdq27YdenkslVe7OO0ZJhlYXAChW7OhXaRLl8AAba7IBfoIHug==",
|
||||
"hasInstallScript": true,
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/core-js"
|
||||
}
|
||||
},
|
||||
"node_modules/cross-spawn": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
|
||||
|
@ -940,6 +1034,14 @@
|
|||
"url": "https://opencollective.com/date-fns"
|
||||
}
|
||||
},
|
||||
"node_modules/debug": {
|
||||
"version": "2.6.9",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
|
||||
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
|
||||
"dependencies": {
|
||||
"ms": "2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/decompress-response": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
|
||||
|
@ -998,6 +1100,14 @@
|
|||
"integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/dotenv": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-4.0.0.tgz",
|
||||
"integrity": "sha512-XcaMACOr3JMVcEv0Y/iUM2XaOsATRZ3U1In41/1jjK6vJZ2PZbQ1bzCG8uvaByfaBpl9gqc9QWJovpUGBXLLYQ==",
|
||||
"engines": {
|
||||
"node": ">=4.6.0"
|
||||
}
|
||||
},
|
||||
"node_modules/eastasianwidth": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
|
||||
|
@ -1016,6 +1126,14 @@
|
|||
"integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/encoding": {
|
||||
"version": "0.1.13",
|
||||
"resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz",
|
||||
"integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==",
|
||||
"dependencies": {
|
||||
"iconv-lite": "^0.6.2"
|
||||
}
|
||||
},
|
||||
"node_modules/end-of-stream": {
|
||||
"version": "1.4.4",
|
||||
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
|
||||
|
@ -1033,6 +1151,14 @@
|
|||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/escape-string-regexp": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
||||
"integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
|
||||
"engines": {
|
||||
"node": ">=0.8.0"
|
||||
}
|
||||
},
|
||||
"node_modules/expand-template": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
|
||||
|
@ -1041,6 +1167,11 @@
|
|||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/extend": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
|
||||
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
|
||||
},
|
||||
"node_modules/fast-fifo": {
|
||||
"version": "1.3.2",
|
||||
"resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz",
|
||||
|
@ -1238,6 +1369,17 @@
|
|||
"react-is": "^16.7.0"
|
||||
}
|
||||
},
|
||||
"node_modules/iconv-lite": {
|
||||
"version": "0.6.3",
|
||||
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
|
||||
"integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
|
||||
"dependencies": {
|
||||
"safer-buffer": ">= 2.1.2 < 3.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/ieee754": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
|
||||
|
@ -1394,6 +1536,11 @@
|
|||
"integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/lodash.chunk": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/lodash.chunk/-/lodash.chunk-4.2.0.tgz",
|
||||
"integrity": "sha512-ZzydJKfUHJwHa+hF5X66zLFCBrWn5GeF28OHEr4WVWtNDXlQ/IjWKPBiikqKo2ne0+v6JgCgJ0GzJp8k8bHC7w=="
|
||||
},
|
||||
"node_modules/lodash.debounce": {
|
||||
"version": "4.0.8",
|
||||
"resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
|
||||
|
@ -1436,6 +1583,18 @@
|
|||
"node": "14 || >=16.14"
|
||||
}
|
||||
},
|
||||
"node_modules/mailparser": {
|
||||
"version": "0.6.2",
|
||||
"resolved": "https://registry.npmjs.org/mailparser/-/mailparser-0.6.2.tgz",
|
||||
"integrity": "sha512-5Z5nv7TYojrdrKHjhCOKKFaYs0Lo7PCja4RnLZ2kFE1Fskqg+rRVwFpG9Oqx3YjosGM2QEItjHo7+Jc9qvxGqw==",
|
||||
"deprecated": "Mailparser versions older than v2.3.0 are deprecated",
|
||||
"dependencies": {
|
||||
"encoding": "^0.1.12",
|
||||
"mime": "^1.3.4",
|
||||
"mimelib": "^0.3.0",
|
||||
"uue": "^3.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/merge2": {
|
||||
"version": "1.4.1",
|
||||
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
||||
|
@ -1458,6 +1617,17 @@
|
|||
"node": ">=8.6"
|
||||
}
|
||||
},
|
||||
"node_modules/mime": {
|
||||
"version": "1.6.0",
|
||||
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
|
||||
"integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
|
||||
"bin": {
|
||||
"mime": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
}
|
||||
},
|
||||
"node_modules/mime-db": {
|
||||
"version": "1.52.0",
|
||||
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
|
||||
|
@ -1477,6 +1647,16 @@
|
|||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/mimelib": {
|
||||
"version": "0.3.1",
|
||||
"resolved": "https://registry.npmjs.org/mimelib/-/mimelib-0.3.1.tgz",
|
||||
"integrity": "sha512-ipzNp6TBsNfD3hButGlPVlGmuCgybIM9SBf8YwIG+SYmBgtU0u8wjf+BSrJX0mvqtv59SLmwphw/XiCbkLWv7w==",
|
||||
"deprecated": "This project is unmaintained",
|
||||
"dependencies": {
|
||||
"addressparser": "~1.0.1",
|
||||
"encoding": "~0.1.12"
|
||||
}
|
||||
},
|
||||
"node_modules/mimic-response": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
|
||||
|
@ -1534,6 +1714,11 @@
|
|||
"resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
|
||||
"integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
|
||||
},
|
||||
"node_modules/ms": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
|
||||
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
|
||||
},
|
||||
"node_modules/mz": {
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
|
||||
|
@ -2225,6 +2410,11 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"node_modules/safer-buffer": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
|
||||
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
|
||||
},
|
||||
"node_modules/scheduler": {
|
||||
"version": "0.23.2",
|
||||
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
|
||||
|
@ -2244,6 +2434,36 @@
|
|||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/sendgrid": {
|
||||
"version": "5.2.3",
|
||||
"resolved": "https://registry.npmjs.org/sendgrid/-/sendgrid-5.2.3.tgz",
|
||||
"integrity": "sha512-FD7oR9TbJFUew1p0Vw9JX0wBetDyq634LzylSXz4n9+hwaf+6a9dNloZl8CcjpsX4NuEc3HJanTN4GjDwNyi4A==",
|
||||
"deprecated": "Please see v6.X+ at https://www.npmjs.com/org/sendgrid",
|
||||
"dependencies": {
|
||||
"async.ensureasync": "^0.5.2",
|
||||
"async.queue": "^0.5.2",
|
||||
"bottleneck": "^1.12.0",
|
||||
"debug": "^2.2.0",
|
||||
"lodash.chunk": "^4.2.0",
|
||||
"mailparser": "^0.6.1",
|
||||
"sendgrid-rest": "^2.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 4.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/sendgrid-rest": {
|
||||
"version": "2.6.1",
|
||||
"resolved": "https://registry.npmjs.org/sendgrid-rest/-/sendgrid-rest-2.6.1.tgz",
|
||||
"integrity": "sha512-W7gPROAPkEiD3+XQh+jeiU5mTNWqfgn45y1Xi8WiFA3CYKGOvHn+U0d62pTWjjynNqsmQIq9AJ0+93Bq67gbSQ==",
|
||||
"dependencies": {
|
||||
"core-js": "^3.5.0",
|
||||
"dotenv": "^4.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.10"
|
||||
}
|
||||
},
|
||||
"node_modules/sharp": {
|
||||
"version": "0.32.6",
|
||||
"resolved": "https://registry.npmjs.org/sharp/-/sharp-0.32.6.tgz",
|
||||
|
@ -2752,6 +2972,15 @@
|
|||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
||||
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
||||
},
|
||||
"node_modules/uue": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/uue/-/uue-3.1.2.tgz",
|
||||
"integrity": "sha512-axKLXVqwtdI/czrjG0X8hyV1KLgeWx8F4KvSbvVCnS+RUvsQMGRjx0kfuZDXXqj0LYvVJmx3B9kWlKtEdRrJLg==",
|
||||
"dependencies": {
|
||||
"escape-string-regexp": "~1.0.5",
|
||||
"extend": "~3.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/which": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
"react-dom": "18.2.0",
|
||||
"react-google-recaptcha": "^3.1.0",
|
||||
"react-hot-toast": "^2.4.1",
|
||||
"sendgrid": "^5.2.3",
|
||||
"sharp": "^0.32.5",
|
||||
"supports-color": "^8.1.1",
|
||||
"typescript": "^5.0.4"
|
||||
|
|
225
yarn.lock
225
yarn.lock
|
@ -380,6 +380,7 @@ __metadata:
|
|||
react-dom: 18.2.0
|
||||
react-google-recaptcha: ^3.1.0
|
||||
react-hot-toast: ^2.4.1
|
||||
sendgrid: ^5.2.3
|
||||
sharp: ^0.32.5
|
||||
supports-color: ^8.1.1
|
||||
tailwindcss: ^3.3.2
|
||||
|
@ -394,6 +395,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"addressparser@npm:~1.0.1":
|
||||
version: 1.0.1
|
||||
resolution: "addressparser@npm:1.0.1"
|
||||
checksum: 389051bc6a3a44082a6e7d6256c15e2aba55ae4799f1eed620e34f1c77ddf4dfe9baacc41c6ad25eb5f795195ff8a506dc07ef9e4bc033ee1ab3882edfed396d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"agent-base@npm:^7.0.2, agent-base@npm:^7.1.0, agent-base@npm:^7.1.1":
|
||||
version: 7.1.1
|
||||
resolution: "agent-base@npm:7.1.1"
|
||||
|
@ -478,6 +486,97 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async.ensureasync@npm:^0.5.2":
|
||||
version: 0.5.2
|
||||
resolution: "async.ensureasync@npm:0.5.2"
|
||||
dependencies:
|
||||
async.util.ensureasync: 0.5.2
|
||||
checksum: d80a54984eaded097fc488bc968b17e7381841c93fef554ffac1679235f4c91c812d18eb4f47740a37788f6c8ba4a6bcf4d257a02bd6d10d76c8debfb63f3e07
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async.queue@npm:^0.5.2":
|
||||
version: 0.5.2
|
||||
resolution: "async.queue@npm:0.5.2"
|
||||
dependencies:
|
||||
async.util.queue: 0.5.2
|
||||
checksum: e922a21aee5860bc0ba1109cac8999d6b274100de0d1aef2a94f2841c700d61347e54b1ab0119f677a0bc9df00f9aaef469f4a6acdfc8a14a775a1dcd5c93349
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async.util.arrayeach@npm:0.5.2":
|
||||
version: 0.5.2
|
||||
resolution: "async.util.arrayeach@npm:0.5.2"
|
||||
checksum: 9ebdc500a971404735694776879cd7a33f1b91cafb4081e77cc459357532ebd3668c80d8be99c0e98fb71f6c8fab4640467db0e52c65cd8fbc44bfed89cdb4c4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async.util.ensureasync@npm:0.5.2":
|
||||
version: 0.5.2
|
||||
resolution: "async.util.ensureasync@npm:0.5.2"
|
||||
dependencies:
|
||||
async.util.restparam: 0.5.2
|
||||
async.util.setimmediate: 0.5.2
|
||||
checksum: 059cd7aecf99ff7f5f85be6ef8e44e76580fbe878d5e7fa703cccf6865dd8f72eeee4144739efd3867e48b6d9a96e404184eadccdacc421335cf220596993c9d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async.util.isarray@npm:0.5.2":
|
||||
version: 0.5.2
|
||||
resolution: "async.util.isarray@npm:0.5.2"
|
||||
checksum: 9f31c2ef342267ab9f4019d043f9ff8727658a99d40c729da97cb341761db078c54a08283c79c0430cea3930ca435f1a08cc13d3e01ec93cbe5bdb81ccad8f51
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async.util.map@npm:0.5.2":
|
||||
version: 0.5.2
|
||||
resolution: "async.util.map@npm:0.5.2"
|
||||
checksum: 33a1d4251b0c8f8cf44909a5ee0f8190f2207cada352a78b27cb886f520799c56497c1576107b16e5de4fbc3b259713800f687b5abd4322223a9ccc6d8773759
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async.util.noop@npm:0.5.2":
|
||||
version: 0.5.2
|
||||
resolution: "async.util.noop@npm:0.5.2"
|
||||
checksum: 56d83f77ccc0507ab524f9754771831b6903f914a9abbd994de55767ae0ca54f2b0daba1d8977d6c9edb72f0873b92c9281477d6c73a821f0567143781622d27
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async.util.onlyonce@npm:0.5.2":
|
||||
version: 0.5.2
|
||||
resolution: "async.util.onlyonce@npm:0.5.2"
|
||||
checksum: 45df5c2ef5fcf01a1079adcd89fb03aef7339738c949bb4f34886e2a7dadfd46a240aaaf4cade7764d8f9be60aef0527959d53766fc067dded18c6bbf1769a2c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async.util.queue@npm:0.5.2":
|
||||
version: 0.5.2
|
||||
resolution: "async.util.queue@npm:0.5.2"
|
||||
dependencies:
|
||||
async.util.arrayeach: 0.5.2
|
||||
async.util.isarray: 0.5.2
|
||||
async.util.map: 0.5.2
|
||||
async.util.noop: 0.5.2
|
||||
async.util.onlyonce: 0.5.2
|
||||
async.util.setimmediate: 0.5.2
|
||||
checksum: 193ad898b4217312a47fa09f8fa24bdd5a88e54d468a60d7178ec9f35b937a0a65d7c6f9aa411057d7443db3b63b3a79b1eca1468e3e810195030e129616cf35
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async.util.restparam@npm:0.5.2":
|
||||
version: 0.5.2
|
||||
resolution: "async.util.restparam@npm:0.5.2"
|
||||
checksum: 6c6912abb2e2370cbfcb3b65c0f8050c4cafec3f74cc280e68e15c869ba90301d930e00725f3f788be65e051d085d718c49e7161dd8bb93f88c0b82126da4a99
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async.util.setimmediate@npm:0.5.2":
|
||||
version: 0.5.2
|
||||
resolution: "async.util.setimmediate@npm:0.5.2"
|
||||
checksum: 4b536f18a4f9c5796c78ab41ba3aa0640d263cd37b393b5ae5d8565f5116e4df1f867211726650daab391ad8f32ca7af06f00b622bcb22e924fbbb7eee57d488
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"asynckit@npm:^0.4.0":
|
||||
version: 0.4.0
|
||||
resolution: "asynckit@npm:0.4.0"
|
||||
|
@ -596,6 +695,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"bottleneck@npm:^1.12.0":
|
||||
version: 1.16.0
|
||||
resolution: "bottleneck@npm:1.16.0"
|
||||
checksum: 2dd5f7b6c27dfd88aef38015a34c694ff0610364c8d5fa6ee51e7eecde2bfdf8737e432200915e347ce5e501fdb59cfc4d9b81ae99c84b9522f9c7fd5034d298
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"brace-expansion@npm:^2.0.1":
|
||||
version: 2.0.1
|
||||
resolution: "brace-expansion@npm:2.0.1"
|
||||
|
@ -787,6 +893,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"core-js@npm:^3.5.0":
|
||||
version: 3.38.0
|
||||
resolution: "core-js@npm:3.38.0"
|
||||
checksum: 71ef0598da69daee2b46fa1f82f074019981656f7cae26fed2b7f076c611e330a99ba5c70156ae37682f59a8d6ec6486119c70cb283c9fff25bd4f20db7fdc27
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cross-spawn@npm:^7.0.0":
|
||||
version: 7.0.3
|
||||
resolution: "cross-spawn@npm:7.0.3"
|
||||
|
@ -835,6 +948,15 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"debug@npm:^2.2.0":
|
||||
version: 2.6.9
|
||||
resolution: "debug@npm:2.6.9"
|
||||
dependencies:
|
||||
ms: 2.0.0
|
||||
checksum: d2f51589ca66df60bf36e1fa6e4386b318c3f1e06772280eea5b1ae9fd3d05e9c2b7fd8a7d862457d00853c75b00451aa2d7459b924629ee385287a650f58fe6
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"decompress-response@npm:^6.0.0":
|
||||
version: 6.0.0
|
||||
resolution: "decompress-response@npm:6.0.0"
|
||||
|
@ -886,6 +1008,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"dotenv@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "dotenv@npm:4.0.0"
|
||||
checksum: 558b099798d73504eb354f9d71435d102744cf5e04d400dee5afc62179997abaeb3e30198cffa3a9c5c757bb3d863d6fd0ae9924c5f55c8b99326e1a7874796b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eastasianwidth@npm:^0.2.0":
|
||||
version: 0.2.0
|
||||
resolution: "eastasianwidth@npm:0.2.0"
|
||||
|
@ -914,7 +1043,7 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"encoding@npm:^0.1.13":
|
||||
"encoding@npm:^0.1.12, encoding@npm:^0.1.13, encoding@npm:~0.1.12":
|
||||
version: 0.1.13
|
||||
resolution: "encoding@npm:0.1.13"
|
||||
dependencies:
|
||||
|
@ -953,6 +1082,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"escape-string-regexp@npm:~1.0.5":
|
||||
version: 1.0.5
|
||||
resolution: "escape-string-regexp@npm:1.0.5"
|
||||
checksum: 6092fda75c63b110c706b6a9bfde8a612ad595b628f0bd2147eea1d3406723020810e591effc7db1da91d80a71a737a313567c5abb3813e8d9c71f4aa595b410
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"expand-template@npm:^2.0.3":
|
||||
version: 2.0.3
|
||||
resolution: "expand-template@npm:2.0.3"
|
||||
|
@ -967,6 +1103,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"extend@npm:~3.0.0":
|
||||
version: 3.0.2
|
||||
resolution: "extend@npm:3.0.2"
|
||||
checksum: a50a8309ca65ea5d426382ff09f33586527882cf532931cb08ca786ea3146c0553310bda688710ff61d7668eba9f96b923fe1420cdf56a2c3eaf30fcab87b515
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fast-fifo@npm:^1.1.0, fast-fifo@npm:^1.2.0":
|
||||
version: 1.3.2
|
||||
resolution: "fast-fifo@npm:1.3.2"
|
||||
|
@ -1425,6 +1568,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lodash.chunk@npm:^4.2.0":
|
||||
version: 4.2.0
|
||||
resolution: "lodash.chunk@npm:4.2.0"
|
||||
checksum: 6286c6d06814fbeda502164015c42ef53a9194e6ebaac52ec2b41e83344aefe7bc3d94fdfec525adcd2c66cefdf05dc333b6a1128e4de739797342315c17cbc7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lodash.debounce@npm:^4.0.8":
|
||||
version: 4.0.8
|
||||
resolution: "lodash.debounce@npm:4.0.8"
|
||||
|
@ -1478,6 +1628,18 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"mailparser@npm:^0.6.1":
|
||||
version: 0.6.2
|
||||
resolution: "mailparser@npm:0.6.2"
|
||||
dependencies:
|
||||
encoding: ^0.1.12
|
||||
mime: ^1.3.4
|
||||
mimelib: ^0.3.0
|
||||
uue: ^3.1.0
|
||||
checksum: 47f540b286ac03ad2d5f5fe83fe45d6fe1cf1b6dc4c409ef9a55a7aa889e42ae311b6eae605f1e1c390e3a4c26a0a15c8499c9eea17de3693e616ced2db058a3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"make-fetch-happen@npm:^13.0.0":
|
||||
version: 13.0.1
|
||||
resolution: "make-fetch-happen@npm:13.0.1"
|
||||
|
@ -1531,6 +1693,25 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"mime@npm:^1.3.4":
|
||||
version: 1.6.0
|
||||
resolution: "mime@npm:1.6.0"
|
||||
bin:
|
||||
mime: cli.js
|
||||
checksum: fef25e39263e6d207580bdc629f8872a3f9772c923c7f8c7e793175cee22777bbe8bba95e5d509a40aaa292d8974514ce634ae35769faa45f22d17edda5e8557
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"mimelib@npm:^0.3.0":
|
||||
version: 0.3.1
|
||||
resolution: "mimelib@npm:0.3.1"
|
||||
dependencies:
|
||||
addressparser: ~1.0.1
|
||||
encoding: ~0.1.12
|
||||
checksum: c1d36a8f981d9059cc05c10085ad41ce5415c0444329c5831d1e8d195cd6f4b93611931479848bbfdd866bc64fb60685a6aa7c67cd82ab891efb601f127eb184
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"mimic-response@npm:^3.1.0":
|
||||
version: 3.1.0
|
||||
resolution: "mimic-response@npm:3.1.0"
|
||||
|
@ -1679,6 +1860,13 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ms@npm:2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "ms@npm:2.0.0"
|
||||
checksum: 0e6a22b8b746d2e0b65a430519934fefd41b6db0682e3477c10f60c76e947c4c0ad06f63ffdf1d78d335f83edee8c0aa928aa66a36c7cd95b69b26f468d527f4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ms@npm:2.1.2":
|
||||
version: 2.1.2
|
||||
resolution: "ms@npm:2.1.2"
|
||||
|
@ -2327,6 +2515,31 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"sendgrid-rest@npm:^2.3.0":
|
||||
version: 2.6.1
|
||||
resolution: "sendgrid-rest@npm:2.6.1"
|
||||
dependencies:
|
||||
core-js: ^3.5.0
|
||||
dotenv: ^4.0.0
|
||||
checksum: 828e1899346a8f5dd86059082db7e8cb69542a455b421bf1acca095b08d6400427e998f55cc163251a1e9ccc2cd62cd86c7b70101390920cfc60b846527e8f16
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"sendgrid@npm:^5.2.3":
|
||||
version: 5.2.3
|
||||
resolution: "sendgrid@npm:5.2.3"
|
||||
dependencies:
|
||||
async.ensureasync: ^0.5.2
|
||||
async.queue: ^0.5.2
|
||||
bottleneck: ^1.12.0
|
||||
debug: ^2.2.0
|
||||
lodash.chunk: ^4.2.0
|
||||
mailparser: ^0.6.1
|
||||
sendgrid-rest: ^2.3.0
|
||||
checksum: e366ad213632701d9be5a63c98ae3c2c971c29ab9fd2052e782b947367f628c8478c48e5ac10e6e226c5de5b3146d2bb0217f704865f84c0093e0e9d31a1e4e3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"sharp@npm:^0.32.5":
|
||||
version: 0.32.6
|
||||
resolution: "sharp@npm:0.32.6"
|
||||
|
@ -2788,6 +3001,16 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"uue@npm:^3.1.0":
|
||||
version: 3.1.2
|
||||
resolution: "uue@npm:3.1.2"
|
||||
dependencies:
|
||||
escape-string-regexp: ~1.0.5
|
||||
extend: ~3.0.0
|
||||
checksum: 67fb6a4ebdf24212bd23f65bd4dc82df71111779e4505fcb1c893265f706eecd3613d11d3577c618000b851aa0448ecd18fbbe0328837de4990e2607ed7ef5d3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"which@npm:^2.0.1":
|
||||
version: 2.0.2
|
||||
resolution: "which@npm:2.0.2"
|
||||
|
|
Loading…
Reference in New Issue