@lowdefy/connection-sendgrid 4.5.1 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connections/SendGridMail/SendGridMail.js +1 -1
- package/dist/connections/SendGridMail/SendGridMailSend/SendGridMailSend.js +4 -2
- package/dist/connections/SendGridMail/SendGridMailSend/schema.js +1 -1
- package/dist/connections/SendGridMail/schema.js +1 -1
- package/dist/connections.js +1 -1
- package/dist/types.js +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
3
|
|
|
4
4
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
you may not use this file except in compliance with the License.
|
|
@@ -32,7 +32,9 @@ async function SendGridMailSend({ request, connection }) {
|
|
|
32
32
|
await sendgrid.send(messages);
|
|
33
33
|
} catch (error) {
|
|
34
34
|
if (error.response) {
|
|
35
|
-
throw new Error(
|
|
35
|
+
throw new Error('SendGrid request failed.', {
|
|
36
|
+
cause: error
|
|
37
|
+
});
|
|
36
38
|
}
|
|
37
39
|
throw error;
|
|
38
40
|
}
|
package/dist/connections.js
CHANGED
package/dist/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/connection-sendgrid",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"dist/*"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@lowdefy/helpers": "4.
|
|
38
|
+
"@lowdefy/helpers": "4.6.0",
|
|
39
39
|
"@sendgrid/mail": "7.7.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@jest/globals": "28.1.3",
|
|
43
|
-
"@lowdefy/ajv": "4.
|
|
43
|
+
"@lowdefy/ajv": "4.6.0",
|
|
44
44
|
"@swc/cli": "0.1.63",
|
|
45
45
|
"@swc/core": "1.3.99",
|
|
46
46
|
"@swc/jest": "0.2.29",
|