abler-api 1.0.84 → 1.0.88

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.
@@ -294,8 +294,8 @@ class apiUtil$2 {
294
294
  static cekEncryptOptions = {
295
295
  algorithm: "aes-256-gcm",
296
296
  // iv: 随机
297
- encryptEncoding: "base64",
298
- decryptEncoding: "utf8"
297
+ encryptedEncoding: "base64",
298
+ decryptedEncoding: "utf8"
299
299
  };
300
300
 
301
301
  // static apiCallRecSaver;
@@ -1694,7 +1694,7 @@ class apiUtil$2 {
1694
1694
  result = this.decryptContent(params.encryptedContent, cek);
1695
1695
  console.log('CEK 解密结果:', result);
1696
1696
  } else {
1697
- let content = await ppCrypto.rsaDecrypt(params);
1697
+ let content = ppCrypto.rsaDecrypt(params);
1698
1698
  result = JSON.parse(content.decryptedContent);
1699
1699
  // result = await commonUtil.rsaDecrypt(params);
1700
1700
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abler-api",
3
- "version": "1.0.84",
3
+ "version": "1.0.88",
4
4
  "description": "API服务相关工具",
5
5
  "main": "./dist/cjs/pp-util.js",
6
6
  "-module": "./dist/es/pp-util.js",
@@ -15,13 +15,13 @@
15
15
  "author": "peng_peng",
16
16
  "license": "ISC",
17
17
  "dependencies": {
18
- "abler-db": "^1.0.90",
19
- "abler-i18n": "^1.0.23",
20
- "abler-messenger": "^1.1.45",
21
- "abler-net": "^1.0.46",
22
- "abler-util": "^1.0.44",
18
+ "abler-db": "^1.0.94",
19
+ "abler-i18n": "^1.0.25",
20
+ "abler-messenger": "^1.1.49",
21
+ "abler-net": "^1.0.50",
22
+ "abler-util": "^1.0.48",
23
23
  "basic-auth": "^2.0.1",
24
24
  "node-cron": "^3.0.1"
25
25
  },
26
- "gitHead": "806ce7d2448c72fc0cc91acd9d0c2e557593ea73"
26
+ "gitHead": "b2a3f5b47193ab69fccd04ef3b7fcdda83d8aa38"
27
27
  }