node-easywechat 3.7.6 → 3.7.7

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.
@@ -10,11 +10,19 @@ on:
10
10
  jobs:
11
11
  build:
12
12
  runs-on: ubuntu-latest
13
+ permissions:
14
+ id-token: write
15
+ strategy:
16
+ matrix:
17
+ node-version: [16.x, 18.x, 20.x, 22.x, 24.x]
13
18
  steps:
14
- - uses: actions/checkout@v3
15
- - uses: actions/setup-node@v3
19
+ - uses: actions/checkout@v4
16
20
  with:
17
- node-version: 16
21
+ show-progress: false
22
+ - uses: actions/setup-node@v4
23
+ with:
24
+ node-version: ${{ matrix.node-version }}
25
+ registry-url: 'https://registry.npmjs.org'
18
26
  - run: npm install
19
27
  - run: npm run build
20
28
  - run: npm test
@@ -10,6 +10,8 @@ on:
10
10
  jobs:
11
11
  publish-npm:
12
12
  runs-on: ubuntu-latest
13
+ permissions:
14
+ id-token: write
13
15
  steps:
14
16
  - uses: actions/checkout@v3
15
17
  - uses: actions/setup-node@v3
@@ -19,6 +21,6 @@ jobs:
19
21
  - run: npm install
20
22
  - run: npm run build
21
23
  - run: npm test
22
- - run: npm publish --tag second
24
+ - run: npm publish --tag second --provenance --access public
23
25
  env:
24
26
  NODE_AUTH_TOKEN: ${{secrets.npm_token}}
@@ -10,15 +10,19 @@ on:
10
10
  jobs:
11
11
  publish-npm:
12
12
  runs-on: ubuntu-latest
13
+ permissions:
14
+ id-token: write
13
15
  steps:
14
- - uses: actions/checkout@v3
15
- - uses: actions/setup-node@v3
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ show-progress: false
19
+ - uses: actions/setup-node@v4
16
20
  with:
17
21
  node-version: 16
18
- registry-url: https://registry.npmjs.org/
22
+ registry-url: 'https://registry.npmjs.org'
19
23
  - run: npm install
20
24
  - run: npm run build
21
25
  - run: npm test
22
- - run: npm publish --tag latest
26
+ - run: npm publish --tag latest --provenance --access public
23
27
  env:
24
28
  NODE_AUTH_TOKEN: ${{secrets.npm_token}}
package/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
3
 
4
+ ## v3.7.7 (2025-07-22)
5
+
6
+ - Fix: 升级依赖包,并修复ts错误
7
+
4
8
  ## v3.7.6 (2024-12-03)
5
9
 
6
10
  - Fix: 小程序和视频号模块token和aes_key改为非必填 (#98)
@@ -1,3 +1,4 @@
1
+ import { WithImplicitCoercion } from 'buffer';
1
2
  import { CipherGCMTypes, BinaryLike, CipherKey } from 'crypto';
2
3
  export declare class AES {
3
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-easywechat",
3
- "version": "3.7.6",
3
+ "version": "3.7.7",
4
4
  "description": "EasyWechat SDK for Node.js (NOT OFFICIAL)",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -22,20 +22,21 @@
22
22
  "node": ">=15.6.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@types/node": "^20.14.15",
25
+ "@types/node": "^20.19.9",
26
26
  "axios-mock-adapter": "^1.22.0",
27
- "mocha": "^9.2.2",
27
+ "mocha": "^11.7.1",
28
28
  "package-release": "^1.0.3",
29
- "typescript": "^5.5.4"
29
+ "typescript": "^5.8.3"
30
30
  },
31
31
  "dependencies": {
32
- "axios": "^1.7.4",
32
+ "axios": "^1.10.0",
33
33
  "axios-retry": "^4.5.0",
34
- "form-data": "^4.0.0",
34
+ "form-data": "^4.0.4",
35
35
  "merge": "^2.1.1",
36
36
  "node-socialite": "^1.4.1",
37
- "qs": "^6.13.0",
37
+ "qs": "^6.14.0",
38
38
  "raw-body": "^2.5.2",
39
39
  "xml2js": "^0.6.2"
40
- }
40
+ },
41
+ "packageManager": "pnpm@10.12.4+sha512.5ea8b0deed94ed68691c9bad4c955492705c5eeb8a87ef86bc62c74a26b037b08ff9570f108b2e4dbd1dd1a9186fea925e527f141c648e85af45631074680184"
41
42
  }