@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 +6 -0
- package/dist/eventEmitter/eventEmitter.d.ts +5 -1
- package/dist/whatsapp/functions/getFanOutList.d.ts +1 -0
- package/dist/whatsapp/functions/updateParticipants.d.ts +1 -0
- package/dist/wppconnect-wa.js +1 -1
- package/package.json +13 -13
- package/dist/eventEmitter/index.d.ts +0 -195
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,
|
|
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 {};
|