Skip to content

Commit dedc9fd

Browse files
authored
Update referenced SDK versions (#80)
1 parent 061558c commit dedc9fd

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

docs/getting-started/install.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ To create widgets from Javascript code, [see **Option B** below](#option-b-progr
1616

1717
Add the following to your website's HTML:
1818
```html
19-
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].31/site.min.js" async defer></script>
20-
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].31/site.compat.min.js" async defer></script>
19+
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].36/site.min.js" async defer></script>
20+
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].36/site.compat.min.js" async defer></script>
2121
```
2222

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

26-
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/[email protected].31/) and serve them from your own server.
26+
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/[email protected].36) and serve them from your own server.
2727
Remember to update these scripts regularly.
2828

2929
`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.

docs/guides/migrating-from-hcaptcha.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ Instead you would replace the hCaptcha plugin and install a plugin that supports
3333
```
3434
with the hCAPTCHA-compatible Friendly Captcha scripts.
3535
```html
36-
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].31/contrib/hcaptcha-site.min.js"
36+
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].36/contrib/hcaptcha-site.min.js"
3737
async defer></script>
38-
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].31/contrib/hcaptcha-site.compat.min.js"
38+
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].36/contrib/hcaptcha-site.compat.min.js"
3939
async defer></script>
4040
```
4141

docs/guides/migrating-from-recaptcha.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Instead you would replace the reCAPTCHA plugin and install a plugin that support
3232
```
3333
with the reCAPTCHA-compatible Friendly Captcha scripts.
3434
```html
35-
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].31/contrib/recaptcha-site.min.js"
35+
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].36/contrib/recaptcha-site.min.js"
3636
async defer></script>
37-
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].31/contrib/recaptcha-site.compat.min.js"
37+
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].36/contrib/recaptcha-site.compat.min.js"
3838
async defer></script>
3939
```
4040

docs/guides/upgrading-from-v1/script.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Replace the `friendly-challenge` scripts
1313
```
1414
with the new `@friendlycaptcha/sdk` scripts
1515
```html
16-
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].31/site.min.js"
16+
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].36/site.min.js"
1717
async defer></script>
18-
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].31/site.compat.min.js"
18+
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].36/site.compat.min.js"
1919
async defer></script>
2020
```
2121
## 2. 🇪🇺 Update custom API endpoints

0 commit comments

Comments
 (0)