@nam088/zca-js 3.0.0 → 3.1.0
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/.releaserc.json +35 -0
- package/CHANGELOG.md +6 -0
- package/package.json +77 -73
package/.releaserc.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"branches": [
|
|
3
|
+
"main",
|
|
4
|
+
{
|
|
5
|
+
"name": "beta",
|
|
6
|
+
"prerelease": true
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "develop",
|
|
10
|
+
"prerelease": "dev"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"plugins": [
|
|
14
|
+
"@semantic-release/commit-analyzer",
|
|
15
|
+
"@semantic-release/release-notes-generator",
|
|
16
|
+
[
|
|
17
|
+
"@semantic-release/changelog",
|
|
18
|
+
{
|
|
19
|
+
"changelogFile": "CHANGELOG.md"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"@semantic-release/npm",
|
|
23
|
+
[
|
|
24
|
+
"@semantic-release/git",
|
|
25
|
+
{
|
|
26
|
+
"assets": [
|
|
27
|
+
"package.json",
|
|
28
|
+
"CHANGELOG.md"
|
|
29
|
+
],
|
|
30
|
+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"@semantic-release/github"
|
|
34
|
+
]
|
|
35
|
+
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# [3.1.0](https://github.com/Nam088/zca-js/compare/v3.0.0...v3.1.0) (2026-03-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Implement automated releases using semantic-release and GitHub Actions. ([7fcc602](https://github.com/Nam088/zca-js/commit/7fcc6027e955bbf50926c738ffaca84fbbcc8b33))
|
package/package.json
CHANGED
|
@@ -1,76 +1,80 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsup",
|
|
18
|
-
"test:feat": "bun run test/feat.ts",
|
|
19
|
-
"prettier": "prettier --write .",
|
|
20
|
-
"lint": "eslint .",
|
|
21
|
-
"lint:fix": "eslint . --fix",
|
|
22
|
-
"prepare": "husky"
|
|
23
|
-
},
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "git+https://github.com/RFS-ADRENO/zca-js.git"
|
|
27
|
-
},
|
|
28
|
-
"homepage": "https://github.com/RFS-ADRENO/zca-js",
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://github.com/RFS-ADRENO/zca-js/issues"
|
|
31
|
-
},
|
|
32
|
-
"engines": {
|
|
33
|
-
"node": ">=18.0.0"
|
|
34
|
-
},
|
|
35
|
-
"keywords": [
|
|
36
|
-
"chatbot",
|
|
37
|
-
"zalo",
|
|
38
|
-
"api"
|
|
39
|
-
],
|
|
40
|
-
"author": "RFS-ADRENO, truong9c2208, JustKemForFun",
|
|
41
|
-
"license": "MIT",
|
|
42
|
-
"dependencies": {
|
|
43
|
-
"@nam088/zca-js": "^1.0.1",
|
|
44
|
-
"crypto-js": "^4.2.0",
|
|
45
|
-
"form-data": "^4.0.4",
|
|
46
|
-
"json-bigint": "^1.0.0",
|
|
47
|
-
"pako": "^2.1.0",
|
|
48
|
-
"semver": "^7.6.3",
|
|
49
|
-
"spark-md5": "^3.0.2",
|
|
50
|
-
"tough-cookie": "^5.0.0",
|
|
51
|
-
"ws": "^8.18.0"
|
|
52
|
-
},
|
|
53
|
-
"devDependencies": {
|
|
54
|
-
"@eslint/js": "^9.34.0",
|
|
55
|
-
"@types/bun": "^1.1.14",
|
|
56
|
-
"@types/crypto-js": "^4.2.2",
|
|
57
|
-
"@types/json-bigint": "^1.0.4",
|
|
58
|
-
"@types/node": "^20.14.10",
|
|
59
|
-
"@types/pako": "^2.0.3",
|
|
60
|
-
"@types/semver": "^7.5.8",
|
|
61
|
-
"@types/spark-md5": "^3.0.4",
|
|
62
|
-
"@types/ws": "^8.5.11",
|
|
63
|
-
"eslint": "^9.34.0",
|
|
64
|
-
"globals": "^16.3.0",
|
|
65
|
-
"husky": "^9.1.7",
|
|
66
|
-
"lint-staged": "^16.1.5",
|
|
67
|
-
"prettier": "^3.3.3",
|
|
68
|
-
"rimraf": "^5.0.10",
|
|
69
|
-
"tsup": "^8.5.0",
|
|
70
|
-
"typescript": "^5.5.3",
|
|
71
|
-
"typescript-eslint": "^8.41.0"
|
|
72
|
-
},
|
|
73
|
-
"lint-staged": {
|
|
74
|
-
"*.{js,ts}": "bunx eslint"
|
|
2
|
+
"name": "@nam088/zca-js",
|
|
3
|
+
"version": "3.1.0",
|
|
4
|
+
"description": "Unofficial Zalo API for JavaScript",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"import": "./dist/index.js"
|
|
75
14
|
}
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsup",
|
|
18
|
+
"test:feat": "bun run test/feat.ts",
|
|
19
|
+
"prettier": "prettier --write .",
|
|
20
|
+
"lint": "eslint .",
|
|
21
|
+
"lint:fix": "eslint . --fix",
|
|
22
|
+
"prepare": "husky"
|
|
23
|
+
},
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/Nam088/zca-js.git"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/Nam088/zca-js.git",
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/Nam088/zca-js/issues"
|
|
31
|
+
},
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=18.0.0"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"chatbot",
|
|
37
|
+
"zalo",
|
|
38
|
+
"api"
|
|
39
|
+
],
|
|
40
|
+
"author": "Nam088",
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"crypto-js": "^4.2.0",
|
|
44
|
+
"form-data": "^4.0.4",
|
|
45
|
+
"json-bigint": "^1.0.0",
|
|
46
|
+
"pako": "^2.1.0",
|
|
47
|
+
"semver": "^7.6.3",
|
|
48
|
+
"spark-md5": "^3.0.2",
|
|
49
|
+
"tough-cookie": "^5.0.0",
|
|
50
|
+
"ws": "^8.18.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@eslint/js": "^9.34.0",
|
|
54
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
55
|
+
"@semantic-release/git": "^10.0.1",
|
|
56
|
+
"@semantic-release/github": "^12.0.6",
|
|
57
|
+
"@semantic-release/npm": "^13.1.5",
|
|
58
|
+
"@types/bun": "^1.1.14",
|
|
59
|
+
"@types/crypto-js": "^4.2.2",
|
|
60
|
+
"@types/json-bigint": "^1.0.4",
|
|
61
|
+
"@types/node": "^20.14.10",
|
|
62
|
+
"@types/pako": "^2.0.3",
|
|
63
|
+
"@types/semver": "^7.5.8",
|
|
64
|
+
"@types/spark-md5": "^3.0.4",
|
|
65
|
+
"@types/ws": "^8.5.11",
|
|
66
|
+
"eslint": "^9.34.0",
|
|
67
|
+
"globals": "^16.3.0",
|
|
68
|
+
"husky": "^9.1.7",
|
|
69
|
+
"lint-staged": "^16.1.5",
|
|
70
|
+
"prettier": "^3.3.3",
|
|
71
|
+
"rimraf": "^5.0.10",
|
|
72
|
+
"semantic-release": "^25.0.3",
|
|
73
|
+
"tsup": "^8.5.0",
|
|
74
|
+
"typescript": "^5.5.3",
|
|
75
|
+
"typescript-eslint": "^8.41.0"
|
|
76
|
+
},
|
|
77
|
+
"lint-staged": {
|
|
78
|
+
"*.{js,ts}": "bunx eslint"
|
|
79
|
+
}
|
|
76
80
|
}
|