@wppconnect/wa-js 3.20.0 → 3.22.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/CHANGELOG.md +3 -3
- package/dist/call/functions/enableCallInterface.d.ts +19 -0
- package/dist/call/functions/index.d.ts +1 -0
- package/dist/chat/events/eventTypes.d.ts +11 -0
- package/dist/chat/events/index.d.ts +3 -2
- package/dist/chat/events/registerNewChat.d.ts +16 -0
- package/dist/{whatsapp/misc/UsernameGatingUtils.d.ts → conn/functions/getMyUserLid.d.ts} +9 -9
- package/dist/conn/functions/index.d.ts +2 -0
- package/dist/contact/functions/index.d.ts +1 -0
- package/dist/contact/functions/reportContact.d.ts +62 -0
- package/dist/index.d.ts +1 -0
- package/dist/indexdb/functions/getMessagesFromRowId.d.ts +55 -0
- package/dist/indexdb/functions/index.d.ts +16 -0
- package/dist/indexdb/index.d.ts +16 -0
- package/dist/newsletter/functions/follow.d.ts +27 -0
- package/dist/newsletter/functions/index.d.ts +3 -0
- package/dist/newsletter/functions/search.d.ts +64 -0
- package/dist/newsletter/functions/unfollow.d.ts +27 -0
- package/dist/util/index.d.ts +1 -0
- package/dist/util/toArrayBuffer.d.ts +21 -0
- package/dist/whatsapp/enums/CHANNEL_EVENT_SURFACE.d.ts +27 -0
- package/dist/whatsapp/enums/index.d.ts +1 -0
- package/dist/whatsapp/functions/index.d.ts +11 -0
- package/dist/whatsapp/functions/mexFetchNewsletterDirectorySearchResults.d.ts +24 -0
- package/dist/whatsapp/functions/mexJoinNewsletter.d.ts +19 -0
- package/dist/whatsapp/functions/mexLeaveNewsletter.d.ts +19 -0
- package/dist/whatsapp/functions/msgFindByDirection.d.ts +38 -0
- package/dist/whatsapp/functions/msgFindCallLog.d.ts +26 -0
- package/dist/whatsapp/functions/msgFindEvents.d.ts +27 -0
- package/dist/whatsapp/functions/msgFindMedia.d.ts +34 -0
- package/dist/whatsapp/functions/msgFindQuery.d.ts +12 -1
- package/dist/whatsapp/functions/msgFindSearch.d.ts +33 -0
- package/dist/whatsapp/functions/msgFindStarred.d.ts +27 -0
- package/dist/whatsapp/functions/reportSpam.d.ts +34 -0
- package/dist/whatsapp/functions/toggleNewsletterAdminActivityMuteStateAction.d.ts +22 -0
- package/dist/whatsapp/misc/LruMediaStore.d.ts +24 -0
- package/dist/whatsapp/misc/MediaPrep.d.ts +28 -16
- package/dist/whatsapp/misc/index.d.ts +1 -1
- package/dist/whatsapp/stores.d.ts +67 -56
- package/dist/wppconnect-wa.js +1 -1
- package/dist/wppconnect-wa.js.LICENSE.txt +1 -1
- package/eslint.config.mjs +1 -0
- package/package.json +18 -17
package/eslint.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wppconnect/wa-js",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "WPPConnect/WA-JS is an open-source project with the aim of exporting functions from WhatsApp Web",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -40,30 +40,31 @@
|
|
|
40
40
|
"update-models-attributes": "ts-node ./src/tools/updateModelsAttributes.ts",
|
|
41
41
|
"update-module-id": "ts-node ./src/tools/updateModuleID.ts",
|
|
42
42
|
"wa-source:clean": "shx rm -rf wa-source",
|
|
43
|
-
"wa-source:format": "prettier --write ./wa-source",
|
|
43
|
+
"wa-source:format": "prettier --ignore-path .prettierignore --write ./wa-source",
|
|
44
44
|
"watch": "webpack watch --devtool inline-source-map --mode development"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@commitlint/cli": "^20.
|
|
48
|
-
"@commitlint/config-conventional": "^20.
|
|
49
|
-
"@commitlint/prompt-cli": "^20.
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
47
|
+
"@commitlint/cli": "^20.4.2",
|
|
48
|
+
"@commitlint/config-conventional": "^20.4.2",
|
|
49
|
+
"@commitlint/prompt-cli": "^20.4.2",
|
|
50
|
+
"@eslint/js": "^10.0.1",
|
|
51
|
+
"@playwright/test": "^1.58.2",
|
|
52
|
+
"@tony.ganchev/eslint-plugin-header": "^3.2.4",
|
|
52
53
|
"@types/debug": "^4.1.12",
|
|
53
54
|
"@types/node": "^16.18.126",
|
|
54
55
|
"@types/node-fetch": "^2.6.13",
|
|
55
56
|
"@types/parse-data-url": "^3.0.2",
|
|
56
57
|
"@types/shelljs": "^0.10.0",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
58
|
-
"@typescript-eslint/parser": "^8.
|
|
59
|
-
"@wppconnect/wa-version": "^1.5.
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
59
|
+
"@typescript-eslint/parser": "^8.56.1",
|
|
60
|
+
"@wppconnect/wa-version": "^1.5.3330",
|
|
60
61
|
"buffer": "^6.0.3",
|
|
61
62
|
"compare-versions": "^6.1.1",
|
|
62
63
|
"compressorjs": "^1.2.1",
|
|
63
64
|
"conventional-changelog-angular": "^8.1.0",
|
|
64
65
|
"conventional-changelog-cli": "^5.0.0",
|
|
65
66
|
"debug": "^4.4.3",
|
|
66
|
-
"eslint": "^
|
|
67
|
+
"eslint": "^10.0.2",
|
|
67
68
|
"eslint-config-prettier": "^10.1.8",
|
|
68
69
|
"eslint-plugin-import": "^2.32.0",
|
|
69
70
|
"eslint-plugin-prettier": "^5.5.5",
|
|
@@ -74,21 +75,21 @@
|
|
|
74
75
|
"lint-staged": "^16.2.7",
|
|
75
76
|
"node-fetch": "^2.7.0",
|
|
76
77
|
"parse-data-url": "^6.0.0",
|
|
77
|
-
"playwright-chromium": "^1.
|
|
78
|
-
"prettier": "^3.8.
|
|
78
|
+
"playwright-chromium": "^1.58.2",
|
|
79
|
+
"prettier": "^3.8.1",
|
|
79
80
|
"release-it": "^19.2.4",
|
|
80
81
|
"shx": "^0.4.0",
|
|
81
82
|
"terser-webpack-plugin": "^5.3.16",
|
|
82
83
|
"ts-loader": "^9.5.4",
|
|
83
84
|
"ts-morph": "^27.0.2",
|
|
84
85
|
"ts-node": "^10.9.2",
|
|
85
|
-
"typedoc": "^0.28.
|
|
86
|
-
"typedoc-plugin-mdn-links": "^5.1.
|
|
86
|
+
"typedoc": "^0.28.17",
|
|
87
|
+
"typedoc-plugin-mdn-links": "^5.1.1",
|
|
87
88
|
"typedoc-plugin-missing-exports": "^4.1.2",
|
|
88
89
|
"typescript": "^5.9.3",
|
|
89
90
|
"typescript-debounce-decorator": "^0.0.18",
|
|
90
|
-
"typescript-eslint": "^8.
|
|
91
|
-
"webpack": "^5.
|
|
91
|
+
"typescript-eslint": "^8.56.1",
|
|
92
|
+
"webpack": "^5.105.3",
|
|
92
93
|
"webpack-cli": "^6.0.1"
|
|
93
94
|
},
|
|
94
95
|
"engines": {
|