@strapi/provider-email-sendmail 0.0.0-next.943497a7d92d1d147604c631ce5c58737af841da → 0.0.0-next.961ad56e43d0a2ee2a4d28612094517283671f82
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/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -3,7 +3,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
const sendmail_1 = __importDefault(require("sendmail"));
|
|
6
|
-
const utils_1 = __importDefault(require("@strapi/utils"));
|
|
7
6
|
module.exports = {
|
|
8
7
|
init(providerOptions, settings) {
|
|
9
8
|
const sendmail = (0, sendmail_1.default)({
|
|
@@ -25,7 +24,7 @@ module.exports = {
|
|
|
25
24
|
html,
|
|
26
25
|
...rest,
|
|
27
26
|
};
|
|
28
|
-
sendmail(
|
|
27
|
+
sendmail(msg, (err) => {
|
|
29
28
|
if (err) {
|
|
30
29
|
reject(err);
|
|
31
30
|
}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,wDAA+D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,wDAA+D;AAqB/D,iBAAS;IACP,IAAI,CAAC,eAAgC,EAAE,QAAkB;QACvD,MAAM,QAAQ,GAAG,IAAA,kBAAe,EAAC;YAC/B,MAAM,EAAE,IAAI;YACZ,GAAG,eAAe;SACnB,CAAC,CAAC;QAEH,OAAO;YACL,IAAI,CAAC,OAAoB;gBACvB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;oBACrC,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,OAAO,CAAC;oBAE7E,MAAM,GAAG,GAAc;wBACrB,IAAI,EAAE,IAAI,IAAI,QAAQ,CAAC,WAAW;wBAClC,EAAE;wBACF,EAAE;wBACF,GAAG;wBACH,OAAO,EAAE,OAAO,IAAI,QAAQ,CAAC,cAAc;wBAC3C,OAAO;wBACP,IAAI;wBACJ,IAAI;wBACJ,GAAG,IAAI;qBACR,CAAC;oBAEF,QAAQ,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE;wBACpB,IAAI,GAAG,EAAE;4BACP,MAAM,CAAC,GAAG,CAAC,CAAC;yBACb;6BAAM;4BACL,OAAO,EAAE,CAAC;yBACX;oBACH,CAAC,CAAC,CAAC;gBACL,CAAC,CAAC,CAAC;YACL,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/provider-email-sendmail",
|
|
3
|
-
"version": "0.0.0-next.
|
|
3
|
+
"version": "0.0.0-next.961ad56e43d0a2ee2a4d28612094517283671f82",
|
|
4
4
|
"description": "Sendmail provider for strapi email",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"email",
|
|
@@ -41,17 +41,17 @@
|
|
|
41
41
|
"lint": "run -T eslint ."
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@strapi/utils": "0.0.0-next.
|
|
44
|
+
"@strapi/utils": "0.0.0-next.961ad56e43d0a2ee2a4d28612094517283671f82",
|
|
45
45
|
"sendmail": "^1.6.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/sendmail": "1.4.4",
|
|
49
|
-
"eslint-config-custom": "0.0.0-next.
|
|
50
|
-
"tsconfig": "0.0.0-next.
|
|
49
|
+
"eslint-config-custom": "0.0.0-next.961ad56e43d0a2ee2a4d28612094517283671f82",
|
|
50
|
+
"tsconfig": "0.0.0-next.961ad56e43d0a2ee2a4d28612094517283671f82"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
53
53
|
"node": ">=14.19.1 <=18.x.x",
|
|
54
54
|
"npm": ">=6.0.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "961ad56e43d0a2ee2a4d28612094517283671f82"
|
|
57
57
|
}
|