abler-api 1.0.28 → 1.0.30

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.
@@ -230,7 +230,7 @@ async function checkRedis() {
230
230
  }
231
231
  async function initDb() {
232
232
  try {
233
- dbUtil$1.config(conf$3, err$1);
233
+ await dbUtil$1.config(conf$3, err$1);
234
234
  } catch (e) {
235
235
  if (e.reason === 'bad decrypt') {
236
236
  e = new Error(t_f$3("解密数据库密码(%s)失败", conf$3.dbconn.dbpwd));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abler-api",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "API服务相关工具",
5
5
  "main": "./dist/cjs/pp-util.js",
6
6
  "-module": "./dist/es/pp-util.js",
@@ -15,9 +15,9 @@
15
15
  "author": "peng_peng",
16
16
  "license": "ISC",
17
17
  "dependencies": {
18
- "abler-db": "^1.0.35",
18
+ "abler-db": "^1.0.37",
19
19
  "abler-i18n": "^1.0.2",
20
- "abler-messenger": "^1.0.25",
20
+ "abler-messenger": "^1.0.27",
21
21
  "abler-net": "^1.0.8",
22
22
  "abler-util": "^1.0.8",
23
23
  "basic-auth": "^2.0.1",
@@ -43,5 +43,5 @@
43
43
  "rollup-plugin-json": "^4.0.0",
44
44
  "rollup-plugin-terser": "^7.0.2"
45
45
  },
46
- "gitHead": "fcad4b36f5403aa8c0094999cc1e9c14d8684ef2"
46
+ "gitHead": "711e3fefa0eb512764d6059daba1019c52e091c0"
47
47
  }