release: WRNexusJS 0.8.0
This commit is contained in:
@@ -360,3 +360,14 @@ const engine = createCaptchaEngine({ secret, generators: [wordChallenge] });
|
||||
```
|
||||
|
||||
Applications may also implement `CaptchaStore`, `CaptchaAudioRenderer`, or use `defineCaptchaProvider()` for a completely custom service.
|
||||
|
||||
## Helper and block kit
|
||||
|
||||
The package exports `captchaTokenFrom`, `captchaHeaders`, `captchaFields`, `verifyCaptcha`, `verifyCaptchaOrThrow`, `captchaResultResponse`, and `captchaContext` for consistent server and client integration.
|
||||
|
||||
Enable the CAPTCHA plugin to use the low-level `<Captcha />` challenge plus complete UI-composed blocks:
|
||||
|
||||
- `<CaptchaField />`
|
||||
- `<CaptchaStatus />`
|
||||
|
||||
`CaptchaField` composes `Card` from `@wrnexus/ui` and keeps the CAPTCHA-specific size separate from the surrounding UI size.
|
||||
|
||||
Reference in New Issue
Block a user