-

npm Depfu WhatsApp_Web 2.2043.8 Discord Chat

+

npm Depfu WhatsApp_Web 2.2047.10 Discord Chat

whatsapp-web.js

A WhatsApp API client that connects through the WhatsApp Web browser app

It uses Puppeteer to run a real instance of Whatsapp Web to avoid getting blocked.

@@ -2192,7 +2192,7 @@ client.initialize();
diff --git a/docs/structures_Base.js.html b/docs/structures_Base.js.html index fa17afb..9853c29 100644 --- a/docs/structures_Base.js.html +++ b/docs/structures_Base.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/Base.js + whatsapp-web.js 1.11.1 » Source: structures/Base.js @@ -15,7 +15,7 @@ @@ -60,7 +60,7 @@ module.exports = Base;
diff --git a/docs/structures_BusinessContact.js.html b/docs/structures_BusinessContact.js.html index 2ff1226..c6e82b8 100644 --- a/docs/structures_BusinessContact.js.html +++ b/docs/structures_BusinessContact.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/BusinessContact.js + whatsapp-web.js 1.11.1 » Source: structures/BusinessContact.js @@ -15,7 +15,7 @@ @@ -59,7 +59,7 @@ module.exports = BusinessContact;
diff --git a/docs/structures_Chat.js.html b/docs/structures_Chat.js.html index a641e73..bb84c6e 100644 --- a/docs/structures_Chat.js.html +++ b/docs/structures_Chat.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/Chat.js + whatsapp-web.js 1.11.1 » Source: structures/Chat.js @@ -15,7 +15,7 @@ @@ -215,7 +215,8 @@ class Chat extends Base { } msgs.sort((a, b) => (a.t > b.t) ? 1 : -1); - return msgs.splice(msgs.length - limit).map(m => window.WWebJS.getMessageModel(m)); + if (msgs.length > limit) msgs = msgs.splice(msgs.length - limit); + return msgs.map(m => window.WWebJS.getMessageModel(m)); }, this.id._serialized, searchOptions.limit); @@ -272,7 +273,7 @@ module.exports = Chat;
diff --git a/docs/structures_ClientInfo.js.html b/docs/structures_ClientInfo.js.html index 1c9e6ca..a7664c9 100644 --- a/docs/structures_ClientInfo.js.html +++ b/docs/structures_ClientInfo.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/ClientInfo.js + whatsapp-web.js 1.11.1 » Source: structures/ClientInfo.js @@ -15,7 +15,7 @@ @@ -108,7 +108,7 @@ module.exports = ClientInfo;
diff --git a/docs/structures_Contact.js.html b/docs/structures_Contact.js.html index 5e7faf6..4eb4fcd 100644 --- a/docs/structures_Contact.js.html +++ b/docs/structures_Contact.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/Contact.js + whatsapp-web.js 1.11.1 » Source: structures/Contact.js @@ -15,7 +15,7 @@ @@ -196,7 +196,7 @@ module.exports = Contact;
diff --git a/docs/structures_GroupChat.js.html b/docs/structures_GroupChat.js.html index 3edd584..9139ac1 100644 --- a/docs/structures_GroupChat.js.html +++ b/docs/structures_GroupChat.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/GroupChat.js + whatsapp-web.js 1.11.1 » Source: structures/GroupChat.js @@ -15,7 +15,7 @@ @@ -221,7 +221,7 @@ module.exports = GroupChat;
diff --git a/docs/structures_GroupNotification.js.html b/docs/structures_GroupNotification.js.html index fc7fe8c..e904ed1 100644 --- a/docs/structures_GroupNotification.js.html +++ b/docs/structures_GroupNotification.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/GroupNotification.js + whatsapp-web.js 1.11.1 » Source: structures/GroupNotification.js @@ -15,7 +15,7 @@ @@ -143,7 +143,7 @@ module.exports = GroupNotification;
diff --git a/docs/structures_Location.js.html b/docs/structures_Location.js.html index 6bab363..4c667dc 100644 --- a/docs/structures_Location.js.html +++ b/docs/structures_Location.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/Location.js + whatsapp-web.js 1.11.1 » Source: structures/Location.js @@ -15,7 +15,7 @@ @@ -71,7 +71,7 @@ module.exports = Location;
diff --git a/docs/structures_Message.js.html b/docs/structures_Message.js.html index 599a185..bf3cec7 100644 --- a/docs/structures_Message.js.html +++ b/docs/structures_Message.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/Message.js + whatsapp-web.js 1.11.1 » Source: structures/Message.js @@ -15,7 +15,7 @@ @@ -316,7 +316,7 @@ module.exports = Message;
diff --git a/docs/structures_MessageMedia.js.html b/docs/structures_MessageMedia.js.html index 46e34c5..a0432f0 100644 --- a/docs/structures_MessageMedia.js.html +++ b/docs/structures_MessageMedia.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/MessageMedia.js + whatsapp-web.js 1.11.1 » Source: structures/MessageMedia.js @@ -15,7 +15,7 @@ @@ -86,7 +86,7 @@ module.exports = MessageMedia;
diff --git a/docs/structures_PrivateChat.js.html b/docs/structures_PrivateChat.js.html index d9c54de..7ca89fb 100644 --- a/docs/structures_PrivateChat.js.html +++ b/docs/structures_PrivateChat.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/PrivateChat.js + whatsapp-web.js 1.11.1 » Source: structures/PrivateChat.js @@ -15,7 +15,7 @@ @@ -51,7 +51,7 @@ module.exports = PrivateChat;
diff --git a/docs/structures_PrivateContact.js.html b/docs/structures_PrivateContact.js.html index ccf3be1..0b6b52e 100644 --- a/docs/structures_PrivateContact.js.html +++ b/docs/structures_PrivateContact.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: structures/PrivateContact.js + whatsapp-web.js 1.11.1 » Source: structures/PrivateContact.js @@ -15,7 +15,7 @@ @@ -51,7 +51,7 @@ module.exports = PrivateContact;
diff --git a/docs/util_Constants.js.html b/docs/util_Constants.js.html index c1da94f..fb1bb27 100644 --- a/docs/util_Constants.js.html +++ b/docs/util_Constants.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: util/Constants.js + whatsapp-web.js 1.11.1 » Source: util/Constants.js @@ -15,7 +15,7 @@ @@ -173,7 +173,7 @@ exports.MessageAck = {
diff --git a/docs/util_InterfaceController.js.html b/docs/util_InterfaceController.js.html index 4d17ae4..47103c2 100644 --- a/docs/util_InterfaceController.js.html +++ b/docs/util_InterfaceController.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: util/InterfaceController.js + whatsapp-web.js 1.11.1 » Source: util/InterfaceController.js @@ -15,7 +15,7 @@ @@ -94,7 +94,7 @@ module.exports = InterfaceController;
diff --git a/docs/util_Util.js.html b/docs/util_Util.js.html index 174a81a..feabb6b 100644 --- a/docs/util_Util.js.html +++ b/docs/util_Util.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.11.0 » Source: util/Util.js + whatsapp-web.js 1.11.1 » Source: util/Util.js @@ -15,7 +15,7 @@ @@ -73,7 +73,7 @@ module.exports = Util; diff --git a/package.json b/package.json index 09c6e52..adfa702 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "whatsapp-web.js", - "version": "1.11.0-post", + "version": "1.11.1", "description": "Library for interacting with the WhatsApp Web API ", "main": "./index.js", "typings": "./index.d.ts",