@wppconnect/wa-js 2.11.1 → 2.13.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wppconnect/wa-js",
3
- "version": "2.11.1",
3
+ "version": "2.13.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": {
@@ -39,44 +39,44 @@
39
39
  "watch": "webpack watch --devtool inline-source-map --mode development"
40
40
  },
41
41
  "devDependencies": {
42
- "@commitlint/cli": "^17.0.3",
43
- "@commitlint/config-conventional": "^17.0.3",
44
- "@commitlint/prompt-cli": "^17.0.3",
45
- "@playwright/test": "^1.25.1",
42
+ "@commitlint/cli": "^17.1.2",
43
+ "@commitlint/config-conventional": "^17.1.0",
44
+ "@commitlint/prompt-cli": "^17.1.2",
45
+ "@playwright/test": "^1.26.1",
46
46
  "@types/debug": "^4.1.7",
47
- "@types/node": "^16.11.56",
47
+ "@types/node": "^16.11.64",
48
48
  "@types/parse-data-url": "^3.0.0",
49
- "@types/prettier": "^2.7.0",
49
+ "@types/prettier": "^2.7.1",
50
50
  "@types/shelljs": "^0.8.11",
51
- "@typescript-eslint/eslint-plugin": "^5.35.1",
52
- "@typescript-eslint/parser": "^5.35.1",
53
- "@wppconnect/wa-version": "^1.1.135",
51
+ "@typescript-eslint/eslint-plugin": "^5.39.0",
52
+ "@typescript-eslint/parser": "^5.39.0",
53
+ "@wppconnect/wa-version": "^1.1.168",
54
54
  "buffer": "^6.0.3",
55
55
  "compressorjs": "^1.1.1",
56
56
  "conventional-changelog-cli": "^2.2.2",
57
57
  "debug": "^4.3.4",
58
- "eslint": "^8.22.0",
58
+ "eslint": "^8.25.0",
59
59
  "eslint-config-prettier": "^8.5.0",
60
60
  "eslint-plugin-header": "^3.1.1",
61
61
  "eslint-plugin-import": "^2.26.0",
62
62
  "eslint-plugin-prettier": "^4.2.1",
63
- "eslint-plugin-simple-import-sort": "^7.0.0",
64
- "eventemitter2": "^6.4.7",
63
+ "eslint-plugin-simple-import-sort": "^8.0.0",
64
+ "eventemitter2": "^6.4.9",
65
65
  "file-type": "~16.5.4",
66
66
  "husky": "^8.0.1",
67
67
  "parse-data-url": "^4.0.1",
68
- "playwright-chromium": "^1.25.1",
68
+ "playwright-chromium": "^1.26.1",
69
69
  "prettier": "^2.7.1",
70
70
  "pretty-quick": "^3.1.3",
71
- "release-it": "^15.4.0",
71
+ "release-it": "^15.5.0",
72
72
  "shx": "^0.3.4",
73
- "ts-loader": "^9.3.1",
74
- "ts-morph": "^15.1.0",
73
+ "ts-loader": "^9.4.1",
74
+ "ts-morph": "^16.0.0",
75
75
  "ts-node": "^10.9.1",
76
- "typedoc": "^0.23.11",
76
+ "typedoc": "^0.23.15",
77
77
  "typedoc-plugin-mdn-links": "^2.0.0",
78
- "typedoc-plugin-missing-exports": "^0.23.0",
79
- "typescript": "^4.8.2",
78
+ "typedoc-plugin-missing-exports": "^1.0.0",
79
+ "typescript": "^4.8.4",
80
80
  "typescript-debounce-decorator": "^0.0.18",
81
81
  "webpack": "^5.74.0",
82
82
  "webpack-cli": "^4.10.0"
@@ -1,49 +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
- /** @whatsapp 40234
17
- * @whatsapp 22683 >= 2.2204.13
18
- */
19
- export declare class ClockClass {
20
- is24h: boolean;
21
- skew: number;
22
- skewMS: number;
23
- timeZoneHardCode: string;
24
- getIs24Hour(): boolean;
25
- setIs24Hour(is24h: boolean): void;
26
- setSkew(skew: number): void;
27
- getSkew(): number;
28
- localUnixTime(timestamp?: number): number;
29
- globalUnixTime(timestamp?: number): number;
30
- relativeStr(timestamp: number): string;
31
- relativeDateStr(timestamp: number): string;
32
- relativeDateAndTimeStr(timestamp: number): string;
33
- timeStr(timestamp: number): string;
34
- timestampStr(timestamp: number): string;
35
- timestampStrFormat(): string;
36
- timestampHour(timestamp: number): number;
37
- createdStr(timestamp: number): string;
38
- untilStr(timestamp: number): string;
39
- lastSeenStr(timestamp: number): string;
40
- daysDelta(a: number, b: number): number;
41
- durationStr(seconds: number | string): string;
42
- paymentTimestampStr(timestamp: number): string;
43
- liveLocationLastUpdatedStr(timestamp: number): string;
44
- shouldUseIntlDateTimeFormat(): boolean;
45
- }
46
- /** @whatsapp 40234
47
- * @whatsapp 22683 >= 2.2204.13
48
- */
49
- export declare const Clock: ClockClass;