From a60f5ebf407e4f8183947c497e65bb149a707dc7 Mon Sep 17 00:00:00 2001 From: Pedro Lopez Date: Sun, 13 Nov 2022 21:12:55 -0500 Subject: [PATCH 1/6] chore: mark version v1.18.3 --- docs/Base.html | 8 ++++---- docs/BaseAuthStrategy.html | 8 ++++---- docs/BusinessContact.html | 8 ++++---- docs/Buttons.html | 8 ++++---- docs/Call.html | 8 ++++---- docs/Chat.html | 8 ++++---- docs/Client.html | 8 ++++---- docs/Client.js.html | 8 ++++---- docs/ClientInfo.html | 8 ++++---- docs/Contact.html | 8 ++++---- docs/GroupChat.html | 8 ++++---- docs/GroupNotification.html | 8 ++++---- docs/InterfaceController.html | 8 ++++---- docs/Label.html | 8 ++++---- docs/LegacySessionAuth.html | 8 ++++---- docs/List.html | 8 ++++---- docs/LocalAuth.html | 8 ++++---- docs/Location.html | 8 ++++---- docs/Message.html | 8 ++++---- docs/MessageMedia.html | 8 ++++---- docs/NoAuth.html | 8 ++++---- docs/Order.html | 8 ++++---- docs/PrivateChat.html | 8 ++++---- docs/PrivateContact.html | 8 ++++---- docs/Product.html | 8 ++++---- docs/Reaction.html | 8 ++++---- docs/RemoteAuth.html | 8 ++++---- docs/Util.html | 8 ++++---- docs/authStrategies_BaseAuthStrategy.js.html | 8 ++++---- docs/authStrategies_LegacySessionAuth.js.html | 8 ++++---- docs/authStrategies_LocalAuth.js.html | 8 ++++---- docs/authStrategies_NoAuth.js.html | 8 ++++---- docs/authStrategies_RemoteAuth.js.html | 8 ++++---- docs/global.html | 8 ++++---- docs/index.html | 10 +++++----- docs/structures_Base.js.html | 8 ++++---- docs/structures_BusinessContact.js.html | 8 ++++---- docs/structures_Buttons.js.html | 8 ++++---- docs/structures_Call.js.html | 8 ++++---- docs/structures_Chat.js.html | 8 ++++---- docs/structures_ClientInfo.js.html | 8 ++++---- docs/structures_Contact.js.html | 8 ++++---- docs/structures_GroupChat.js.html | 8 ++++---- docs/structures_GroupNotification.js.html | 8 ++++---- docs/structures_Label.js.html | 8 ++++---- docs/structures_List.js.html | 8 ++++---- docs/structures_Location.js.html | 8 ++++---- docs/structures_Message.js.html | 8 ++++---- docs/structures_MessageMedia.js.html | 8 ++++---- docs/structures_Order.js.html | 8 ++++---- docs/structures_Payment.js.html | 8 ++++---- docs/structures_PrivateChat.js.html | 8 ++++---- docs/structures_PrivateContact.js.html | 8 ++++---- docs/structures_Product.js.html | 8 ++++---- docs/structures_ProductMetadata.js.html | 8 ++++---- docs/structures_Reaction.js.html | 8 ++++---- docs/util_Constants.js.html | 8 ++++---- docs/util_InterfaceController.js.html | 8 ++++---- docs/util_Util.js.html | 8 ++++---- package.json | 2 +- 60 files changed, 238 insertions(+), 238 deletions(-) diff --git a/docs/Base.html b/docs/Base.html index cee5e70..a083e1c 100644 --- a/docs/Base.html +++ b/docs/Base.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Base + whatsapp-web.js 1.18.3 » Class: Base @@ -15,7 +15,7 @@ @@ -50,7 +50,7 @@ diff --git a/docs/BaseAuthStrategy.html b/docs/BaseAuthStrategy.html index 8b6f33f..4942559 100644 --- a/docs/BaseAuthStrategy.html +++ b/docs/BaseAuthStrategy.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: BaseAuthStrategy + whatsapp-web.js 1.18.3 » Class: BaseAuthStrategy @@ -15,7 +15,7 @@ @@ -50,7 +50,7 @@ diff --git a/docs/BusinessContact.html b/docs/BusinessContact.html index 7980005..c08a29f 100644 --- a/docs/BusinessContact.html +++ b/docs/BusinessContact.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: BusinessContact + whatsapp-web.js 1.18.3 » Class: BusinessContact @@ -15,7 +15,7 @@ @@ -326,7 +326,7 @@ diff --git a/docs/Buttons.html b/docs/Buttons.html index d6c2ce2..4bca95a 100644 --- a/docs/Buttons.html +++ b/docs/Buttons.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Buttons + whatsapp-web.js 1.18.3 » Class: Buttons @@ -15,7 +15,7 @@ @@ -234,7 +234,7 @@ Returns: [{ buttonId:'customId',buttonText:{'displayText':&# diff --git a/docs/Call.html b/docs/Call.html index d92e969..1fb3718 100644 --- a/docs/Call.html +++ b/docs/Call.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Call + whatsapp-web.js 1.18.3 » Class: Call @@ -15,7 +15,7 @@ @@ -144,7 +144,7 @@ diff --git a/docs/Chat.html b/docs/Chat.html index 93d56b4..e1962b8 100644 --- a/docs/Chat.html +++ b/docs/Chat.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Chat + whatsapp-web.js 1.18.3 » Class: Chat @@ -15,7 +15,7 @@ @@ -497,7 +497,7 @@ diff --git a/docs/Client.html b/docs/Client.html index 7e13c9b..0caa359 100644 --- a/docs/Client.html +++ b/docs/Client.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Client + whatsapp-web.js 1.18.3 » Class: Client @@ -15,7 +15,7 @@ @@ -2486,7 +2486,7 @@ diff --git a/docs/Client.js.html b/docs/Client.js.html index 4045ce3..cfe0679 100644 --- a/docs/Client.js.html +++ b/docs/Client.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: Client.js + whatsapp-web.js 1.18.3 » Source: Client.js @@ -15,7 +15,7 @@ @@ -1224,7 +1224,7 @@ module.exports = Client; diff --git a/docs/ClientInfo.html b/docs/ClientInfo.html index 04c988e..672f2e7 100644 --- a/docs/ClientInfo.html +++ b/docs/ClientInfo.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: ClientInfo + whatsapp-web.js 1.18.3 » Class: ClientInfo @@ -15,7 +15,7 @@ @@ -242,7 +242,7 @@ diff --git a/docs/Contact.html b/docs/Contact.html index c4a20f8..a217893 100644 --- a/docs/Contact.html +++ b/docs/Contact.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Contact + whatsapp-web.js 1.18.3 » Class: Contact @@ -15,7 +15,7 @@ @@ -293,7 +293,7 @@ diff --git a/docs/GroupChat.html b/docs/GroupChat.html index fbf63f4..0cc3764 100644 --- a/docs/GroupChat.html +++ b/docs/GroupChat.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: GroupChat + whatsapp-web.js 1.18.3 » Class: GroupChat @@ -15,7 +15,7 @@ @@ -941,7 +941,7 @@ diff --git a/docs/GroupNotification.html b/docs/GroupNotification.html index a691193..7988faf 100644 --- a/docs/GroupNotification.html +++ b/docs/GroupNotification.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: GroupNotification + whatsapp-web.js 1.18.3 » Class: GroupNotification @@ -15,7 +15,7 @@ @@ -233,7 +233,7 @@ diff --git a/docs/InterfaceController.html b/docs/InterfaceController.html index c8992f0..ea2ba99 100644 --- a/docs/InterfaceController.html +++ b/docs/InterfaceController.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: InterfaceController + whatsapp-web.js 1.18.3 » Class: InterfaceController @@ -15,7 +15,7 @@ @@ -382,7 +382,7 @@ diff --git a/docs/Label.html b/docs/Label.html index a05b377..923d0a8 100644 --- a/docs/Label.html +++ b/docs/Label.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Label + whatsapp-web.js 1.18.3 » Class: Label @@ -15,7 +15,7 @@ @@ -163,7 +163,7 @@ diff --git a/docs/LegacySessionAuth.html b/docs/LegacySessionAuth.html index 53bbfde..d8daea1 100644 --- a/docs/LegacySessionAuth.html +++ b/docs/LegacySessionAuth.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: LegacySessionAuth + whatsapp-web.js 1.18.3 » Class: LegacySessionAuth @@ -15,7 +15,7 @@ @@ -173,7 +173,7 @@ diff --git a/docs/List.html b/docs/List.html index 6af1ec2..53a5a87 100644 --- a/docs/List.html +++ b/docs/List.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: List + whatsapp-web.js 1.18.3 » Class: List @@ -15,7 +15,7 @@ @@ -256,7 +256,7 @@ Returns: [{'title':'sectionTitle','rows':[{'r diff --git a/docs/LocalAuth.html b/docs/LocalAuth.html index 305dc59..3f295bc 100644 --- a/docs/LocalAuth.html +++ b/docs/LocalAuth.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: LocalAuth + whatsapp-web.js 1.18.3 » Class: LocalAuth @@ -15,7 +15,7 @@ @@ -120,7 +120,7 @@ diff --git a/docs/Location.html b/docs/Location.html index 7d980a2..798db80 100644 --- a/docs/Location.html +++ b/docs/Location.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Location + whatsapp-web.js 1.18.3 » Class: Location @@ -15,7 +15,7 @@ @@ -149,7 +149,7 @@ diff --git a/docs/Message.html b/docs/Message.html index f9440d0..c9748e5 100644 --- a/docs/Message.html +++ b/docs/Message.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Message + whatsapp-web.js 1.18.3 » Class: Message @@ -15,7 +15,7 @@ @@ -650,7 +650,7 @@ diff --git a/docs/MessageMedia.html b/docs/MessageMedia.html index 353127f..49d54e7 100644 --- a/docs/MessageMedia.html +++ b/docs/MessageMedia.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: MessageMedia + whatsapp-web.js 1.18.3 » Class: MessageMedia @@ -15,7 +15,7 @@ @@ -364,7 +364,7 @@ diff --git a/docs/NoAuth.html b/docs/NoAuth.html index 62a8cae..f821b5f 100644 --- a/docs/NoAuth.html +++ b/docs/NoAuth.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: NoAuth + whatsapp-web.js 1.18.3 » Class: NoAuth @@ -15,7 +15,7 @@ @@ -51,7 +51,7 @@ diff --git a/docs/Order.html b/docs/Order.html index 1b62080..98ef4d7 100644 --- a/docs/Order.html +++ b/docs/Order.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Order + whatsapp-web.js 1.18.3 » Class: Order @@ -15,7 +15,7 @@ @@ -102,7 +102,7 @@ diff --git a/docs/PrivateChat.html b/docs/PrivateChat.html index f8a8298..e89e6b9 100644 --- a/docs/PrivateChat.html +++ b/docs/PrivateChat.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: PrivateChat + whatsapp-web.js 1.18.3 » Class: PrivateChat @@ -15,7 +15,7 @@ @@ -533,7 +533,7 @@ diff --git a/docs/PrivateContact.html b/docs/PrivateContact.html index 94d23ce..1d966cc 100644 --- a/docs/PrivateContact.html +++ b/docs/PrivateContact.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: PrivateContact + whatsapp-web.js 1.18.3 » Class: PrivateContact @@ -15,7 +15,7 @@ @@ -319,7 +319,7 @@ diff --git a/docs/Product.html b/docs/Product.html index 7dcbfbe..1605ead 100644 --- a/docs/Product.html +++ b/docs/Product.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Product + whatsapp-web.js 1.18.3 » Class: Product @@ -15,7 +15,7 @@ @@ -127,7 +127,7 @@ diff --git a/docs/Reaction.html b/docs/Reaction.html index 4817db4..61e0c4e 100644 --- a/docs/Reaction.html +++ b/docs/Reaction.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Reaction + whatsapp-web.js 1.18.3 » Class: Reaction @@ -15,7 +15,7 @@ @@ -144,7 +144,7 @@ diff --git a/docs/RemoteAuth.html b/docs/RemoteAuth.html index 0d07031..28a2eae 100644 --- a/docs/RemoteAuth.html +++ b/docs/RemoteAuth.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: RemoteAuth + whatsapp-web.js 1.18.3 » Class: RemoteAuth @@ -15,7 +15,7 @@ @@ -148,7 +148,7 @@ diff --git a/docs/Util.html b/docs/Util.html index 0d78819..c9a03b0 100644 --- a/docs/Util.html +++ b/docs/Util.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Class: Util + whatsapp-web.js 1.18.3 » Class: Util @@ -15,7 +15,7 @@ @@ -243,7 +243,7 @@ diff --git a/docs/authStrategies_BaseAuthStrategy.js.html b/docs/authStrategies_BaseAuthStrategy.js.html index 992219b..dba1b73 100644 --- a/docs/authStrategies_BaseAuthStrategy.js.html +++ b/docs/authStrategies_BaseAuthStrategy.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: authStrategies/BaseAuthStrategy.js + whatsapp-web.js 1.18.3 » Source: authStrategies/BaseAuthStrategy.js @@ -15,7 +15,7 @@ @@ -65,7 +65,7 @@ module.exports = BaseAuthStrategy; diff --git a/docs/authStrategies_LegacySessionAuth.js.html b/docs/authStrategies_LegacySessionAuth.js.html index d803985..861fa78 100644 --- a/docs/authStrategies_LegacySessionAuth.js.html +++ b/docs/authStrategies_LegacySessionAuth.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: authStrategies/LegacySessionAuth.js + whatsapp-web.js 1.18.3 » Source: authStrategies/LegacySessionAuth.js @@ -15,7 +15,7 @@ @@ -111,7 +111,7 @@ module.exports = LegacySessionAuth; diff --git a/docs/authStrategies_LocalAuth.js.html b/docs/authStrategies_LocalAuth.js.html index 6a8254a..c8cd2ff 100644 --- a/docs/authStrategies_LocalAuth.js.html +++ b/docs/authStrategies_LocalAuth.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: authStrategies/LocalAuth.js + whatsapp-web.js 1.18.3 » Source: authStrategies/LocalAuth.js @@ -15,7 +15,7 @@ @@ -91,7 +91,7 @@ module.exports = LocalAuth; diff --git a/docs/authStrategies_NoAuth.js.html b/docs/authStrategies_NoAuth.js.html index a9aab1d..65269ba 100644 --- a/docs/authStrategies_NoAuth.js.html +++ b/docs/authStrategies_NoAuth.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: authStrategies/NoAuth.js + whatsapp-web.js 1.18.3 » Source: authStrategies/NoAuth.js @@ -15,7 +15,7 @@ @@ -50,7 +50,7 @@ module.exports = NoAuth; diff --git a/docs/authStrategies_RemoteAuth.js.html b/docs/authStrategies_RemoteAuth.js.html index 16953eb..90965a2 100644 --- a/docs/authStrategies_RemoteAuth.js.html +++ b/docs/authStrategies_RemoteAuth.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: authStrategies/RemoteAuth.js + whatsapp-web.js 1.18.3 » Source: authStrategies/RemoteAuth.js @@ -15,7 +15,7 @@ @@ -243,7 +243,7 @@ module.exports = RemoteAuth; diff --git a/docs/global.html b/docs/global.html index 59cb73d..5c2a332 100644 --- a/docs/global.html +++ b/docs/global.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Globals + whatsapp-web.js 1.18.3 » Globals @@ -15,7 +15,7 @@ @@ -2019,7 +2019,7 @@ diff --git a/docs/index.html b/docs/index.html index 032bf26..3c0349b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Home + whatsapp-web.js 1.18.3 » Home @@ -15,7 +15,7 @@ @@ -27,7 +27,7 @@
@@ -3276,7 +3276,7 @@ client.initialize();
diff --git a/docs/structures_Base.js.html b/docs/structures_Base.js.html index df20a92..84d9420 100644 --- a/docs/structures_Base.js.html +++ b/docs/structures_Base.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Base.js + whatsapp-web.js 1.18.3 » 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 90aaecc..5627b3a 100644 --- a/docs/structures_BusinessContact.js.html +++ b/docs/structures_BusinessContact.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/BusinessContact.js + whatsapp-web.js 1.18.3 » Source: structures/BusinessContact.js @@ -15,7 +15,7 @@ @@ -59,7 +59,7 @@ module.exports = BusinessContact;
diff --git a/docs/structures_Buttons.js.html b/docs/structures_Buttons.js.html index 4699fde..1555c38 100644 --- a/docs/structures_Buttons.js.html +++ b/docs/structures_Buttons.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Buttons.js + whatsapp-web.js 1.18.3 » Source: structures/Buttons.js @@ -15,7 +15,7 @@ @@ -120,7 +120,7 @@ module.exports = Buttons;
diff --git a/docs/structures_Call.js.html b/docs/structures_Call.js.html index 2118c5d..15ef35a 100644 --- a/docs/structures_Call.js.html +++ b/docs/structures_Call.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Call.js + whatsapp-web.js 1.18.3 » Source: structures/Call.js @@ -15,7 +15,7 @@ @@ -106,7 +106,7 @@ module.exports = Call;
diff --git a/docs/structures_Chat.js.html b/docs/structures_Chat.js.html index 96fe03d..c6352d3 100644 --- a/docs/structures_Chat.js.html +++ b/docs/structures_Chat.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Chat.js + whatsapp-web.js 1.18.3 » Source: structures/Chat.js @@ -15,7 +15,7 @@ @@ -299,7 +299,7 @@ module.exports = Chat;
diff --git a/docs/structures_ClientInfo.js.html b/docs/structures_ClientInfo.js.html index 71f9642..eb40d8e 100644 --- a/docs/structures_ClientInfo.js.html +++ b/docs/structures_ClientInfo.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/ClientInfo.js + whatsapp-web.js 1.18.3 » Source: structures/ClientInfo.js @@ -15,7 +15,7 @@ @@ -109,7 +109,7 @@ module.exports = ClientInfo;
diff --git a/docs/structures_Contact.js.html b/docs/structures_Contact.js.html index 39cbc5f..52e7611 100644 --- a/docs/structures_Contact.js.html +++ b/docs/structures_Contact.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Contact.js + whatsapp-web.js 1.18.3 » Source: structures/Contact.js @@ -15,7 +15,7 @@ @@ -245,7 +245,7 @@ module.exports = Contact;
diff --git a/docs/structures_GroupChat.js.html b/docs/structures_GroupChat.js.html index 1faee56..e8757ac 100644 --- a/docs/structures_GroupChat.js.html +++ b/docs/structures_GroupChat.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/GroupChat.js + whatsapp-web.js 1.18.3 » Source: structures/GroupChat.js @@ -15,7 +15,7 @@ @@ -272,7 +272,7 @@ module.exports = GroupChat;
diff --git a/docs/structures_GroupNotification.js.html b/docs/structures_GroupNotification.js.html index 2941245..0a924bd 100644 --- a/docs/structures_GroupNotification.js.html +++ b/docs/structures_GroupNotification.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/GroupNotification.js + whatsapp-web.js 1.18.3 » Source: structures/GroupNotification.js @@ -15,7 +15,7 @@ @@ -143,7 +143,7 @@ module.exports = GroupNotification;
diff --git a/docs/structures_Label.js.html b/docs/structures_Label.js.html index 5fc785d..7caa8bc 100644 --- a/docs/structures_Label.js.html +++ b/docs/structures_Label.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Label.js + whatsapp-web.js 1.18.3 » Source: structures/Label.js @@ -15,7 +15,7 @@ @@ -88,7 +88,7 @@ module.exports = Label;
diff --git a/docs/structures_List.js.html b/docs/structures_List.js.html index 0e2c027..3c787d8 100644 --- a/docs/structures_List.js.html +++ b/docs/structures_List.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/List.js + whatsapp-web.js 1.18.3 » Source: structures/List.js @@ -15,7 +15,7 @@ @@ -118,7 +118,7 @@ module.exports = List;
diff --git a/docs/structures_Location.js.html b/docs/structures_Location.js.html index 353d381..202e68d 100644 --- a/docs/structures_Location.js.html +++ b/docs/structures_Location.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Location.js + whatsapp-web.js 1.18.3 » 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 259bc90..43e0e02 100644 --- a/docs/structures_Message.js.html +++ b/docs/structures_Message.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Message.js + whatsapp-web.js 1.18.3 » Source: structures/Message.js @@ -15,7 +15,7 @@ @@ -569,7 +569,7 @@ module.exports = Message;
diff --git a/docs/structures_MessageMedia.js.html b/docs/structures_MessageMedia.js.html index 1c3f7aa..65b3615 100644 --- a/docs/structures_MessageMedia.js.html +++ b/docs/structures_MessageMedia.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/MessageMedia.js + whatsapp-web.js 1.18.3 » Source: structures/MessageMedia.js @@ -15,7 +15,7 @@ @@ -150,7 +150,7 @@ module.exports = MessageMedia;
diff --git a/docs/structures_Order.js.html b/docs/structures_Order.js.html index 313a26f..42a5169 100644 --- a/docs/structures_Order.js.html +++ b/docs/structures_Order.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Order.js + whatsapp-web.js 1.18.3 » Source: structures/Order.js @@ -15,7 +15,7 @@ @@ -90,7 +90,7 @@ module.exports = Order;
diff --git a/docs/structures_Payment.js.html b/docs/structures_Payment.js.html index a4f19c6..41aafb1 100644 --- a/docs/structures_Payment.js.html +++ b/docs/structures_Payment.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Payment.js + whatsapp-web.js 1.18.3 » Source: structures/Payment.js @@ -15,7 +15,7 @@ @@ -118,7 +118,7 @@ module.exports = Payment;
diff --git a/docs/structures_PrivateChat.js.html b/docs/structures_PrivateChat.js.html index 3d1b457..8d7d2a9 100644 --- a/docs/structures_PrivateChat.js.html +++ b/docs/structures_PrivateChat.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/PrivateChat.js + whatsapp-web.js 1.18.3 » 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 8e24243..88010e7 100644 --- a/docs/structures_PrivateContact.js.html +++ b/docs/structures_PrivateContact.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/PrivateContact.js + whatsapp-web.js 1.18.3 » Source: structures/PrivateContact.js @@ -15,7 +15,7 @@ @@ -51,7 +51,7 @@ module.exports = PrivateContact;
diff --git a/docs/structures_Product.js.html b/docs/structures_Product.js.html index b3d345e..6820848 100644 --- a/docs/structures_Product.js.html +++ b/docs/structures_Product.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Product.js + whatsapp-web.js 1.18.3 » Source: structures/Product.js @@ -15,7 +15,7 @@ @@ -106,7 +106,7 @@ module.exports = Product;
diff --git a/docs/structures_ProductMetadata.js.html b/docs/structures_ProductMetadata.js.html index f4b68e2..0c6dd41 100644 --- a/docs/structures_ProductMetadata.js.html +++ b/docs/structures_ProductMetadata.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/ProductMetadata.js + whatsapp-web.js 1.18.3 » Source: structures/ProductMetadata.js @@ -15,7 +15,7 @@ @@ -63,7 +63,7 @@ module.exports = ProductMetadata;
diff --git a/docs/structures_Reaction.js.html b/docs/structures_Reaction.js.html index 2efca66..21d744b 100644 --- a/docs/structures_Reaction.js.html +++ b/docs/structures_Reaction.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: structures/Reaction.js + whatsapp-web.js 1.18.3 » Source: structures/Reaction.js @@ -15,7 +15,7 @@ @@ -107,7 +107,7 @@ module.exports = Reaction;
diff --git a/docs/util_Constants.js.html b/docs/util_Constants.js.html index 1169b26..e67ff21 100644 --- a/docs/util_Constants.js.html +++ b/docs/util_Constants.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: util/Constants.js + whatsapp-web.js 1.18.3 » Source: util/Constants.js @@ -15,7 +15,7 @@ @@ -200,7 +200,7 @@ exports.MessageAck = {
diff --git a/docs/util_InterfaceController.js.html b/docs/util_InterfaceController.js.html index d034985..394330a 100644 --- a/docs/util_InterfaceController.js.html +++ b/docs/util_InterfaceController.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: util/InterfaceController.js + whatsapp-web.js 1.18.3 » Source: util/InterfaceController.js @@ -15,7 +15,7 @@ @@ -160,7 +160,7 @@ module.exports = InterfaceController;
diff --git a/docs/util_Util.js.html b/docs/util_Util.js.html index a21b145..e66c61d 100644 --- a/docs/util_Util.js.html +++ b/docs/util_Util.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.2 » Source: util/Util.js + whatsapp-web.js 1.18.3 » Source: util/Util.js @@ -15,7 +15,7 @@ @@ -225,7 +225,7 @@ module.exports = Util;
diff --git a/package.json b/package.json index ef4f250..363e0d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "whatsapp-web.js", - "version": "1.18.3-alpha.0", + "version": "1.18.3", "description": "Library for interacting with the WhatsApp Web API ", "main": "./index.js", "typings": "./index.d.ts", From d9f9c28276a3ce63661193118dd60a774226ea20 Mon Sep 17 00:00:00 2001 From: "Pedro S. Lopez" Date: Sat, 26 Nov 2022 04:38:29 -0400 Subject: [PATCH 2/6] fix: get quoted msg (#1841) --- src/structures/Message.js | 5 +++-- src/util/Injected.js | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/structures/Message.js b/src/structures/Message.js index e8260dd..25f418a 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -305,8 +305,9 @@ class Message extends Base { if (!this.hasQuotedMsg) return undefined; const quotedMsg = await this.client.pupPage.evaluate((msgId) => { - let msg = window.Store.Msg.get(msgId); - return msg.quotedMsgObj().serialize(); + const msg = window.Store.Msg.get(msgId); + const quotedMsg = window.Store.QuotedMsg.getQuotedMsgObj(msg); + return window.WWebJS.getMessageModel(quotedMsg); }, this.id._serialized); return new Message(this.client, quotedMsg); diff --git a/src/util/Injected.js b/src/util/Injected.js index ed0f5dc..bd9316c 100644 --- a/src/util/Injected.js +++ b/src/util/Injected.js @@ -51,6 +51,7 @@ exports.ExposeStore = (moduleRaidStr) => { window.Store.createOrUpdateReactionsModule = window.mR.findModule('createOrUpdateReactions')[0]; window.Store.EphemeralFields = window.mR.findModule('getEphemeralFields')[0]; window.Store.ReplyUtils = window.mR.findModule('canReplyMsg').length > 0 && window.mR.findModule('canReplyMsg')[0]; + window.Store.QuotedMsg = window.mR.findModule('getQuotedMsgObj')[0]; window.Store.StickerTools = { ...window.mR.findModule('toWebpSticker')[0], ...window.mR.findModule('addWebpMetadata')[0] From db55d869f819c62ca56a77427d91966b0b832ec4 Mon Sep 17 00:00:00 2001 From: "Pedro S. Lopez" Date: Sat, 26 Nov 2022 04:44:35 -0400 Subject: [PATCH 3/6] fix: delete messages for everyone (#1842) --- src/structures/Message.js | 3 ++- src/util/Injected.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/structures/Message.js b/src/structures/Message.js index 25f418a..9af132c 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -437,7 +437,8 @@ class Message extends Base { await this.client.pupPage.evaluate((msgId, everyone) => { let msg = window.Store.Msg.get(msgId); - if (everyone && msg._canRevoke()) { + const canRevoke = window.Store.MsgActionChecks.canSenderRevokeMsg(msg) || window.Store.MsgActionChecks.canAdminRevokeMsg(msg); + if (everyone && canRevoke) { return window.Store.Cmd.sendRevokeMsgs(msg.chat, [msg], { type: msg.id.fromMe ? 'Sender' : 'Admin' }); } diff --git a/src/util/Injected.js b/src/util/Injected.js index bd9316c..7ece210 100644 --- a/src/util/Injected.js +++ b/src/util/Injected.js @@ -51,6 +51,7 @@ exports.ExposeStore = (moduleRaidStr) => { window.Store.createOrUpdateReactionsModule = window.mR.findModule('createOrUpdateReactions')[0]; window.Store.EphemeralFields = window.mR.findModule('getEphemeralFields')[0]; window.Store.ReplyUtils = window.mR.findModule('canReplyMsg').length > 0 && window.mR.findModule('canReplyMsg')[0]; + window.Store.MsgActionChecks = window.mR.findModule('canSenderRevokeMsg')[0]; window.Store.QuotedMsg = window.mR.findModule('getQuotedMsgObj')[0]; window.Store.StickerTools = { ...window.mR.findModule('toWebpSticker')[0], From dc91562f3cadfe68adcf4622853fa8d44b3e9ce1 Mon Sep 17 00:00:00 2001 From: "Pedro S. Lopez" Date: Sat, 26 Nov 2022 05:12:54 -0400 Subject: [PATCH 4/6] fix: star/unstar messages (#1843) --- src/structures/Message.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/Message.js b/src/structures/Message.js index 9af132c..ee79c20 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -453,7 +453,7 @@ class Message extends Base { await this.client.pupPage.evaluate((msgId) => { let msg = window.Store.Msg.get(msgId); - if (msg.canStar()) { + if (window.Store.MsgActionChecks.canStarMsg(msg)) { return window.Store.Cmd.sendStarMsgs(msg.chat, [msg], false); } }, this.id._serialized); @@ -466,7 +466,7 @@ class Message extends Base { await this.client.pupPage.evaluate((msgId) => { let msg = window.Store.Msg.get(msgId); - if (msg.canStar()) { + if (window.Store.MsgActionChecks.canStarMsg(msg)) { return window.Store.Cmd.sendUnstarMsgs(msg.chat, [msg], false); } }, this.id._serialized); From a15f1b8428bf420152268b4b17a76fe19efe8b9d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 26 Nov 2022 05:26:46 -0400 Subject: [PATCH 5/6] Update supported WhatsApp Web version to v2.2245.9 (#1764) Co-authored-by: pedroslopez --- README.md | 2 +- tools/version-checker/.version | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c26079d..3824f63 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![npm](https://img.shields.io/npm/v/whatsapp-web.js.svg)](https://www.npmjs.com/package/whatsapp-web.js) [![Depfu](https://badges.depfu.com/badges/4a65a0de96ece65fdf39e294e0c8dcba/overview.svg)](https://depfu.com/github/pedroslopez/whatsapp-web.js?project_id=9765) ![WhatsApp_Web 2.2241.6](https://img.shields.io/badge/WhatsApp_Web-2.2241.6-brightgreen.svg) [![Discord Chat](https://img.shields.io/discord/698610475432411196.svg?logo=discord)](https://discord.gg/H7DqQs4) +[![npm](https://img.shields.io/npm/v/whatsapp-web.js.svg)](https://www.npmjs.com/package/whatsapp-web.js) [![Depfu](https://badges.depfu.com/badges/4a65a0de96ece65fdf39e294e0c8dcba/overview.svg)](https://depfu.com/github/pedroslopez/whatsapp-web.js?project_id=9765) ![WhatsApp_Web 2.2245.9](https://img.shields.io/badge/WhatsApp_Web-2.2245.9-brightgreen.svg) [![Discord Chat](https://img.shields.io/discord/698610475432411196.svg?logo=discord)](https://discord.gg/H7DqQs4) # whatsapp-web.js A WhatsApp API client that connects through the WhatsApp Web browser app diff --git a/tools/version-checker/.version b/tools/version-checker/.version index 0b7f6f6..53ab36c 100644 --- a/tools/version-checker/.version +++ b/tools/version-checker/.version @@ -1 +1 @@ -2.2241.6 \ No newline at end of file +2.2245.9 \ No newline at end of file From 6fe1017bd3e422f6dad5a57efbffc16f85391340 Mon Sep 17 00:00:00 2001 From: Pedro Lopez Date: Sat, 26 Nov 2022 05:27:37 -0400 Subject: [PATCH 6/6] chore: mark version v1.18.4 --- docs/Base.html | 8 ++++---- docs/BaseAuthStrategy.html | 8 ++++---- docs/BusinessContact.html | 8 ++++---- docs/Buttons.html | 8 ++++---- docs/Call.html | 8 ++++---- docs/Chat.html | 8 ++++---- docs/Client.html | 8 ++++---- docs/Client.js.html | 8 ++++---- docs/ClientInfo.html | 8 ++++---- docs/Contact.html | 8 ++++---- docs/GroupChat.html | 8 ++++---- docs/GroupNotification.html | 8 ++++---- docs/InterfaceController.html | 8 ++++---- docs/Label.html | 8 ++++---- docs/LegacySessionAuth.html | 8 ++++---- docs/List.html | 8 ++++---- docs/LocalAuth.html | 8 ++++---- docs/Location.html | 8 ++++---- docs/Message.html | 8 ++++---- docs/MessageMedia.html | 8 ++++---- docs/NoAuth.html | 8 ++++---- docs/Order.html | 8 ++++---- docs/PrivateChat.html | 8 ++++---- docs/PrivateContact.html | 8 ++++---- docs/Product.html | 8 ++++---- docs/Reaction.html | 8 ++++---- docs/RemoteAuth.html | 8 ++++---- docs/Util.html | 8 ++++---- docs/authStrategies_BaseAuthStrategy.js.html | 8 ++++---- docs/authStrategies_LegacySessionAuth.js.html | 8 ++++---- docs/authStrategies_LocalAuth.js.html | 8 ++++---- docs/authStrategies_NoAuth.js.html | 8 ++++---- docs/authStrategies_RemoteAuth.js.html | 8 ++++---- docs/global.html | 8 ++++---- docs/index.html | 12 +++++------ docs/structures_Base.js.html | 8 ++++---- docs/structures_BusinessContact.js.html | 8 ++++---- docs/structures_Buttons.js.html | 8 ++++---- docs/structures_Call.js.html | 8 ++++---- docs/structures_Chat.js.html | 8 ++++---- docs/structures_ClientInfo.js.html | 8 ++++---- docs/structures_Contact.js.html | 8 ++++---- docs/structures_GroupChat.js.html | 8 ++++---- docs/structures_GroupNotification.js.html | 8 ++++---- docs/structures_Label.js.html | 8 ++++---- docs/structures_List.js.html | 8 ++++---- docs/structures_Location.js.html | 8 ++++---- docs/structures_Message.js.html | 20 ++++++++++--------- docs/structures_MessageMedia.js.html | 8 ++++---- docs/structures_Order.js.html | 8 ++++---- docs/structures_Payment.js.html | 8 ++++---- docs/structures_PrivateChat.js.html | 8 ++++---- docs/structures_PrivateContact.js.html | 8 ++++---- docs/structures_Product.js.html | 8 ++++---- docs/structures_ProductMetadata.js.html | 8 ++++---- docs/structures_Reaction.js.html | 8 ++++---- docs/util_Constants.js.html | 8 ++++---- docs/util_InterfaceController.js.html | 8 ++++---- docs/util_Util.js.html | 8 ++++---- package.json | 2 +- 60 files changed, 246 insertions(+), 244 deletions(-) diff --git a/docs/Base.html b/docs/Base.html index a083e1c..53e15f4 100644 --- a/docs/Base.html +++ b/docs/Base.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Base + whatsapp-web.js 1.18.4 » Class: Base @@ -15,7 +15,7 @@ @@ -50,7 +50,7 @@
diff --git a/docs/BaseAuthStrategy.html b/docs/BaseAuthStrategy.html index 4942559..88de5bb 100644 --- a/docs/BaseAuthStrategy.html +++ b/docs/BaseAuthStrategy.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: BaseAuthStrategy + whatsapp-web.js 1.18.4 » Class: BaseAuthStrategy @@ -15,7 +15,7 @@ @@ -50,7 +50,7 @@
diff --git a/docs/BusinessContact.html b/docs/BusinessContact.html index c08a29f..3269010 100644 --- a/docs/BusinessContact.html +++ b/docs/BusinessContact.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: BusinessContact + whatsapp-web.js 1.18.4 » Class: BusinessContact @@ -15,7 +15,7 @@ @@ -326,7 +326,7 @@
diff --git a/docs/Buttons.html b/docs/Buttons.html index 4bca95a..f619730 100644 --- a/docs/Buttons.html +++ b/docs/Buttons.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Buttons + whatsapp-web.js 1.18.4 » Class: Buttons @@ -15,7 +15,7 @@ @@ -234,7 +234,7 @@ Returns: [{ buttonId:'customId',buttonText:{'displayText':&#
diff --git a/docs/Call.html b/docs/Call.html index 1fb3718..1f04939 100644 --- a/docs/Call.html +++ b/docs/Call.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Call + whatsapp-web.js 1.18.4 » Class: Call @@ -15,7 +15,7 @@ @@ -144,7 +144,7 @@
diff --git a/docs/Chat.html b/docs/Chat.html index e1962b8..3efe708 100644 --- a/docs/Chat.html +++ b/docs/Chat.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Chat + whatsapp-web.js 1.18.4 » Class: Chat @@ -15,7 +15,7 @@ @@ -497,7 +497,7 @@
diff --git a/docs/Client.html b/docs/Client.html index 0caa359..60a7217 100644 --- a/docs/Client.html +++ b/docs/Client.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Client + whatsapp-web.js 1.18.4 » Class: Client @@ -15,7 +15,7 @@ @@ -2486,7 +2486,7 @@
diff --git a/docs/Client.js.html b/docs/Client.js.html index cfe0679..8a16378 100644 --- a/docs/Client.js.html +++ b/docs/Client.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: Client.js + whatsapp-web.js 1.18.4 » Source: Client.js @@ -15,7 +15,7 @@ @@ -1224,7 +1224,7 @@ module.exports = Client;
diff --git a/docs/ClientInfo.html b/docs/ClientInfo.html index 672f2e7..f9976b7 100644 --- a/docs/ClientInfo.html +++ b/docs/ClientInfo.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: ClientInfo + whatsapp-web.js 1.18.4 » Class: ClientInfo @@ -15,7 +15,7 @@ @@ -242,7 +242,7 @@
diff --git a/docs/Contact.html b/docs/Contact.html index a217893..515e13b 100644 --- a/docs/Contact.html +++ b/docs/Contact.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Contact + whatsapp-web.js 1.18.4 » Class: Contact @@ -15,7 +15,7 @@ @@ -293,7 +293,7 @@
diff --git a/docs/GroupChat.html b/docs/GroupChat.html index 0cc3764..e00d4ea 100644 --- a/docs/GroupChat.html +++ b/docs/GroupChat.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: GroupChat + whatsapp-web.js 1.18.4 » Class: GroupChat @@ -15,7 +15,7 @@ @@ -941,7 +941,7 @@
diff --git a/docs/GroupNotification.html b/docs/GroupNotification.html index 7988faf..aa4a01c 100644 --- a/docs/GroupNotification.html +++ b/docs/GroupNotification.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: GroupNotification + whatsapp-web.js 1.18.4 » Class: GroupNotification @@ -15,7 +15,7 @@ @@ -233,7 +233,7 @@
diff --git a/docs/InterfaceController.html b/docs/InterfaceController.html index ea2ba99..8b97ada 100644 --- a/docs/InterfaceController.html +++ b/docs/InterfaceController.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: InterfaceController + whatsapp-web.js 1.18.4 » Class: InterfaceController @@ -15,7 +15,7 @@ @@ -382,7 +382,7 @@
diff --git a/docs/Label.html b/docs/Label.html index 923d0a8..7a429f6 100644 --- a/docs/Label.html +++ b/docs/Label.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Label + whatsapp-web.js 1.18.4 » Class: Label @@ -15,7 +15,7 @@ @@ -163,7 +163,7 @@
diff --git a/docs/LegacySessionAuth.html b/docs/LegacySessionAuth.html index d8daea1..65dfb46 100644 --- a/docs/LegacySessionAuth.html +++ b/docs/LegacySessionAuth.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: LegacySessionAuth + whatsapp-web.js 1.18.4 » Class: LegacySessionAuth @@ -15,7 +15,7 @@ @@ -173,7 +173,7 @@
diff --git a/docs/List.html b/docs/List.html index 53a5a87..2033a98 100644 --- a/docs/List.html +++ b/docs/List.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: List + whatsapp-web.js 1.18.4 » Class: List @@ -15,7 +15,7 @@ @@ -256,7 +256,7 @@ Returns: [{'title':'sectionTitle','rows':[{'r
diff --git a/docs/LocalAuth.html b/docs/LocalAuth.html index 3f295bc..2b8c83e 100644 --- a/docs/LocalAuth.html +++ b/docs/LocalAuth.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: LocalAuth + whatsapp-web.js 1.18.4 » Class: LocalAuth @@ -15,7 +15,7 @@ @@ -120,7 +120,7 @@
diff --git a/docs/Location.html b/docs/Location.html index 798db80..7714777 100644 --- a/docs/Location.html +++ b/docs/Location.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Location + whatsapp-web.js 1.18.4 » Class: Location @@ -15,7 +15,7 @@ @@ -149,7 +149,7 @@
diff --git a/docs/Message.html b/docs/Message.html index c9748e5..d63f606 100644 --- a/docs/Message.html +++ b/docs/Message.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Message + whatsapp-web.js 1.18.4 » Class: Message @@ -15,7 +15,7 @@ @@ -650,7 +650,7 @@
diff --git a/docs/MessageMedia.html b/docs/MessageMedia.html index 49d54e7..4213281 100644 --- a/docs/MessageMedia.html +++ b/docs/MessageMedia.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: MessageMedia + whatsapp-web.js 1.18.4 » Class: MessageMedia @@ -15,7 +15,7 @@ @@ -364,7 +364,7 @@
diff --git a/docs/NoAuth.html b/docs/NoAuth.html index f821b5f..178c61e 100644 --- a/docs/NoAuth.html +++ b/docs/NoAuth.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: NoAuth + whatsapp-web.js 1.18.4 » Class: NoAuth @@ -15,7 +15,7 @@ @@ -51,7 +51,7 @@
diff --git a/docs/Order.html b/docs/Order.html index 98ef4d7..7cc6429 100644 --- a/docs/Order.html +++ b/docs/Order.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Order + whatsapp-web.js 1.18.4 » Class: Order @@ -15,7 +15,7 @@ @@ -102,7 +102,7 @@
diff --git a/docs/PrivateChat.html b/docs/PrivateChat.html index e89e6b9..8317e50 100644 --- a/docs/PrivateChat.html +++ b/docs/PrivateChat.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: PrivateChat + whatsapp-web.js 1.18.4 » Class: PrivateChat @@ -15,7 +15,7 @@ @@ -533,7 +533,7 @@
diff --git a/docs/PrivateContact.html b/docs/PrivateContact.html index 1d966cc..98c2ee2 100644 --- a/docs/PrivateContact.html +++ b/docs/PrivateContact.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: PrivateContact + whatsapp-web.js 1.18.4 » Class: PrivateContact @@ -15,7 +15,7 @@ @@ -319,7 +319,7 @@
diff --git a/docs/Product.html b/docs/Product.html index 1605ead..63989ae 100644 --- a/docs/Product.html +++ b/docs/Product.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Product + whatsapp-web.js 1.18.4 » Class: Product @@ -15,7 +15,7 @@ @@ -127,7 +127,7 @@
diff --git a/docs/Reaction.html b/docs/Reaction.html index 61e0c4e..2499d6e 100644 --- a/docs/Reaction.html +++ b/docs/Reaction.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Reaction + whatsapp-web.js 1.18.4 » Class: Reaction @@ -15,7 +15,7 @@ @@ -144,7 +144,7 @@
diff --git a/docs/RemoteAuth.html b/docs/RemoteAuth.html index 28a2eae..6d0db6c 100644 --- a/docs/RemoteAuth.html +++ b/docs/RemoteAuth.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: RemoteAuth + whatsapp-web.js 1.18.4 » Class: RemoteAuth @@ -15,7 +15,7 @@ @@ -148,7 +148,7 @@
diff --git a/docs/Util.html b/docs/Util.html index c9a03b0..e612736 100644 --- a/docs/Util.html +++ b/docs/Util.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Class: Util + whatsapp-web.js 1.18.4 » Class: Util @@ -15,7 +15,7 @@ @@ -243,7 +243,7 @@
diff --git a/docs/authStrategies_BaseAuthStrategy.js.html b/docs/authStrategies_BaseAuthStrategy.js.html index dba1b73..b914c8f 100644 --- a/docs/authStrategies_BaseAuthStrategy.js.html +++ b/docs/authStrategies_BaseAuthStrategy.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: authStrategies/BaseAuthStrategy.js + whatsapp-web.js 1.18.4 » Source: authStrategies/BaseAuthStrategy.js @@ -15,7 +15,7 @@ @@ -65,7 +65,7 @@ module.exports = BaseAuthStrategy;
diff --git a/docs/authStrategies_LegacySessionAuth.js.html b/docs/authStrategies_LegacySessionAuth.js.html index 861fa78..d48570a 100644 --- a/docs/authStrategies_LegacySessionAuth.js.html +++ b/docs/authStrategies_LegacySessionAuth.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: authStrategies/LegacySessionAuth.js + whatsapp-web.js 1.18.4 » Source: authStrategies/LegacySessionAuth.js @@ -15,7 +15,7 @@ @@ -111,7 +111,7 @@ module.exports = LegacySessionAuth;
diff --git a/docs/authStrategies_LocalAuth.js.html b/docs/authStrategies_LocalAuth.js.html index c8cd2ff..ba4c6a6 100644 --- a/docs/authStrategies_LocalAuth.js.html +++ b/docs/authStrategies_LocalAuth.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: authStrategies/LocalAuth.js + whatsapp-web.js 1.18.4 » Source: authStrategies/LocalAuth.js @@ -15,7 +15,7 @@ @@ -91,7 +91,7 @@ module.exports = LocalAuth;
diff --git a/docs/authStrategies_NoAuth.js.html b/docs/authStrategies_NoAuth.js.html index 65269ba..3ad2384 100644 --- a/docs/authStrategies_NoAuth.js.html +++ b/docs/authStrategies_NoAuth.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: authStrategies/NoAuth.js + whatsapp-web.js 1.18.4 » Source: authStrategies/NoAuth.js @@ -15,7 +15,7 @@ @@ -50,7 +50,7 @@ module.exports = NoAuth;
diff --git a/docs/authStrategies_RemoteAuth.js.html b/docs/authStrategies_RemoteAuth.js.html index 90965a2..a9b865e 100644 --- a/docs/authStrategies_RemoteAuth.js.html +++ b/docs/authStrategies_RemoteAuth.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: authStrategies/RemoteAuth.js + whatsapp-web.js 1.18.4 » Source: authStrategies/RemoteAuth.js @@ -15,7 +15,7 @@ @@ -243,7 +243,7 @@ module.exports = RemoteAuth;
diff --git a/docs/global.html b/docs/global.html index 5c2a332..e098ab7 100644 --- a/docs/global.html +++ b/docs/global.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Globals + whatsapp-web.js 1.18.4 » Globals @@ -15,7 +15,7 @@ @@ -2019,7 +2019,7 @@
diff --git a/docs/index.html b/docs/index.html index 3c0349b..875bafe 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Home + whatsapp-web.js 1.18.4 » Home @@ -15,7 +15,7 @@ @@ -27,11 +27,11 @@
-

npm Depfu WhatsApp_Web 2.2241.6 Discord Chat

+

npm Depfu WhatsApp_Web 2.2245.9 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.

@@ -3276,7 +3276,7 @@ client.initialize();
diff --git a/docs/structures_Base.js.html b/docs/structures_Base.js.html index 84d9420..3f8c6f8 100644 --- a/docs/structures_Base.js.html +++ b/docs/structures_Base.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Base.js + whatsapp-web.js 1.18.4 » 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 5627b3a..1107174 100644 --- a/docs/structures_BusinessContact.js.html +++ b/docs/structures_BusinessContact.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/BusinessContact.js + whatsapp-web.js 1.18.4 » Source: structures/BusinessContact.js @@ -15,7 +15,7 @@ @@ -59,7 +59,7 @@ module.exports = BusinessContact;
diff --git a/docs/structures_Buttons.js.html b/docs/structures_Buttons.js.html index 1555c38..62185c1 100644 --- a/docs/structures_Buttons.js.html +++ b/docs/structures_Buttons.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Buttons.js + whatsapp-web.js 1.18.4 » Source: structures/Buttons.js @@ -15,7 +15,7 @@ @@ -120,7 +120,7 @@ module.exports = Buttons;
diff --git a/docs/structures_Call.js.html b/docs/structures_Call.js.html index 15ef35a..b67cda9 100644 --- a/docs/structures_Call.js.html +++ b/docs/structures_Call.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Call.js + whatsapp-web.js 1.18.4 » Source: structures/Call.js @@ -15,7 +15,7 @@ @@ -106,7 +106,7 @@ module.exports = Call;
diff --git a/docs/structures_Chat.js.html b/docs/structures_Chat.js.html index c6352d3..e2f7f71 100644 --- a/docs/structures_Chat.js.html +++ b/docs/structures_Chat.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Chat.js + whatsapp-web.js 1.18.4 » Source: structures/Chat.js @@ -15,7 +15,7 @@ @@ -299,7 +299,7 @@ module.exports = Chat;
diff --git a/docs/structures_ClientInfo.js.html b/docs/structures_ClientInfo.js.html index eb40d8e..a538650 100644 --- a/docs/structures_ClientInfo.js.html +++ b/docs/structures_ClientInfo.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/ClientInfo.js + whatsapp-web.js 1.18.4 » Source: structures/ClientInfo.js @@ -15,7 +15,7 @@ @@ -109,7 +109,7 @@ module.exports = ClientInfo;
diff --git a/docs/structures_Contact.js.html b/docs/structures_Contact.js.html index 52e7611..7ad3563 100644 --- a/docs/structures_Contact.js.html +++ b/docs/structures_Contact.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Contact.js + whatsapp-web.js 1.18.4 » Source: structures/Contact.js @@ -15,7 +15,7 @@ @@ -245,7 +245,7 @@ module.exports = Contact;
diff --git a/docs/structures_GroupChat.js.html b/docs/structures_GroupChat.js.html index e8757ac..bf4daa9 100644 --- a/docs/structures_GroupChat.js.html +++ b/docs/structures_GroupChat.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/GroupChat.js + whatsapp-web.js 1.18.4 » Source: structures/GroupChat.js @@ -15,7 +15,7 @@ @@ -272,7 +272,7 @@ module.exports = GroupChat;
diff --git a/docs/structures_GroupNotification.js.html b/docs/structures_GroupNotification.js.html index 0a924bd..c3e48c5 100644 --- a/docs/structures_GroupNotification.js.html +++ b/docs/structures_GroupNotification.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/GroupNotification.js + whatsapp-web.js 1.18.4 » Source: structures/GroupNotification.js @@ -15,7 +15,7 @@ @@ -143,7 +143,7 @@ module.exports = GroupNotification;
diff --git a/docs/structures_Label.js.html b/docs/structures_Label.js.html index 7caa8bc..750c011 100644 --- a/docs/structures_Label.js.html +++ b/docs/structures_Label.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Label.js + whatsapp-web.js 1.18.4 » Source: structures/Label.js @@ -15,7 +15,7 @@ @@ -88,7 +88,7 @@ module.exports = Label;
diff --git a/docs/structures_List.js.html b/docs/structures_List.js.html index 3c787d8..61531b6 100644 --- a/docs/structures_List.js.html +++ b/docs/structures_List.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/List.js + whatsapp-web.js 1.18.4 » Source: structures/List.js @@ -15,7 +15,7 @@ @@ -118,7 +118,7 @@ module.exports = List;
diff --git a/docs/structures_Location.js.html b/docs/structures_Location.js.html index 202e68d..a161277 100644 --- a/docs/structures_Location.js.html +++ b/docs/structures_Location.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Location.js + whatsapp-web.js 1.18.4 » 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 43e0e02..adc947b 100644 --- a/docs/structures_Message.js.html +++ b/docs/structures_Message.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Message.js + whatsapp-web.js 1.18.4 » Source: structures/Message.js @@ -15,7 +15,7 @@ @@ -336,8 +336,9 @@ class Message extends Base { if (!this.hasQuotedMsg) return undefined; const quotedMsg = await this.client.pupPage.evaluate((msgId) => { - let msg = window.Store.Msg.get(msgId); - return msg.quotedMsgObj().serialize(); + const msg = window.Store.Msg.get(msgId); + const quotedMsg = window.Store.QuotedMsg.getQuotedMsgObj(msg); + return window.WWebJS.getMessageModel(quotedMsg); }, this.id._serialized); return new Message(this.client, quotedMsg); @@ -467,7 +468,8 @@ class Message extends Base { await this.client.pupPage.evaluate((msgId, everyone) => { let msg = window.Store.Msg.get(msgId); - if (everyone &amp;&amp; msg._canRevoke()) { + const canRevoke = window.Store.MsgActionChecks.canSenderRevokeMsg(msg) || window.Store.MsgActionChecks.canAdminRevokeMsg(msg); + if (everyone &amp;&amp; canRevoke) { return window.Store.Cmd.sendRevokeMsgs(msg.chat, [msg], { type: msg.id.fromMe ? 'Sender' : 'Admin' }); } @@ -482,7 +484,7 @@ class Message extends Base { await this.client.pupPage.evaluate((msgId) => { let msg = window.Store.Msg.get(msgId); - if (msg.canStar()) { + if (window.Store.MsgActionChecks.canStarMsg(msg)) { return window.Store.Cmd.sendStarMsgs(msg.chat, [msg], false); } }, this.id._serialized); @@ -495,7 +497,7 @@ class Message extends Base { await this.client.pupPage.evaluate((msgId) => { let msg = window.Store.Msg.get(msgId); - if (msg.canStar()) { + if (window.Store.MsgActionChecks.canStarMsg(msg)) { return window.Store.Cmd.sendUnstarMsgs(msg.chat, [msg], false); } }, this.id._serialized); @@ -569,7 +571,7 @@ module.exports = Message;
diff --git a/docs/structures_MessageMedia.js.html b/docs/structures_MessageMedia.js.html index 65b3615..7518e5a 100644 --- a/docs/structures_MessageMedia.js.html +++ b/docs/structures_MessageMedia.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/MessageMedia.js + whatsapp-web.js 1.18.4 » Source: structures/MessageMedia.js @@ -15,7 +15,7 @@ @@ -150,7 +150,7 @@ module.exports = MessageMedia;
diff --git a/docs/structures_Order.js.html b/docs/structures_Order.js.html index 42a5169..191f812 100644 --- a/docs/structures_Order.js.html +++ b/docs/structures_Order.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Order.js + whatsapp-web.js 1.18.4 » Source: structures/Order.js @@ -15,7 +15,7 @@ @@ -90,7 +90,7 @@ module.exports = Order;
diff --git a/docs/structures_Payment.js.html b/docs/structures_Payment.js.html index 41aafb1..b118b40 100644 --- a/docs/structures_Payment.js.html +++ b/docs/structures_Payment.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Payment.js + whatsapp-web.js 1.18.4 » Source: structures/Payment.js @@ -15,7 +15,7 @@ @@ -118,7 +118,7 @@ module.exports = Payment;
diff --git a/docs/structures_PrivateChat.js.html b/docs/structures_PrivateChat.js.html index 8d7d2a9..72c40a2 100644 --- a/docs/structures_PrivateChat.js.html +++ b/docs/structures_PrivateChat.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/PrivateChat.js + whatsapp-web.js 1.18.4 » 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 88010e7..c072878 100644 --- a/docs/structures_PrivateContact.js.html +++ b/docs/structures_PrivateContact.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/PrivateContact.js + whatsapp-web.js 1.18.4 » Source: structures/PrivateContact.js @@ -15,7 +15,7 @@ @@ -51,7 +51,7 @@ module.exports = PrivateContact;
diff --git a/docs/structures_Product.js.html b/docs/structures_Product.js.html index 6820848..202d07e 100644 --- a/docs/structures_Product.js.html +++ b/docs/structures_Product.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Product.js + whatsapp-web.js 1.18.4 » Source: structures/Product.js @@ -15,7 +15,7 @@ @@ -106,7 +106,7 @@ module.exports = Product;
diff --git a/docs/structures_ProductMetadata.js.html b/docs/structures_ProductMetadata.js.html index 0c6dd41..730925a 100644 --- a/docs/structures_ProductMetadata.js.html +++ b/docs/structures_ProductMetadata.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/ProductMetadata.js + whatsapp-web.js 1.18.4 » Source: structures/ProductMetadata.js @@ -15,7 +15,7 @@ @@ -63,7 +63,7 @@ module.exports = ProductMetadata;
diff --git a/docs/structures_Reaction.js.html b/docs/structures_Reaction.js.html index 21d744b..2308bab 100644 --- a/docs/structures_Reaction.js.html +++ b/docs/structures_Reaction.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: structures/Reaction.js + whatsapp-web.js 1.18.4 » Source: structures/Reaction.js @@ -15,7 +15,7 @@ @@ -107,7 +107,7 @@ module.exports = Reaction;
diff --git a/docs/util_Constants.js.html b/docs/util_Constants.js.html index e67ff21..ffc1ef9 100644 --- a/docs/util_Constants.js.html +++ b/docs/util_Constants.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: util/Constants.js + whatsapp-web.js 1.18.4 » Source: util/Constants.js @@ -15,7 +15,7 @@ @@ -200,7 +200,7 @@ exports.MessageAck = {
diff --git a/docs/util_InterfaceController.js.html b/docs/util_InterfaceController.js.html index 394330a..2d18f56 100644 --- a/docs/util_InterfaceController.js.html +++ b/docs/util_InterfaceController.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: util/InterfaceController.js + whatsapp-web.js 1.18.4 » Source: util/InterfaceController.js @@ -15,7 +15,7 @@ @@ -160,7 +160,7 @@ module.exports = InterfaceController;
diff --git a/docs/util_Util.js.html b/docs/util_Util.js.html index e66c61d..a35663a 100644 --- a/docs/util_Util.js.html +++ b/docs/util_Util.js.html @@ -2,9 +2,9 @@ - + - whatsapp-web.js 1.18.3 » Source: util/Util.js + whatsapp-web.js 1.18.4 » Source: util/Util.js @@ -15,7 +15,7 @@ @@ -225,7 +225,7 @@ module.exports = Util; diff --git a/package.json b/package.json index 363e0d9..450d31f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "whatsapp-web.js", - "version": "1.18.3", + "version": "1.18.4", "description": "Library for interacting with the WhatsApp Web API ", "main": "./index.js", "typings": "./index.d.ts",