mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 03:29:14 +00:00
Format phone numbers (#650)
* 📦 Declared NumberInfo in store * 📝 Add client.js functionality * 🚨 eslint just admires singlequote strings * 📝 Add shortcuts to using client method * ♿ Adding parity between the ids * ♿ Same method name parity * 🚨 ESLint indentation error. * 🚨 ESLint doublequote string error. * 🎨 Proposed changes * 🎨 Fixed badly done code :v and applied proposed changes. * ⚡ fixed calling the wrong function (sigh) * ⚡ Fixed missing try-catch code. * 🚨 Fixes ESLint indentation errors. * ⚡ fix the documentation issues. * 🏷️ typescript * 🏷️ Typo in function name Co-authored-by: Rajeh Taher <rajeh@reforward.tk>
This commit is contained in:
@@ -21,6 +21,7 @@ exports.ExposeStore = (moduleRaidStr) => {
|
||||
window.Store.MediaPrep = window.mR.findModule('MediaPrep')[0];
|
||||
window.Store.MediaObject = window.mR.findModule('getOrCreateMediaObject')[0];
|
||||
window.Store.MediaUpload = window.mR.findModule('uploadMedia')[0];
|
||||
window.Store.NumberInfo = window.mR.findModule('formatNumber')[0];
|
||||
window.Store.Cmd = window.mR.findModule('Cmd')[0].default;
|
||||
window.Store.MediaTypes = window.mR.findModule('msgToMediaType')[0];
|
||||
window.Store.VCard = window.mR.findModule('vcardFromContactModel')[0];
|
||||
|
||||
Reference in New Issue
Block a user