@strapi/provider-email-sendmail 0.0.0-next.e9bb5ccdc459f4c6b6717a2d5d86359b7a47d47d → 0.0.0-next.f426350b859ddae6592e9bfa99e6be94ae22e117

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,EA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;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.e9bb5ccdc459f4c6b6717a2d5d86359b7a47d47d",
3
+ "version": "0.0.0-next.f426350b859ddae6592e9bfa99e6be94ae22e117",
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.e9bb5ccdc459f4c6b6717a2d5d86359b7a47d47d",
44
+ "@strapi/utils": "0.0.0-next.f426350b859ddae6592e9bfa99e6be94ae22e117",
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.e9bb5ccdc459f4c6b6717a2d5d86359b7a47d47d",
50
- "tsconfig": "0.0.0-next.e9bb5ccdc459f4c6b6717a2d5d86359b7a47d47d"
49
+ "eslint-config-custom": "0.0.0-next.f426350b859ddae6592e9bfa99e6be94ae22e117",
50
+ "tsconfig": "0.0.0-next.f426350b859ddae6592e9bfa99e6be94ae22e117"
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": "e9bb5ccdc459f4c6b6717a2d5d86359b7a47d47d"
56
+ "gitHead": "f426350b859ddae6592e9bfa99e6be94ae22e117"
57
57
  }