From 82120f0446170b14d3ffa18c8fd65d418d7f2fb6 Mon Sep 17 00:00:00 2001 From: Felipe Martins Date: Sun, 13 Nov 2022 08:36:06 -0300 Subject: [PATCH 1/2] Fix GroupMetadata module (#1789) * Fix GroupMetadata module * Update src/util/Injected.js Co-authored-by: Felipe Martins Co-authored-by: Rajeh Taher --- src/util/Injected.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Injected.js b/src/util/Injected.js index c513373..ed0f5dc 100644 --- a/src/util/Injected.js +++ b/src/util/Injected.js @@ -14,7 +14,7 @@ exports.ExposeStore = (moduleRaidStr) => { window.Store.CryptoLib = window.mR.findModule('decryptE2EMedia')[0]; window.Store.DownloadManager = window.mR.findModule('downloadManager')[0].downloadManager; window.Store.Features = window.mR.findModule('FEATURE_CHANGE_EVENT')[0].LegacyPhoneFeatures; - window.Store.GroupMetadata = window.mR.findModule((module) => module.default && module.default.handlePendingInvite)[0].default; + window.Store.GroupMetadata = window.mR.findModule('GroupMetadata')[0].default.GroupMetadata; window.Store.Invite = window.mR.findModule('sendJoinGroupViaInvite')[0]; window.Store.InviteInfo = window.mR.findModule('sendQueryGroupInvite')[0]; window.Store.Label = window.mR.findModule('LabelCollection')[0].LabelCollection; From e8bae22b0317cded6065fda32bba761734fc5cd6 Mon Sep 17 00:00:00 2001 From: WWebJS Bot Date: Sun, 13 Nov 2022 17:54:03 +0000 Subject: [PATCH 2/2] 1.18.3-alpha.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 90094ea..ef4f250 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "whatsapp-web.js", - "version": "1.18.2", + "version": "1.18.3-alpha.0", "description": "Library for interacting with the WhatsApp Web API ", "main": "./index.js", "typings": "./index.d.ts",