@wppconnect/wa-js 2.19.1 → 2.20.1

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.
@@ -1,11 +1,11 @@
1
1
  /*!
2
- * Compressor.js v1.1.1
2
+ * Compressor.js v1.2.0
3
3
  * https://fengyuanchen.github.io/compressorjs
4
4
  *
5
5
  * Copyright 2018-present Chen Fengyuan
6
6
  * Released under the MIT license
7
7
  *
8
- * Date: 2021-10-05T02:32:40.212Z
8
+ * Date: 2023-02-25T11:35:56.625Z
9
9
  */
10
10
 
11
11
  /*!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-js",
3
- "version": "2.19.1",
3
+ "version": "2.20.1",
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": {
@@ -39,23 +39,24 @@
39
39
  "watch": "webpack watch --devtool inline-source-map --mode development"
40
40
  },
41
41
  "devDependencies": {
42
- "@commitlint/cli": "^17.4.2",
43
- "@commitlint/config-conventional": "^17.4.2",
44
- "@commitlint/prompt-cli": "^17.4.2",
45
- "@playwright/test": "^1.30.0",
42
+ "@commitlint/cli": "^17.4.4",
43
+ "@commitlint/config-conventional": "^17.4.4",
44
+ "@commitlint/prompt-cli": "^17.4.4",
45
+ "@playwright/test": "^1.31.1",
46
46
  "@types/debug": "^4.1.7",
47
- "@types/node": "^16.18.12",
47
+ "@types/node": "^16.18.13",
48
+ "@types/node-fetch": "^2.6.2",
48
49
  "@types/parse-data-url": "^3.0.0",
49
50
  "@types/prettier": "^2.7.2",
50
51
  "@types/shelljs": "^0.8.11",
51
- "@typescript-eslint/eslint-plugin": "^5.51.0",
52
- "@typescript-eslint/parser": "^5.51.0",
53
- "@wppconnect/wa-version": "^1.1.248",
52
+ "@typescript-eslint/eslint-plugin": "^5.53.0",
53
+ "@typescript-eslint/parser": "^5.53.0",
54
+ "@wppconnect/wa-version": "^1.2.1",
54
55
  "buffer": "^6.0.3",
55
- "compressorjs": "^1.1.1",
56
+ "compressorjs": "^1.2.0",
56
57
  "conventional-changelog-cli": "^2.2.2",
57
58
  "debug": "^4.3.4",
58
- "eslint": "^8.33.0",
59
+ "eslint": "^8.35.0",
59
60
  "eslint-config-prettier": "^8.6.0",
60
61
  "eslint-plugin-header": "^3.1.1",
61
62
  "eslint-plugin-import": "^2.27.5",
@@ -64,16 +65,17 @@
64
65
  "eventemitter2": "^6.4.9",
65
66
  "file-type": "~16.5.4",
66
67
  "husky": "^8.0.3",
68
+ "node-fetch": "^2.6.9",
67
69
  "parse-data-url": "^5.0.0",
68
- "playwright-chromium": "^1.30.0",
69
- "prettier": "^2.8.3",
70
+ "playwright-chromium": "^1.31.1",
71
+ "prettier": "^2.8.4",
70
72
  "pretty-quick": "^3.1.3",
71
73
  "release-it": "^15.6.0",
72
74
  "shx": "^0.3.4",
73
75
  "ts-loader": "^9.4.2",
74
76
  "ts-morph": "^17.0.1",
75
77
  "ts-node": "^10.9.1",
76
- "typedoc": "^0.23.24",
78
+ "typedoc": "^0.23.26",
77
79
  "typedoc-plugin-mdn-links": "^2.0.2",
78
80
  "typedoc-plugin-missing-exports": "^1.0.0",
79
81
  "typescript": "^4.9.5",
@@ -1,47 +0,0 @@
1
- /*!
2
- * Copyright 2021 WPPConnect Team
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { LiveLocationCollection, ParticipantCollection } from '../collections';
17
- import { Wid } from '../misc';
18
- import { Model, ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
19
- interface Props {
20
- id: Wid;
21
- duration?: any;
22
- }
23
- interface Session {
24
- stale?: any;
25
- active?: any;
26
- keepAliveTimer?: any;
27
- stopPromise?: any;
28
- }
29
- interface Derived {
30
- }
31
- /** @whatsapp 71306 */
32
- export declare interface LiveLocationModel extends ModelProxy<Props, Session, Derived> {
33
- }
34
- /** @whatsapp 71306 */
35
- export declare class LiveLocationModel extends Model<LiveLocationCollection> {
36
- idClass: typeof Wid;
37
- constructor(proterties?: ModelPropertiesContructor<LiveLocationModel>, options?: ModelOptions);
38
- participants: ParticipantCollection;
39
- hasParticipants(): boolean;
40
- startViewingMap(): any;
41
- stopViewingMap(): any;
42
- userHasLiveLocation(e?: any): any;
43
- iHaveLiveLocation(): any;
44
- stopMyLiveLocation(e?: any): any;
45
- getCollection(): LiveLocationCollection;
46
- }
47
- export {};
@@ -1,56 +0,0 @@
1
- /*!
2
- * Copyright 2021 WPPConnect Team
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { Wid } from '../misc';
17
- import { Model, ModelOptions, ModelPropertiesContructor, ModelProxy } from './Model';
18
- interface Props {
19
- id: Wid;
20
- msg?: any;
21
- lat?: any;
22
- lng?: any;
23
- accuracy?: any;
24
- speed?: any;
25
- degrees?: any;
26
- sequence?: any;
27
- comment?: any;
28
- expiration?: any;
29
- lastUpdated?: any;
30
- }
31
- interface Session {
32
- stale?: any;
33
- contact?: any;
34
- expireTimerId?: any;
35
- disabled?: any;
36
- }
37
- interface Derived {
38
- isMe: boolean;
39
- valid?: any;
40
- }
41
- /** @whatsapp 57465
42
- * @whatsapp 257465 >= 2.2222.8
43
- */
44
- export declare interface LiveLocationParticipantModel extends ModelProxy<Props, Session, Derived> {
45
- }
46
- /** @whatsapp 57465
47
- * @whatsapp 257465 >= 2.2222.8
48
- */
49
- export declare class LiveLocationParticipantModel extends Model {
50
- idClass: typeof Wid;
51
- constructor(proterties?: ModelPropertiesContructor<LiveLocationParticipantModel>, options?: ModelOptions);
52
- remainingTime(): any;
53
- elapsedTime(): any;
54
- disable(): any;
55
- }
56
- export {};