diff --git a/README.md b/README.md index 651ed7a..f79b232 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Still in beta proceed with caution -## 2.0.0 - Contains breaking changes. Please read the documentation carefully +## v2.0.0 - Contains breaking changes. Please read the documentation carefully You can now send emails with other providers and schedule the task to send emails. Remember to run migrations after adding the plugin to the `medusa-config.js` file @@ -139,7 +139,7 @@ I strongly recommend using this plugin in combination with the [Medusa Plugin Se /* enable sendgrid */ sendgridEnabled: boolean /* email from which you will be sending */ - from: string + from: { name?: string; email: string } | string /* template id from sendgrid */ templateId: string /* header line of the email optional */ diff --git a/package.json b/package.json index 3976b6d..6d7642f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "medusa-plugin-abandoned-cart", - "version": "2.0.4", + "version": "2.0.5", "description": "Medusa plugin for abandoned cart tracking and recovery", "author": "Lucjan Grzesik (https://github.com/luluhoc)", "license": "MIT", diff --git a/src/types.ts b/src/types.ts index ad671ec..ba10e21 100644 --- a/src/types.ts +++ b/src/types.ts @@ -4,7 +4,7 @@ export interface BasePluginOptions { /* enable sendgrid */ sendgridEnabled: boolean /* email from which you will be sending */ - from: string + from: { name?: string; email: string } | string /* template id from sendgrid */ templateId: string /* header line of the email optional */