@strapi/provider-email-sendmail 0.0.0-next.9542f2748460d5d94905e89d1902c0e1625fbea0 → 0.0.0-next.996ba09add3e0d8e7794dde5ddc0306f8a9e42cd

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.d.ts CHANGED
@@ -14,7 +14,7 @@ interface SendOptions {
14
14
  html: string;
15
15
  [key: string]: unknown;
16
16
  }
17
- declare type ProviderOptions = Options;
17
+ type ProviderOptions = Options;
18
18
  declare const _default: {
19
19
  init(providerOptions: ProviderOptions, settings: Settings): {
20
20
  send(options: SendOptions): Promise<void>;
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,EA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ACF,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.9542f2748460d5d94905e89d1902c0e1625fbea0",
3
+ "version": "0.0.0-next.996ba09add3e0d8e7794dde5ddc0306f8a9e42cd",
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.9542f2748460d5d94905e89d1902c0e1625fbea0",
44
+ "@strapi/utils": "0.0.0-next.996ba09add3e0d8e7794dde5ddc0306f8a9e42cd",
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.9542f2748460d5d94905e89d1902c0e1625fbea0",
50
- "tsconfig": "0.0.0-next.9542f2748460d5d94905e89d1902c0e1625fbea0"
49
+ "eslint-config-custom": "0.0.0-next.996ba09add3e0d8e7794dde5ddc0306f8a9e42cd",
50
+ "tsconfig": "0.0.0-next.996ba09add3e0d8e7794dde5ddc0306f8a9e42cd"
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": "9542f2748460d5d94905e89d1902c0e1625fbea0"
56
+ "gitHead": "996ba09add3e0d8e7794dde5ddc0306f8a9e42cd"
57
57
  }