whatsapp-web-reveng icon indicating copy to clipboard operation
whatsapp-web-reveng copied to clipboard

[Not-A-Bug] New module for JS API Wap methods (aka window.Store.Wap)

Open HeiVask opened this issue 6 years ago • 8 comments
trafficstars

After a new API update, again, this changed. Now the module name is bihdhbjih.

window.Store = {};
window.Store.Wap = webpackJsonp([], null, ["bihdhbjih"]).default;

HeiVask avatar Oct 09 '19 07:10 HeiVask

This drove me mad the past hour. You're a hero. Thank you!

darioackermann avatar Oct 09 '19 08:10 darioackermann

Hi, I'm facing an issue with changing the module name. can anyone explain how to change the module name to bihdhbjih ?

Thanks in advance

mohammadmaleh avatar Oct 09 '19 12:10 mohammadmaleh

Hi, I'm facing an issue with changing the module name. can anyone explain how to change the module name to bihdhbjih ?

Thanks in advance

how are you currently loading the store object?

darioackermann avatar Oct 09 '19 13:10 darioackermann

@HeiVask thanks, and for now it works. But how do you find this "bihdhbjih" string from whatsapp web? I think the version may update anytime so we should have a way to always get the "key" string. Thanks~

yg0x01 avatar Oct 27 '19 03:10 yg0x01

@HeiVask thanks, and for now it works. But how do you find this "bihdhbjih" string from whatsapp web? I think the version may update anytime so we should have a way to always get the "key" string. Thanks~

Unfortunately, AFAIK, there's no a way as such. I've found it just looking for known methods from Wap object (like "queryExists") in the source code 😅

HeiVask avatar Oct 28 '19 07:10 HeiVask

@HeiVask OK, Thanks a lot.:smile:

yg0x01 avatar Oct 29 '19 03:10 yg0x01

how it do now?

best-tech avatar Apr 17 '20 21:04 best-tech

@best-tech Check this: https://github.com/Theblood/Wapi_NEW/blob/master/wapi.js. WAP methods will be stored in window.Store.WapQuery.

HeiVask avatar Apr 20 '20 06:04 HeiVask