@akemona-org/strapi-plugin-email 3.7.2 → 3.7.5
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.
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getYupInnerErrors,
|
|
13
13
|
BaselineAlignment,
|
|
14
14
|
CheckPagePermissions,
|
|
15
|
-
} from 'strapi-helper-plugin';
|
|
15
|
+
} from '@akemona-org/strapi-helper-plugin';
|
|
16
16
|
import getTrad from '../../utils/getTrad';
|
|
17
17
|
import { AlignedButton, Text } from './components';
|
|
18
18
|
import schema from '../../utils/schema';
|
package/admin/src/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// IF THE DOC IS NOT UPDATED THE PULL REQUEST WILL NOT BE MERGED
|
|
7
7
|
|
|
8
8
|
import React from 'react';
|
|
9
|
-
import { CheckPagePermissions } from 'strapi-helper-plugin';
|
|
9
|
+
import { CheckPagePermissions } from '@akemona-org/strapi-helper-plugin';
|
|
10
10
|
import pluginPkg from '../../package.json';
|
|
11
11
|
import pluginId from './pluginId';
|
|
12
12
|
import pluginLogo from './assets/images/logo.svg';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as yup from 'yup';
|
|
2
|
-
import { translatedErrors } from 'strapi-helper-plugin';
|
|
2
|
+
import { translatedErrors } from '@akemona-org/strapi-helper-plugin';
|
|
3
3
|
|
|
4
4
|
const schema = yup.object().shape({
|
|
5
5
|
email: yup.string().email(translatedErrors.email).required(translatedErrors.required),
|
|
@@ -6,7 +6,7 @@ const createProvider = (emailConfig) => {
|
|
|
6
6
|
const providerName = _.toLower(emailConfig.provider);
|
|
7
7
|
let provider;
|
|
8
8
|
try {
|
|
9
|
-
provider = require(
|
|
9
|
+
provider = require(`@akemona-org/strapi-provider-email-${providerName}`);
|
|
10
10
|
} catch (err) {
|
|
11
11
|
throw new Error(
|
|
12
12
|
`The provider package isn't installed. Please run \`npm install strapi-provider-email-${providerName}\` --save`
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "3.7.
|
|
6
|
+
"version": "3.7.5",
|
|
7
7
|
"description": "Easily configure your Strapi application to send emails.",
|
|
8
8
|
"strapi": {
|
|
9
9
|
"name": "Email",
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"test": "echo \"no tests yet\""
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@akemona-org/strapi-provider-email-sendmail": "3.7.
|
|
19
|
-
"@akemona-org/strapi-utils": "3.7.
|
|
18
|
+
"@akemona-org/strapi-provider-email-sendmail": "3.7.5",
|
|
19
|
+
"@akemona-org/strapi-utils": "3.7.5",
|
|
20
20
|
"lodash": "4.17.21"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@akemona-org/strapi-helper-plugin": "3.7.
|
|
23
|
+
"@akemona-org/strapi-helper-plugin": "3.7.5",
|
|
24
24
|
"rimraf": "3.0.2"
|
|
25
25
|
},
|
|
26
26
|
"author": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"npm": ">=6.0.0"
|
|
45
45
|
},
|
|
46
46
|
"license": "SEE LICENSE IN LICENSE",
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "c248936761bebd2fe75189c248a761c95a091fe0"
|
|
48
48
|
}
|