@strapi/provider-email-sendgrid 4.0.0 → 4.0.4

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.
Files changed (2) hide show
  1. package/README.md +15 -16
  2. package/package.json +4 -7
package/README.md CHANGED
@@ -1,27 +1,24 @@
1
- # strapi-provider-email-sendgrid
1
+ # @strapi/provider-email-sendgrid
2
2
 
3
3
  ## Resources
4
4
 
5
- - [License](LICENSE)
5
+ - [LICENSE](LICENSE)
6
6
 
7
7
  ## Links
8
8
 
9
9
  - [Strapi website](https://strapi.io/)
10
- - [Strapi community on Slack](https://slack.strapi.io)
10
+ - [Strapi documentation](https://docs.strapi.io)
11
+ - [Strapi community on Discord](https://discord.strapi.io)
11
12
  - [Strapi news on Twitter](https://twitter.com/strapijs)
12
13
 
13
- ## Prerequisites
14
-
15
- You need to have the plugin `strapi-plugin-email` installed in you Strapi project.
16
-
17
14
  ## Installation
18
15
 
19
16
  ```bash
20
17
  # using yarn
21
- yarn add strapi-provider-email-sendgrid
18
+ yarn add @strapi/provider-email-sendgrid
22
19
 
23
20
  # using npm
24
- npm install strapi-provider-email-sendgrid --save
21
+ npm install @strapi/provider-email-sendgrid --save
25
22
  ```
26
23
 
27
24
  ## Configuration
@@ -45,13 +42,15 @@ npm install strapi-provider-email-sendgrid --save
45
42
  module.exports = ({ env }) => ({
46
43
  // ...
47
44
  email: {
48
- provider: 'sendgrid',
49
- providerOptions: {
50
- apiKey: env('SENDGRID_API_KEY'),
51
- },
52
- settings: {
53
- defaultFrom: 'myemail@protonmail.com',
54
- defaultReplyTo: 'myemail@protonmail.com',
45
+ config: {
46
+ provider: 'sendgrid',
47
+ providerOptions: {
48
+ apiKey: env('SENDGRID_API_KEY'),
49
+ },
50
+ settings: {
51
+ defaultFrom: 'myemail@protonmail.com',
52
+ defaultReplyTo: 'myemail@protonmail.com',
53
+ },
55
54
  },
56
55
  },
57
56
  // ...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/provider-email-sendgrid",
3
- "version": "4.0.0",
3
+ "version": "4.0.4",
4
4
  "description": "Sendgrid provider for strapi email",
5
5
  "keywords": [
6
6
  "email",
@@ -37,14 +37,11 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@sendgrid/mail": "7.4.7",
40
- "@strapi/utils": "4.0.0"
40
+ "@strapi/utils": "4.0.4"
41
41
  },
42
42
  "engines": {
43
- "node": ">=12.x.x <=16.x.x",
43
+ "node": ">=12.22.0 <=16.x.x",
44
44
  "npm": ">=6.0.0"
45
45
  },
46
- "strapi": {
47
- "isProvider": true
48
- },
49
- "gitHead": "b181702f0202b2c6d645d42b195a831f25cd0b03"
46
+ "gitHead": "d81919ac2272948b3f5d3b25a4cf8cc7b6994460"
50
47
  }