Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"name": "docs",
"version": "2.1.0",
"version": "2.1.1",
"private": true,
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"build:cjs": "echo 'no cjs build'",
"test": "echo 'No test specified'",
"preview": "astro preview",
"check": "astro check",
"format": "pnpm run format:code",
Expand Down
Binary file modified src/assets/portal-user-info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/content/docs/en/basics/captcha-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,14 @@ A Proof of Work (PoW) CAPTCHA challenge requires the user to solve a computation

<Image src={ProcaptchaGIF} alt={'prosopo procaptcha pow captcha challenge'} />

The Proof of Work CAPTCHA type does not interrogate the user's browser environment, use `frictionless` for that (above).

## Image CAPTCHA

An image CAPTCHA challenge requires the user to select the correct image(s) that match the given prompt.

<Image
src={ImageCaptcha}
alt="prosopo procaptcha image captcha challenge" />

The Image CAPTCHA type does not interrogate the user's browser environment, use `frictionless` for that (above).
1 change: 1 addition & 0 deletions src/content/docs/en/basics/client-side-rendering.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ following fields:
| open-callback | string or function | The name of the window function, or a function, that will be called when the CAPTCHA is opened. | ✗ |
| expired-callback | string or function | The name of the window function, or a function, that will be called when the CAPTCHA solution expires. | ✗ |
| challenge-valid-length | number | The amount of time, in milliseconds, a successful CAPTCHA challenge is valid for. Defaults to 2 minutes. | ✗ |
| language | string | The language of the CAPTCHA widget. The default is `en`. | ✗ |

The same options can be passed to the implicit rendering method by adding them as data attributes to the `.procaptcha`.
For example, to set the theme to dark, you would add `data-theme="dark"` to the `.procaptcha` container.
Expand Down
10 changes: 10 additions & 0 deletions src/content/docs/en/basics/faq.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Frequently Asked Questions
i18nReady: true
---

## What does Site Key not Registered mean?
You may encounter this error when you set up the Procaptcha widget on your website. This error occurs when the site key
you are using is not registered in the Prosopo system. To resolve this error, click the Activation link in the email
or <a href="mailto:support@prosopo.io">contact the Prosopo support team</a>.

5 changes: 5 additions & 0 deletions src/i18n/en/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ export default [
slug: 'basics/timeouts',
key: 'basics/timeouts',
},
{
text: 'Frequently Asked Questions',
slug: 'basics/faq',
key: 'basics/faq',
},
{ text: 'Demos', header: true, type: 'learn', key: 'demos' },
{
text: 'React Frontend Client Example',
Expand Down