@wppconnect/wa-js 1.1.14 → 1.1.18
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/CHANGELOG.md +31 -0
- package/dist/chat/functions/index.d.ts +3 -0
- package/dist/chat/functions/openChatAt.d.ts +27 -0
- package/dist/chat/functions/openChatBottom.d.ts +27 -0
- package/dist/chat/functions/openChatFromUnread.d.ts +27 -0
- package/dist/group/functions/canAdd.d.ts +1 -1
- package/dist/group/functions/canDemote.d.ts +1 -1
- package/dist/group/functions/canPromote.d.ts +1 -1
- package/dist/group/functions/canRemove.d.ts +1 -1
- package/dist/group/functions/ensureGroup.d.ts +1 -1
- package/dist/group/functions/ensureGroupAndParticipants.d.ts +2 -2
- package/dist/group/functions/getGroupInfoFromInviteCode.d.ts +51 -0
- package/dist/group/functions/getInviteCode.d.ts +26 -0
- package/dist/group/functions/getParticipants.d.ts +1 -1
- package/dist/group/functions/iAmAdmin.d.ts +1 -1
- package/dist/group/functions/iAmMember.d.ts +1 -1
- package/dist/group/functions/iAmRestrictedMember.d.ts +1 -1
- package/dist/group/functions/iAmSuperAdmin.d.ts +1 -1
- package/dist/group/functions/index.d.ts +8 -0
- package/dist/group/functions/join.d.ts +28 -0
- package/dist/group/functions/leave.d.ts +27 -0
- package/dist/group/functions/revokeInviteCode.d.ts +28 -0
- package/dist/group/functions/setDescription.d.ts +27 -0
- package/dist/group/functions/setProperty.d.ts +54 -0
- package/dist/group/functions/setSubject.d.ts +27 -0
- package/dist/whatsapp/collections/ParticipantCollection.d.ts +1 -1
- package/dist/whatsapp/enums/GROUP_SETTING_TYPE.d.ts +22 -0
- package/dist/whatsapp/enums/index.d.ts +1 -0
- package/dist/whatsapp/functions/createMsgProtobuf.d.ts +20 -0
- package/dist/whatsapp/functions/index.d.ts +7 -0
- package/dist/whatsapp/functions/sendCallSignalingMsg.d.ts +34 -0
- package/dist/whatsapp/functions/sendExitGroup.d.ts +18 -0
- package/dist/whatsapp/functions/sendJoinGroupViaInvite.d.ts +18 -0
- package/dist/whatsapp/functions/sendQueryGroupInvite.d.ts +44 -0
- package/dist/whatsapp/functions/sendQueryGroupInviteCode.d.ts +18 -0
- package/dist/whatsapp/functions/sendRevokeGroupInviteCode.d.ts +18 -0
- package/dist/whatsapp/functions/setGroup.d.ts +23 -0
- package/dist/whatsapp/misc/Cmd.d.ts +4 -3
- package/dist/whatsapp/models/ChatModel.d.ts +2 -1
- package/dist/whatsapp/models/GroupMetadataModel.d.ts +2 -2
- package/dist/wppconnect-wa.js +1 -1
- package/package.json +15 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wppconnect/wa-js",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.18",
|
|
4
4
|
"description": "WPPConnect/WA-JS is an open-source project with the aim of exporting functions from WhatsApp Web",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"docs:clean": "shx rm -rf docs",
|
|
25
25
|
"docs:theme": "cd ./docs-source && tsc",
|
|
26
26
|
"launch:local": "ts-node ./src/tools/launchLocal.ts",
|
|
27
|
+
"launch:protocol-log": "ts-node ./src/tools/launchProtocolLog.ts",
|
|
27
28
|
"lint": "npx eslint --ext .ts src",
|
|
28
29
|
"prepare": "husky install && npm run clean && npm run build:prd",
|
|
29
30
|
"release": "release-it",
|
|
@@ -38,23 +39,23 @@
|
|
|
38
39
|
"watch": "webpack watch --devtool inline-source-map --mode development"
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
|
-
"@commitlint/cli": "^16.1
|
|
42
|
-
"@commitlint/config-conventional": "^16.
|
|
43
|
-
"@commitlint/cz-commitlint": "^16.1
|
|
44
|
-
"@playwright/test": "^1.
|
|
42
|
+
"@commitlint/cli": "^16.2.1",
|
|
43
|
+
"@commitlint/config-conventional": "^16.2.1",
|
|
44
|
+
"@commitlint/cz-commitlint": "^16.2.1",
|
|
45
|
+
"@playwright/test": "^1.19.1",
|
|
45
46
|
"@types/debug": "^4.1.7",
|
|
46
|
-
"@types/node": "^14.18.
|
|
47
|
+
"@types/node": "^14.18.12",
|
|
47
48
|
"@types/parse-data-url": "^3.0.0",
|
|
48
49
|
"@types/shelljs": "^0.8.11",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
50
|
-
"@typescript-eslint/parser": "^5.
|
|
51
|
-
"@wppconnect/wa-version": "^1.1.
|
|
50
|
+
"@typescript-eslint/eslint-plugin": "^5.12.0",
|
|
51
|
+
"@typescript-eslint/parser": "^5.12.0",
|
|
52
|
+
"@wppconnect/wa-version": "^1.1.30",
|
|
52
53
|
"buffer": "^6.0.3",
|
|
53
54
|
"commitizen": "^4.2.4",
|
|
54
55
|
"conventional-changelog-cli": "^2.2.2",
|
|
55
56
|
"debug": "^4.3.3",
|
|
56
|
-
"emittery": "^0.10.
|
|
57
|
-
"eslint": "^8.
|
|
57
|
+
"emittery": "^0.10.1",
|
|
58
|
+
"eslint": "^8.9.0",
|
|
58
59
|
"eslint-config-prettier": "^8.3.0",
|
|
59
60
|
"eslint-plugin-header": "^3.1.1",
|
|
60
61
|
"eslint-plugin-import": "^2.25.4",
|
|
@@ -63,19 +64,19 @@
|
|
|
63
64
|
"file-type": "~16.5.3",
|
|
64
65
|
"husky": "^7.0.4",
|
|
65
66
|
"parse-data-url": "^4.0.1",
|
|
66
|
-
"playwright-chromium": "^1.
|
|
67
|
+
"playwright-chromium": "^1.19.1",
|
|
67
68
|
"prettier": "^2.5.1",
|
|
68
69
|
"pretty-quick": "^3.1.3",
|
|
69
70
|
"release-it": "^14.12.4",
|
|
70
71
|
"shx": "^0.3.4",
|
|
71
72
|
"ts-loader": "^9.2.6",
|
|
72
73
|
"ts-morph": "^13.0.3",
|
|
73
|
-
"ts-node": "^10.
|
|
74
|
+
"ts-node": "^10.5.0",
|
|
74
75
|
"typedoc": "^0.22.4",
|
|
75
76
|
"typedoc-plugin-mdn-links": "^1.0.5",
|
|
76
77
|
"typedoc-plugin-missing-exports": "^0.22.6",
|
|
77
78
|
"typescript": "^4.5.5",
|
|
78
|
-
"webpack": "^5.
|
|
79
|
+
"webpack": "^5.69.0",
|
|
79
80
|
"webpack-cli": "^4.9.2"
|
|
80
81
|
},
|
|
81
82
|
"config": {
|