@kne/fastify-message 1.0.0-alpha.4 → 1.0.1

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.
@@ -5,7 +5,7 @@ const template = require('lodash/template');
5
5
  const merge = require('lodash/merge');
6
6
  const nodemailer = require('nodemailer');
7
7
  const { convert } = require('html-to-text');
8
- const pify = require('pify').default;
8
+ const pify = require('pify');
9
9
 
10
10
  module.exports = fp(async (fastify, options) => {
11
11
  const emailConfig = Object.assign(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kne/fastify-message",
3
- "version": "1.0.0-alpha.4",
3
+ "version": "1.0.1",
4
4
  "description": "管理消息发送,支持sms消息,email消息等.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -55,6 +55,6 @@
55
55
  "html-to-text": "^9.0.5",
56
56
  "lodash": "^4.17.21",
57
57
  "nodemailer": "^7.0.3",
58
- "pify": "^6.1.0"
58
+ "pify": "^5.0.0"
59
59
  }
60
60
  }