wechaty-web-panel 1.1.2 → 1.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.
@@ -20,10 +20,10 @@ jobs:
20
20
  run: npm install
21
21
 
22
22
  - name: Generate Package JSON
23
- run: git update-index --chmod=+x ./scripts/generate-package-json.sh
23
+ run: ./scripts/generate-package-json.sh
24
24
 
25
25
  - name: Set Publish Config
26
- run: git update-index --chmod=+x ./scripts/package-publish-config-tag.sh
26
+ run: ./scripts/package-publish-config-tag.sh
27
27
 
28
28
  - name: Check Branch
29
29
  id: check-branch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wechaty-web-panel",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -60,9 +60,9 @@
60
60
  },
61
61
  "publishConfig": {
62
62
  "registry": " https://registry.npmjs.org/",
63
- "tag": "latest",
63
+ "tag": "next",
64
64
  "access": "public"
65
65
  },
66
66
  "_id": "wechaty-web-panel@1.0.6",
67
67
  "_commitid": "afa6242"
68
- }
68
+ }
File without changes
File without changes
@@ -1,5 +1,71 @@
1
1
  /**
2
- * This file will be overwrite when we publish NPM module
3
- * by scripts/generate_version.js
2
+ * This file was auto generated from scripts/generate-version.sh
4
3
  */
5
- export const packageJson = {}
4
+ export const packageJson = {
5
+ "name": "wechaty-web-panel",
6
+ "version": "1.1.3",
7
+ "description": "",
8
+ "main": "src/index.js",
9
+ "scripts": {
10
+ "test": "node test/index.js",
11
+ "release": "verpub publish",
12
+ "release:dry": "verpub --dry-run"
13
+ },
14
+ "keywords": [
15
+ "定时发送",
16
+ "微秘书",
17
+ "智能机器人",
18
+ "微信每日说",
19
+ "每日说",
20
+ "群消息同步",
21
+ "Wechaty",
22
+ "wechatEveryDay",
23
+ "wechaty",
24
+ "wechaty-plugin"
25
+ ],
26
+ "author": {
27
+ "name": "Leo_chen",
28
+ "url": "http://www.xkboke.com",
29
+ "email": "leo.gengchen@foxmail.com"
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://github.com/leochen-g/wechaty-web-panel"
34
+ },
35
+ "license": "MIT",
36
+ "devDependencies": {
37
+ "@chatie/semver": "^0.4.7",
38
+ "babel-eslint": "^10.1.0",
39
+ "eslint": "^7.4.0",
40
+ "eslint-config-prettier": "^6.11.0",
41
+ "eslint-plugin-prettier": "^3.1.4",
42
+ "prettier": "^2.0.5",
43
+ "wechaty": "^1.20.2",
44
+ "wechaty-puppet-wechat": "^1.18.4"
45
+ },
46
+ "readme": "README.md",
47
+ "engines": {
48
+ "node": ">=16",
49
+ "npm": ">=7"
50
+ },
51
+ "dependencies": {
52
+ "axios": "^0.27.2",
53
+ "ix": "^4.5.2",
54
+ "jsonwebtoken": "^8.5.1",
55
+ "mqtt": "^4.2.6",
56
+ "mustache": "^4.2.0",
57
+ "nedb": "^1.8.0",
58
+ "node-schedule": "^1.3.2",
59
+ "puppeteer": "^13.3.2",
60
+ "qrcode-terminal": "^0.12.0",
61
+ "superagent": "^5.2.2",
62
+ "tencentcloud-sdk-nodejs": "^4.0.30"
63
+ },
64
+ "publishConfig": {
65
+ "registry": " https://registry.npmjs.org/",
66
+ "tag": "latest",
67
+ "access": "public"
68
+ },
69
+ "_id": "wechaty-web-panel@1.0.6",
70
+ "_commitid": "afa6242"
71
+ }
@@ -75,7 +75,7 @@ async function filterRoomMsg(that, msg, name, id, avatar, room) {
75
75
  const config = await allConfig() // 获取配置信息
76
76
  const resArray = [
77
77
  { bool: msg === '', method: 'emptyMsg' },
78
- { bool: config.callbackEvents && config.callbackEvents.length > 0, method: 'callbackEvent' },
78
+ { bool: config.callBackEvents && config.callBackEvents.length > 0, method: 'callbackEvent' },
79
79
  { bool: config.eventKeywords && config.eventKeywords.length > 0, method: 'eventMsg' },
80
80
  { bool: config.avatarList && config.avatarList.length > 0, method: 'avatarCrop' },
81
81
  { bool: true, method: 'keywordsMsg' },