You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to integrate this into a websockets project that has no form tag. The challenge comes in via websockets, the user solves the challenge and the result is sent out via websockets to a server that verifies it.
First off, this project is fantastic, thank you!
Feature Request:
I'm trying to integrate this into a websockets project that has no form tag. The challenge comes in via websockets, the user solves the challenge and the result is sent out via websockets to a server that verifies it.
This code works:
but it's pretty clunky using the dom when I don't need to. Is it possible to have something like this:
const result = await altcha.solve(challenge)
or maybe with a callback?
altcha.solve(challenge, (result)=>{
console.log('altcha done')
})
The text was updated successfully, but these errors were encountered: