@kne/fastify-webhook 0.1.3-alpha.6 → 0.1.3

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.
@@ -18,7 +18,7 @@ module.exports = fp(async (fastify, options) => {
18
18
  expire: { type: 'string', format: 'date-time' },
19
19
  signatureLocation: { type: 'string' },
20
20
  inputLocation: { type: 'string' },
21
- shouldEncryptVerify: { type: 'boolean' }
21
+ shouldEncryptVerify: { type: 'boolean', default: false }
22
22
  },
23
23
  required: ['name', 'type']
24
24
  }
@@ -31,7 +31,7 @@ module.exports = ({ DataTypes, options }) => {
31
31
  shouldEncryptVerify: {
32
32
  type: DataTypes.BOOLEAN,
33
33
  comment: '是否加密验证',
34
- defaultValue: true
34
+ defaultValue: false
35
35
  },
36
36
  status: {
37
37
  type: DataTypes.ENUM('open', 'close'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kne/fastify-webhook",
3
- "version": "0.1.3-alpha.6",
3
+ "version": "0.1.3",
4
4
  "description": "实现一个webhook功能.",
5
5
  "main": "index.js",
6
6
  "scripts": {