node-easywechat 2.13.2 → 2.13.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.
- package/.github/workflows/build-2.yml +11 -4
- package/.github/workflows/publish-npm-2.yml +9 -5
- package/CHANGELOG.md +4 -0
- package/dist/Core/AES.d.ts +2 -0
- package/dist/Core/Http/Request.d.ts +1 -0
- package/dist/Core/RSA.d.ts +1 -0
- package/package.json +10 -10
- package/.github/workflows/build-3.yml +0 -21
- package/.github/workflows/publish-npm-3.yml +0 -24
|
@@ -10,12 +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: [14.x, 16.x, 18.x, 20.x, 22.x, 24.x]
|
|
13
18
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
15
|
-
- uses: actions/setup-node@v3
|
|
19
|
+
- uses: actions/checkout@v4
|
|
16
20
|
with:
|
|
17
|
-
|
|
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
|
|
21
|
-
|
|
@@ -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@
|
|
15
|
-
- uses: actions/setup-node@v3
|
|
16
|
+
- uses: actions/checkout@v4
|
|
16
17
|
with:
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
show-progress: false
|
|
19
|
+
- uses: actions/setup-node@v4
|
|
20
|
+
with:
|
|
21
|
+
node-version: 22
|
|
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
|
|
26
|
+
- run: npm publish --tag latest --provenance --access public
|
|
23
27
|
env:
|
|
24
28
|
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
package/CHANGELOG.md
CHANGED
package/dist/Core/AES.d.ts
CHANGED
package/dist/Core/RSA.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-easywechat",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.3",
|
|
4
4
|
"description": "EasyWechat SDK for Node.js (NOT OFFICIAL)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
"author": "Hpyer",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@types/node": "^17.0.
|
|
24
|
-
"
|
|
25
|
-
"package-release": "^1.0.3",
|
|
23
|
+
"@types/node": "^17.0.45",
|
|
24
|
+
"package-release": "^1.0.4",
|
|
26
25
|
"sinon": "^12.0.1",
|
|
27
|
-
"typescript": "^4.
|
|
26
|
+
"typescript": "^4.9.5"
|
|
28
27
|
},
|
|
29
28
|
"dependencies": {
|
|
30
|
-
"axios": "^1.
|
|
31
|
-
"form-data": "^4.0.
|
|
32
|
-
"node-socialite": "^1.4.
|
|
33
|
-
"qs": "^6.
|
|
29
|
+
"axios": "^1.11.0",
|
|
30
|
+
"form-data": "^4.0.4",
|
|
31
|
+
"node-socialite": "^1.4.3",
|
|
32
|
+
"qs": "^6.14.0",
|
|
34
33
|
"raw-body": "^2.5.2",
|
|
35
34
|
"xml2js": "^0.6.2"
|
|
36
|
-
}
|
|
35
|
+
},
|
|
36
|
+
"packageManager": "pnpm@10.12.4+sha512.5ea8b0deed94ed68691c9bad4c955492705c5eeb8a87ef86bc62c74a26b037b08ff9570f108b2e4dbd1dd1a9186fea925e527f141c648e85af45631074680184"
|
|
37
37
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# 3.x 所有提交自动构建并测试
|
|
2
|
-
|
|
3
|
-
name: Build 3.x
|
|
4
|
-
|
|
5
|
-
on:
|
|
6
|
-
push:
|
|
7
|
-
branches:
|
|
8
|
-
- '3.x'
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
build:
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v3
|
|
15
|
-
- uses: actions/setup-node@v3
|
|
16
|
-
with:
|
|
17
|
-
node-version: 16
|
|
18
|
-
- run: npm install
|
|
19
|
-
- run: npm run build
|
|
20
|
-
- run: npm test
|
|
21
|
-
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# 构建、测试并发布3.x分支
|
|
2
|
-
|
|
3
|
-
name: Publish 3.x to npm
|
|
4
|
-
|
|
5
|
-
on:
|
|
6
|
-
push:
|
|
7
|
-
tags:
|
|
8
|
-
- v3.*
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
publish-npm:
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v3
|
|
15
|
-
- uses: actions/setup-node@v3
|
|
16
|
-
with:
|
|
17
|
-
node-version: 16
|
|
18
|
-
registry-url: https://registry.npmjs.org/
|
|
19
|
-
- run: npm install
|
|
20
|
-
- run: npm run build
|
|
21
|
-
- run: npm test
|
|
22
|
-
- run: npm publish --tag latest
|
|
23
|
-
env:
|
|
24
|
-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|