@wppconnect/wa-js 2.8.0 → 2.8.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 2.8.1 (2022-07-11)
2
+
3
+ ### Bug Fixes
4
+
5
+ - Fixed WPP.chat.markIsUnread function (wppconnect-team/wppconnect[#1196](https://github.com/wppconnect-team/wa-js/issues/1196)) ([db7195e](https://github.com/wppconnect-team/wa-js/commit/db7195ee15a4e12c7a6b6a06bcb6bb711f59659b))
6
+
1
7
  # 2.8.0 (2022-06-28)
2
8
 
3
9
  ### Features
@@ -13,7 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { CancelablePromise, ConstructorOptions, event, EventAndListener, EventEmitter2, eventNS, GeneralEventEmitter, Listener, ListenerFn, ListenToOptions, OnceOptions, WaitForFilter, WaitForOptions } from 'eventemitter2';
16
+ import { CancelablePromise, ConstructorOptions, event, EventAndListener, EventEmitter2, eventNS, GeneralEventEmitter, Listener, ListenerFn, ListenToOptions, OnceOptions, WaitForOptions } from 'eventemitter2';
17
+ interface WaitForFilter {
18
+ (...values: any[]): boolean;
19
+ }
17
20
  export interface OnOptions {
18
21
  /**
19
22
  * invoke the listener in async mode using setImmediate (fallback to setTimeout if not available) or process.nextTick depending on the nextTick option.
@@ -167,3 +170,4 @@ export declare class EventEmitter<EventData> {
167
170
  static once(emitter: EventEmitter2, event: string, options?: OnceOptions): CancelablePromise<any[]>;
168
171
  static defaultMaxListeners: number;
169
172
  }
173
+ export {};
@@ -17,6 +17,7 @@ import { Wid } from '../misc';
17
17
  /**
18
18
  * @whatsapp 16104
19
19
  * @whatsapp 416104 >= 2.2222.8
20
+ * @whatsapp 963388 >= 2.2224.7
20
21
  */
21
22
  export declare function getFanOutList(param: {
22
23
  wids: Wid[];
@@ -17,6 +17,7 @@ import { Wid } from '../misc';
17
17
  import { ParticipantModel } from '../models';
18
18
  /**
19
19
  * @whatsapp 951974 >= 2.2222.8
20
+ * @whatsapp 318615 >= 2.2224.7
20
21
  */
21
22
  export declare function updateParticipants(params: {
22
23
  group: Wid;