-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught ReferenceError: webpackChunkwhatsapp_web_client is not defined #1191
Comments
same here |
The problem is also happening here after version 2.3000.1012482514 |
I read about an workaround to get the older version while it is not possible to find a solution |
How implement it in this resport?
El El mié, 3 abr 2024 a las 12:50, Andre Borges ***@***.***>
escribió:
… I read about an workaround to get the older version while it is not
possible to find a solution
pedroslopez/whatsapp-web.js#2789 (comment)
<pedroslopez/whatsapp-web.js#2789 (comment)>
—
Reply to this email directly, view it on GitHub
<#1191 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVMMGAWPZ7IFIMAOXIGPHLY3PNGFAVCNFSM6AAAAABFRMTD6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZUGIZTGOJZHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Same error.. |
I'm working on the solution. `
` |
can check this updated wapi.js file : |
Ok, it worked for me. Thanks a lot |
javascript error: Unexpected token '<'\n (Session info: chrome=123.0.6312.106) |
Work for me
El jue, 4 abr 2024 a las 12:33, mraakashjoshi ***@***.***>)
escribió:
… can check this updated wapi.js file :
https://github.com/mikelustosa/Projeto-TInject/blob/master/Source/JS/js.abr
javascript error: Unexpected token '<'\n (Session info:
chrome=123.0.6312.106)
getting this error
—
Reply to this email directly, view it on GitHub
<#1191 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVMMGE65ETEKD4DUDFKMQTY3UT77AVCNFSM6AAAAABFRMTD6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZWHAYDEOBVGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
can you please give me your JS path? In which language are you using? |
Hi, I'm sending some improvement. The API was slow and to solve that, I joined the previous code with the new one. `//Version_JS;Version_TInjectMin;Version_CEF4Min; const newMakeStore = () => {
} newMakeStore() function findVal(object, key) { window.WAPI = { window.WAPI._serializeRawObj = (obj) => { /** window.WAPI._serializeChatObj = (obj) => { return Object.assign(window.WAPI._serializeRawObj(obj), { window.WAPI._serializeContactObj = (obj) => { return Object.assign(window.WAPI._serializeRawObj(obj), { window.WAPI._serializeMessageObj = (obj) => { if (obj == undefined) { window.WAPI._serializeNumberStatusObj = (obj) => { return Object.assign({}, { window.WAPI._serializeProfilePicThumb = (obj) => { return Object.assign({}, { window.WAPI.createGroup = function (name, contactsId) { return window.Store.Wap.createGroup(name, contactsId); window.WAPI.leaveGroup = function (groupId) { window.WAPI.getAllContacts = function (done) { if (done !== undefined) done(contacts); /**
/**
if (done !== undefined) done(window.WAPI._serializeContactObj(found)) /**
if (done !== undefined) done(chats); window.WAPI.haveNewMsg = function (chat) { window.WAPI.getAllChatsWithNewMsg = function (done) { if (done !== undefined) done(chats); /**
if (done !== undefined) done(chatIds); /**
if (done !== undefined) done(groups); /**
window.WAPI.getChatByName = function (name, done) { window.WAPI.sendImageFromDatabasePicBot = function (picId, chatId, caption) { if (msgWithImg === undefined) { // Nova versão Beta
} else {
} window.WAPI.sendMessageWithThumb = function (thumb, url, title, description, text, chatId, done) { window.WAPI.getNewId = function () { for (var i = 0; i < 20; i++) window.WAPI.getChatById = function (id, done) { if (done !== undefined) done(found); /**
// initialize result list // look for unread messages, newest is at the end of array
} /**
/**
window.WAPI.asyncLoadAllEarlierMessages = function (id, done) { window.WAPI.areAllMessagesLoaded = function (id, done) { /**
window.WAPI.loadEarlierMessagesTillDate = function (id, lastMessage, done) { /**
if (done !== undefined) done(groupData); /**
if (output !== undefined) { if (done !== undefined) done(output); }; /**
/**
if (done !== undefined) done(output); window.WAPI.getGroupAdmins = async function (id, done) { if (done !== undefined) done(output); /**
window.WAPI.isLoggedIn = function (done) { if (done !== undefined) done(isLogged); window.WAPI.isConnected = function (done) { if (done !== undefined) done(isConnected); window.WAPI.processMessageObj = function (messageObj, includeMe, includeNotifications) { window.WAPI.getAllMessagesInChat = function (id, includeMe, includeNotifications, done) { for (const i in messages) {
} window.WAPI.getAllMessageIdsInChat = function (id, includeMe, includeNotifications, done) { for (const i in messages) { window.WAPI.getMessageById = function (id, done) { if (done !== undefined) { window.WAPI.ReplyMessage = function (idMessage, message, done) { const chat = WAPI.getChat(messageObject.chat.id)
} else { window.WAPI.sendMessageToID = function (id, message, done) { try {
} window.WAPI.sendMessage = function (id, message, done) {
} else { window.WAPI.sendMessage2 = function (id, message, done) { window.WAPI.sendSeen = function (id, done) { function isChatMessage(message) { window.WAPI.getUnreadMessages = function (includeMe, includeNotifications, use_unread_count, done) { for (let chat in chats) {
} window.WAPI.getGroupOwnerID = async function (id, done) { }; window.WAPI.getCommonGroups = async function (id, done) { groups = window.WAPI.getAllGroups(); for (let idx in groups) { if (done !== undefined) { window.WAPI.getProfilePicSmallFromId = function (id, done) { window.WAPI.getProfilePicFromId = function (id, done) { window.WAPI.downloadFileWithCredentials = function (url, done) { xhr.onload = function () { xhr.open("GET", url, true); window.WAPI.downloadFile = function (url, done) { xhr.onload = function () { xhr.open("GET", url, true); window.WAPI.getBatteryLevel = function (done) { window.WAPI.deleteConversation = function (chatId, done) { if (!conversation) { window.Store.sendDelete(conversation, false).then(() => { return true; window.WAPI.deleteMessage = function (chatId, messageArray, revoke = false, done) { if (!conversation) { if (!Array.isArray(messageArray)) { if (revoke) { if (done !== undefined) { return true; window.WAPI.isMultiDeviceVersion = function () { window.WAPI.getMyChatId = () => { window.WAPI.checkNumberStatus = function (id, done) { return true; window.WAPI.findJidFromNumber = (number) => { window.WAPI.tryFixNumber = (number) => { /**
window.Store.Msg.off('add'); window.WAPI._newMessagesListener = window.Store.Msg.on('add', (newMessage) => {
} window.WAPI._unloadInform = (event) => { // Inform callbacks that the page will be reloaded. window.addEventListener("unload", window.WAPI._unloadInform, false); /**
/**
window.WAPI.sendImage = function (imgBase64, chatid, filename, caption, done) { window.WAPI.base64ImageToFile = function (b64Data, filename) { while (n--) { return new File([u8arr], filename, { type: mime }); /**
if (contact.length > 1) { /**
newMsgId.fromMe = true; return newMsgId; /**
var extend = { if (Array.isArray(vcard)) {
} else {
} Object.assign(tempMsg, extend); chat.addAndSendMsg(tempMsg);
/**
/**
/**
|
FTFY: minified JS → Gzip'ped → Base64-encoded, for quick 'n easy copypasta
|
|
Hello,
I don't know, my whatsapp version is changed from 2.2412.50 to 2.3000.1012373576
that is giving me error in wapi.js:
webpackChunkwhatsapp_web_client is not defined.
can help me figure it out please ?
The text was updated successfully, but these errors were encountered: