@strapi/provider-email-sendmail 0.0.0-next.c8d6478ec519888ce0cd754886474c3189efc733 → 0.0.0-next.d010ff3a1ec0f4358fc2c66651621b87ade1322d

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 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(utils_1.default.removeUndefined(msg), (err) => {
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;AAC/D,0DAAkC;AAqBlC,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;wB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,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.c8d6478ec519888ce0cd754886474c3189efc733",
3
+ "version": "0.0.0-next.d010ff3a1ec0f4358fc2c66651621b87ade1322d",
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.c8d6478ec519888ce0cd754886474c3189efc733",
44
+ "@strapi/utils": "0.0.0-next.d010ff3a1ec0f4358fc2c66651621b87ade1322d",
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.c8d6478ec519888ce0cd754886474c3189efc733",
50
- "tsconfig": "0.0.0-next.c8d6478ec519888ce0cd754886474c3189efc733"
49
+ "eslint-config-custom": "0.0.0-next.d010ff3a1ec0f4358fc2c66651621b87ade1322d",
50
+ "tsconfig": "0.0.0-next.d010ff3a1ec0f4358fc2c66651621b87ade1322d"
51
51
  },
52
52
  "engines": {
53
- "node": ">=14.19.1 <=18.x.x",
53
+ "node": ">=16.0.0 <=20.x.x",
54
54
  "npm": ">=6.0.0"
55
55
  },
56
- "gitHead": "c8d6478ec519888ce0cd754886474c3189efc733"
56
+ "gitHead": "d010ff3a1ec0f4358fc2c66651621b87ade1322d"
57
57
  }