@wppconnect-team/wppconnect 1.28.4 → 1.29.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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.29.0 (2024-01-25)
2
+
3
+ - [FIX] version whatsapp web ([716cd97](https://github.com/wppconnect-team/wppconnect/commit/716cd97))
4
+
1
5
  ## <small>1.28.4 (2023-12-25)</small>
2
6
 
3
7
  - fix: Remove unnecessary code for close instance (close #1835) ([43f2a9b](https://github.com/wppconnect-team/wppconnect/commit/43f2a9b)), closes [#1835](https://github.com/wppconnect-team/wppconnect/issues/1835)
package/README.md CHANGED
@@ -13,9 +13,9 @@
13
13
  > WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination... 😀🤔💭
14
14
 
15
15
  <p align="center">
16
- <a href="https://wppconnect.io/wppconnect/pages/getting-started/installation.html">Getting Started</a> •
17
- <a href="https://wppconnect.io/wppconnect/pages/getting-started/basic-functions.html">Basic Function</a> •
18
- <a href="https://wppconnect.io/wppconnect/">Documentation</a>
16
+ <a target="_blank" href="https://wppconnect.io/docs/tutorial/basics/installation">Getting Started</a> •
17
+ <a target="_blank" href="https://wppconnect.io/docs/tutorial/basics/basic-functions">Basic Function</a> •
18
+ <a target="_blank" href="https://wppconnect.io/wppconnect">Documentation</a>
19
19
  </p>
20
20
 
21
21
  ## Our online channels
@@ -42,7 +42,7 @@
42
42
  | Send _location_ | ✔ |
43
43
  | **and much more** | ✔ |
44
44
 
45
- See more at <a href="https://wppconnect.io/wppconnect/classes/Whatsapp.html">WhatsApp methods</a>
45
+ See more at <a target="_blank" href="https://wppconnect.io/wppconnect/classes/Whatsapp.html">WhatsApp methods</a>
46
46
 
47
47
  ## Installation
48
48
 
@@ -52,7 +52,7 @@ The first thing that you had to do is install the `npm package` :
52
52
  npm i --save @wppconnect-team/wppconnect
53
53
  ```
54
54
 
55
- See more at <a href="https://wppconnect.io/wppconnect/pages/getting-started/installation.html">Getting Started</a>
55
+ See more at <a target="_blank" href="https://wppconnect.io/docs/tutorial/basics/installation">Getting Started</a>
56
56
 
57
57
  ## Development
58
58
 
@@ -33,6 +33,7 @@ export declare enum MessageType {
33
33
  LIST = "list",
34
34
  LIST_RESPONSE = "list_response",
35
35
  BUTTONS_RESPONSE = "buttons_response",
36
+ POLL_CREATION = "poll_creation",
36
37
  UNKNOWN = "unknown"
37
38
  }
38
39
  export declare enum MediaType {
@@ -53,6 +53,7 @@ var MessageType;
53
53
  MessageType["LIST"] = "list";
54
54
  MessageType["LIST_RESPONSE"] = "list_response";
55
55
  MessageType["BUTTONS_RESPONSE"] = "buttons_response";
56
+ MessageType["POLL_CREATION"] = "poll_creation";
56
57
  MessageType["UNKNOWN"] = "unknown";
57
58
  })(MessageType || (exports.MessageType = MessageType = {}));
58
59
  var MediaType;
@@ -20,7 +20,7 @@ exports.defaultOptions = {
20
20
  waitForLogin: true,
21
21
  logger: logger_1.defaultLogger,
22
22
  tokenStore: 'file',
23
- whatsappVersion: '2.2347.x',
23
+ whatsappVersion: '2.2404.x',
24
24
  deviceName: false,
25
25
  linkPreviewApiServers: null,
26
26
  disableGoogleAnalytics: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect-team/wppconnect",
3
- "version": "1.28.4",
3
+ "version": "1.29.0",
4
4
  "description": "WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination... 😀🤔💭",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -54,17 +54,17 @@
54
54
  },
55
55
  "homepage": "https://github.com/wppconnect-team/wppconnect#readme",
56
56
  "devDependencies": {
57
- "@babel/core": "^7.23.6",
57
+ "@babel/core": "^7.23.7",
58
58
  "@babel/eslint-parser": "^7.23.3",
59
59
  "@babel/eslint-plugin": "^7.23.5",
60
- "@babel/preset-env": "^7.23.6",
60
+ "@babel/preset-env": "^7.23.8",
61
61
  "@commitlint/cli": "^17.8.1",
62
62
  "@commitlint/config-conventional": "^17.8.1",
63
63
  "@commitlint/cz-commitlint": "^17.8.1",
64
64
  "@types/atob": "^2.1.4",
65
65
  "@types/mime-types": "^2.1.4",
66
66
  "@types/mocha": "^10.0.6",
67
- "@types/node": "^18.19.3",
67
+ "@types/node": "^18.19.8",
68
68
  "@types/rimraf": "^3.0.2",
69
69
  "@types/sharp": "^0.31.1",
70
70
  "@types/shelljs": "^0.8.15",
@@ -83,21 +83,21 @@
83
83
  "husky": "^8.0.3",
84
84
  "mocha": "^10.2.0",
85
85
  "prettier": "^2.8.8",
86
- "pretty-quick": "^3.1.3",
86
+ "pretty-quick": "^4.0.0",
87
87
  "regenerator-runtime": "^0.14.1",
88
88
  "release-it": "^17.0.1",
89
89
  "shx": "^0.3.4",
90
90
  "ts-node": "^10.9.2",
91
- "typedoc": "^0.25.4",
91
+ "typedoc": "^0.25.7",
92
92
  "typescript": "^5.3.3",
93
93
  "webpack": "^5.89.0",
94
94
  "webpack-cli": "^5.1.4"
95
95
  },
96
96
  "dependencies": {
97
97
  "@wppconnect/wa-js": "^2.28.1",
98
- "@wppconnect/wa-version": "^1.2.176",
98
+ "@wppconnect/wa-version": "^1.2.203",
99
99
  "atob": "^2.1.2",
100
- "axios": "^1.6.2",
100
+ "axios": "^1.6.5",
101
101
  "boxen": "^5.1.2",
102
102
  "catch-exit": "^1.2.2",
103
103
  "chalk": "~4.1.2",
@@ -109,7 +109,7 @@
109
109
  "logform": "^2.6.0",
110
110
  "lookpath": "^1.2.2",
111
111
  "mime-types": "^2.1.35",
112
- "puppeteer": "^21.6.1",
112
+ "puppeteer": "^21.7.0",
113
113
  "puppeteer-extra": "^3.3.6",
114
114
  "puppeteer-extra-plugin-stealth": "^2.11.2",
115
115
  "puppeteer-extra-plugin-user-data-dir": "^2.4.1",
@@ -118,11 +118,11 @@
118
118
  "reflect-metadata": "^0.2.1",
119
119
  "rimraf": "^3.0.2",
120
120
  "sanitize-filename": "^1.6.3",
121
- "sharp": "^0.33.1",
121
+ "sharp": "0.32.6",
122
122
  "tmp": "^0.2.1",
123
123
  "tree-kill": "^1.2.2",
124
124
  "winston": "^3.11.0",
125
- "ws": "^8.15.1"
125
+ "ws": "^8.16.0"
126
126
  },
127
127
  "optionalDependencies": {
128
128
  "fsevents": "^2.3.3"