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
6 changes: 3 additions & 3 deletions docs/getting-started/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ To create widgets from Javascript code, [see **Option B** below](#option-b-progr

Add the following to your website's HTML:
```html
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.36/site.min.js" async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.36/site.compat.min.js" async defer></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.2.0/site.min.js" async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.2.0/site.compat.min.js" async defer></script>
```

::::tip
#### Using the scripts without a CDN (i.e. self-hosting)

Using `cdn.jsdelivr.net` is optional. If preferred, you can self-host the scripts. [Download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.36) and serve them from your own server.
Using `cdn.jsdelivr.net` is optional. If preferred, you can self-host the scripts. [Download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.2.0) and serve them from your own server.
Remember to update these scripts regularly.

`cdn.jsdelivr.net` is blocked in some jurisdictions, like some parts of China. If your website needs to be reachable from these jurisdictions, we recommend that you self-host the scripts.
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/migrating-from-hcaptcha.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Instead you would replace the hCaptcha plugin and install a plugin that supports
```
with the hCAPTCHA-compatible Friendly Captcha scripts.
```html
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.36/contrib/hcaptcha-site.min.js"
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.2.0/contrib/hcaptcha-site.min.js"
async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.36/contrib/hcaptcha-site.compat.min.js"
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.2.0/contrib/hcaptcha-site.compat.min.js"
async defer></script>
```

Expand Down
4 changes: 2 additions & 2 deletions docs/guides/migrating-from-recaptcha.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ Instead you would replace the reCAPTCHA plugin and install a plugin that support
```
with the reCAPTCHA-compatible Friendly Captcha scripts.
```html
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.36/contrib/recaptcha-site.min.js"
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.2.0/contrib/recaptcha-site.min.js"
async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.36/contrib/recaptcha-site.compat.min.js"
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.2.0/contrib/recaptcha-site.compat.min.js"
async defer></script>
```

Expand Down
4 changes: 2 additions & 2 deletions docs/guides/upgrading-from-v1/script.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Replace the `friendly-challenge` scripts
```
with the new `@friendlycaptcha/sdk` scripts
```html
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.36/site.min.js"
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.2.0/site.min.js"
async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.36/site.compat.min.js"
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.2.0/site.compat.min.js"
async defer></script>
```
## 2. 🇪🇺 Update custom API endpoints
Expand Down