Skip to content

Commit

Permalink
Upgrade SDK version in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
greenberga committed Jan 24, 2025
1 parent 9779b5f commit d50712f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
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/[email protected].11/site.min.js" async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].11/site.compat.min.js" async defer></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].16/site.min.js" async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].16/site.compat.min.js" async defer></script>
```

::::tip
#### Using the scripts without a CDN

You can [download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].11/) and serve them from your own server.
You can [download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].16/) and serve them from your own server.
Remember to update these scripts regularly.
::::

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/[email protected].11/contrib/hcaptcha-site.min.js"
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].16/contrib/hcaptcha-site.min.js"
async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].11/contrib/hcaptcha-site.compat.min.js"
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].16/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/[email protected].11/contrib/recaptcha-site.min.js"
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].16/contrib/recaptcha-site.min.js"
async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].11/contrib/recaptcha-site.compat.min.js"
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].16/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/[email protected].11/site.min.js"
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].16/site.min.js"
async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].11/site.compat.min.js"
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].16/site.compat.min.js"
async defer></script>
```
## 2. 🇪🇺 Update custom API endpoints
Expand Down

0 comments on commit d50712f

Please sign in to comment.