Wellington Capoia
Explore posts from serversNNuxt
â¢Created by Wellington Capoia on 10/23/2024 in #âã»help
How to encrypt on the frontend without exposing the key
I need to encrypt the user's password to send to the backend (and then I will decrypt and encrypt it again with Argon2) because when I send it unencrypted in the browser's network tab, it is exposed. However, whenever I try, I always run into the problem that the key used for encryption/decryption is exposed on the frontend. If I set it as a PRIVATE ENV variable, I can only access it on the Nuxt server, which is also a problem since it will display the text/password that I want to encrypt in the request to the server. How should I do this?
13 replies
TTypebot
â¢Created by Wellington Capoia on 8/26/2024 in #help-and-questions
Can I send a flow via the API via WhatsApp?
Hello, I have a self-hosted typebot and I would like to know if it is possible to send a flow via WhatsApp (official API) using the API? An "active" sending.
2 replies
PD𧩠Plasmo Developers
â¢Created by Wellington Capoia on 8/6/2024 in #ðframework
different WINDOW variables
I have a script that creates an object that I need to use inside the window variable. I insert this script like this:
Then, inside some method or hook of vue I try to use the window.WPP object, but it doesn't exist, but if I type it in the console it does exist.
I've already tried using world: MAIN but it still doesn't work!
2 replies
PD𧩠Plasmo Developers
â¢Created by Wellington Capoia on 7/18/2024 in #ðframework
Refused to evaluate a string as JavaScript
Hello, I'm trying to use Vue with the Vuelidate library to validate my inputs, but when I try to validate it gives me the error:
Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self' http://localhost".
How would I go about resolving this?
If relevant, follow the code:
3 replies
TTypebot
â¢Created by Wellington Capoia on 5/6/2024 in #help-and-questions
Correct way to upload a block to official git
Hello, I have a CRM and I ended up developing an integration between it and typebot (lead creation and updating), and I would like to make it available to the public.
Reading the documentation it says to open an issue first, to check if everything is correct, but I don't know exactly what I need to put in this issue, and I'm afraid of opening it wrong.
What do I need to inform in the issue? Where do I put my code for evaluation? Do I do PR first?
3 replies
TTypebot
â¢Created by Wellington Capoia on 5/2/2024 in #help-and-questions
After reloading the page, the fetchers values come with the value, not the label.

6 replies
TTypebot
â¢Created by Wellington Capoia on 5/2/2024 in #help-and-questions
Is possible to change option value in fetcher?

4 replies
TTypebot
â¢Created by Wellington Capoia on 4/25/2024 in #help-and-questions
Error saving credential (Invalid discriminator value)

8 replies
PD𧩠Plasmo Developers
â¢Created by Wellington Capoia on 8/29/2023 in #ðframework
XMLHttpRequests
hello, I need to use a library to interact with the google sheet api, and it uses axios that uses XMLHttpRequests, how would I make it work inside the messages in background >messages ?!
2 replies
PD𧩠Plasmo Developers
â¢Created by Wellington Capoia on 8/20/2023 in #ðframework
Watch STORAGE from CSUI or Send message from backgrounds to CSUI
Hello, I have a CSUI with these settings:
{
matches: ["https://web.whatsapp.com/"],
all_frames: true,
world: "MAIN",
}
What I need is that when changing something in the popup my CSUI is warned, I thought of solving this in two ways: watch storage or send messages from the popup/background to the CSUI.
The problem is: I can only use the storage inside the backgrounds (message or port) and I couldn't in any way send a message from the backgrounds to the CSUI.
Any suggestion?3 replies
PD𧩠Plasmo Developers
â¢Created by Wellington Capoia on 8/19/2023 in #ð°newbie
Extension runtime is not available
Hi when i try to send a message from a CSUI to a background throws an error "rror: Extension runtime is not available"
How do I communicate from a csui with the rest of the application?
3 replies
PD𧩠Plasmo Developers
â¢Created by Wellington Capoia on 8/16/2023 in #ðframework
Extension runtime is not available
Hi when i try to send a message from a CSUI to a background throws an error "rror: Extension runtime is not available"
How do I communicate from a csui with the rest of the application?
3 replies
PD𧩠Plasmo Developers
â¢Created by Wellington Capoia on 8/15/2023 in #ðframework
can i send a message from a CSUI directly to popup.ts and vice versa?
Hello, can I send messages directly from CSUI to popup.ts? or do I really need to create the message inside the background folder and then send it to where I want it?!
2 replies
PD𧩠Plasmo Developers
â¢Created by Wellington Capoia on 8/14/2023 in #ðframework
How to use a component library on Contents?
Hello, I would like to use a component package (https://primevue.org/) inside the content folder files.
To add to popup/options/newtab etc we have a defineOptions method:
Where can I setup primevue correctly. But within the files of the Content folder this does not work, I use the same code but the components do not appear.
Would you have any practical examples of how to use the component library within the contents?
21 replies
NNuxt
â¢Created by Wellington Capoia on 3/2/2023 in #âã»help
How to use asset as background image on style inline?

4 replies
NNuxt
â¢Created by Wellington Capoia on 12/9/2022 in #âã»help
Service workers
Hi guys, i`m trying to implement Pusher on my nuxt application, but i cant find anything online about it (only vue2).
The first thing that i need to do is register a service worker, i see in the nuxt3 docs that server engine have suporte to it, but i cant find exemples to how to implement it, someone can help me ?
1 replies
NNuxt
â¢Created by Wellington Capoia on 11/24/2022 in #âã»help
UseCookie has a nesting limit?
Hello, I'm trying to persist the store (pinia) but I was having trouble adding an object like this to the cookies:
https://api.jsonbin.io/v3/qs/637fb32c65b57a31e6c26bfb
However if I delete the array of users it creates the cookie normally, when not deleted it simply generates no error but also does not create the cookie.
(Note: I was doing it by hand, because all the existing persistence libraries weren't persisting, probably due to the same problem, after all they all use nuxt's composable.
4 replies