Git Product home page Git Product logo

Comments (4)

icleitoncosta avatar icleitoncosta commented on September 24, 2024 1

Alright, we've seen more issues like this before, and they were resolved by updating the project dependencies. Please use the latest version (3.1.0).

https://github.com/wppconnect-team/wa-js/releases/tag/v3.1.0

from wa-js.

jchiavellibr avatar jchiavellibr commented on September 24, 2024 1

Version 3.1.0 fixed the issue.
Thank you very much!

from wa-js.

icleitoncosta avatar icleitoncosta commented on September 24, 2024

Hi, I tried to reproduce your error here, but without success. I used the same version, injected, logged in, pasted image, sent by selecting through the menu, sent via WPP, and no error was presented. Could you provide more details on how you are injecting, or if this error was a temporary one?

from wa-js.

jchiavellibr avatar jchiavellibr commented on September 24, 2024

I discovered that the problem only happens in groups, and is not restricted to images, but to messages as well.

I'm using the library in an extension, and I inject it as follows:

[parasite.js]
...
async function load() {
setTimeout(async ()=>{
await import("./wppconnect-wa.js");
await import("../main.js");
} , 1000);
}
...

No errors are shown in the console when the problem happens.
The library is loading normally:
image

In the previous version of lib, the problem did not occur. To generate a new version of the extension, I just replaced the "wppconnect-wa.js" file with the new one (2.28.1) and recompiled the project.

from wa-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.