@wppconnect/wa-js 1.1.8 → 1.1.9

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,12 @@
1
+ ## 1.1.9 (2022-01-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Fixed live location event register and added a option ([08949a9](https://github.com/wppconnect-team/wa-js/commit/08949a9c3c46274f2ccca7d30e3aeb9c8a4e9851))
7
+
8
+
9
+
1
10
  ## 1.1.8 (2022-01-21)
2
11
 
3
12
 
package/dist/config.d.ts CHANGED
@@ -20,7 +20,8 @@
20
20
  * ```javascript
21
21
  * // Global variable before injection
22
22
  * WPPConfig = {
23
- * deviceName: 'WPPConnect'
23
+ * deviceName: 'WPPConnect',
24
+ * liveLocationLimit: 10
24
25
  * };
25
26
  * ```
26
27
  */
@@ -30,6 +31,10 @@ export interface Config {
30
31
  * @default 'WPPConnect'
31
32
  */
32
33
  deviceName: string | false;
34
+ /**
35
+ * Number of last chats to check live location after a page reload
36
+ */
37
+ liveLocationLimit: number;
33
38
  }
34
39
  export declare const defaultConfig: Config;
35
40
  export declare const config: Config;