@wppconnect-team/wppconnect 1.14.3 → 1.14.4
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
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
|
|
17
|
-
<a href="https://wppconnect
|
|
18
|
-
<a href="https://wppconnect
|
|
16
|
+
<a href="https://wppconnect.io/wppconnect/pages/Getting%20Started/installation.html">Getting Started</a> •
|
|
17
|
+
<a href="https://wppconnect.io/wppconnect/pages/Getting%20Started/basic-functions.html">Basic Function</a> •
|
|
18
|
+
<a 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
|
|
45
|
+
See more at <a 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
|
|
55
|
+
See more at <a href="https://wppconnect.io/wppconnect/pages/Getting%20Started/installation.html">Getting Started</a>
|
|
56
56
|
|
|
57
57
|
## Development
|
|
58
58
|
|
|
@@ -374,8 +374,8 @@ var RetrieverLayer = /** @class */ (function (_super) {
|
|
|
374
374
|
case 1:
|
|
375
375
|
status = _a.sent();
|
|
376
376
|
return [2 /*return*/, {
|
|
377
|
-
id:
|
|
378
|
-
status: status.status,
|
|
377
|
+
id: contactId,
|
|
378
|
+
status: (status === null || status === void 0 ? void 0 : status.status) || status,
|
|
379
379
|
}];
|
|
380
380
|
}
|
|
381
381
|
});
|
|
@@ -35,7 +35,7 @@ export declare class SenderLayer extends ListenerLayer {
|
|
|
35
35
|
* useTemplateButtons: true, // False for legacy
|
|
36
36
|
* buttons: [
|
|
37
37
|
* {
|
|
38
|
-
* url: 'https://wppconnect
|
|
38
|
+
* url: 'https://wppconnect.io/',
|
|
39
39
|
* text: 'WPPConnect Site'
|
|
40
40
|
* },
|
|
41
41
|
* {
|
|
@@ -176,7 +176,7 @@ export declare class SenderLayer extends ListenerLayer {
|
|
|
176
176
|
* useTemplateButtons: true, // False for legacy
|
|
177
177
|
* buttons: [
|
|
178
178
|
* {
|
|
179
|
-
* url: 'https://wppconnect
|
|
179
|
+
* url: 'https://wppconnect.io/',
|
|
180
180
|
* text: 'WPPConnect Site'
|
|
181
181
|
* },
|
|
182
182
|
* {
|
|
@@ -160,7 +160,7 @@ var SenderLayer = /** @class */ (function (_super) {
|
|
|
160
160
|
* useTemplateButtons: true, // False for legacy
|
|
161
161
|
* buttons: [
|
|
162
162
|
* {
|
|
163
|
-
* url: 'https://wppconnect
|
|
163
|
+
* url: 'https://wppconnect.io/',
|
|
164
164
|
* text: 'WPPConnect Site'
|
|
165
165
|
* },
|
|
166
166
|
* {
|
|
@@ -147,7 +147,7 @@ function create(sessionOrOption, catchQR, statusFind, options, browserSessionTok
|
|
|
147
147
|
mergedOptions = __assign(__assign({}, create_config_1.defaultOptions), options);
|
|
148
148
|
logger = mergedOptions.logger;
|
|
149
149
|
if (usingDeprecatedCreate) {
|
|
150
|
-
logger.warn('You are using deprecated create method, please use create({options}) See: https://wppconnect
|
|
150
|
+
logger.warn('You are using deprecated create method, please use create({options}) See: https://wppconnect.io/wppconnect/pages/Getting%20Started/creating-client.html#passing-options-on-create');
|
|
151
151
|
}
|
|
152
152
|
if (!mergedOptions.disableWelcome) {
|
|
153
153
|
(0, welcome_1.welcomeScreen)();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wppconnect-team/wppconnect",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.4",
|
|
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",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"concurrently": "^7.2.2",
|
|
82
82
|
"conventional-changelog-cli": "^2.2.2",
|
|
83
83
|
"copy-webpack-plugin": "^11.0.0",
|
|
84
|
-
"eslint": "^8.
|
|
84
|
+
"eslint": "^8.18.0",
|
|
85
85
|
"eslint-config-prettier": "^8.5.0",
|
|
86
86
|
"eslint-plugin-prettier": "^4.0.0",
|
|
87
87
|
"gulp": "^4.0.2",
|
|
@@ -96,13 +96,13 @@
|
|
|
96
96
|
"ts-node": "^10.8.1",
|
|
97
97
|
"typedoc": "^0.21.10",
|
|
98
98
|
"typedoc-plugin-pages": "^1.1.0",
|
|
99
|
-
"typescript": "^4.7.
|
|
99
|
+
"typescript": "^4.7.4",
|
|
100
100
|
"webpack": "^5.73.0",
|
|
101
101
|
"webpack-cli": "^4.10.0"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
|
-
"@wppconnect/wa-js": "^2.7.
|
|
105
|
-
"@wppconnect/wa-version": "^1.1.
|
|
104
|
+
"@wppconnect/wa-js": "^2.7.3",
|
|
105
|
+
"@wppconnect/wa-version": "^1.1.97",
|
|
106
106
|
"atob": "^2.1.2",
|
|
107
107
|
"axios": "^0.27.2",
|
|
108
108
|
"boxen": "^5.1.2",
|