Skip to content

Commit

Permalink
Bump SDK version in docs to 0.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
gzuidhof committed Nov 28, 2024
1 parent 69f8568 commit f150bd0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 17 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].9/site.min.js" async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/site.compat.min.js" async defer></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/site.min.js" async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/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].9/) and serve them from your own server.
You can [download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/) 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].9/contrib/hcaptcha-site.min.js"
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/contrib/hcaptcha-site.min.js"
async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/contrib/hcaptcha-site.compat.min.js"
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/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].9/contrib/recaptcha-site.min.js"
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/contrib/recaptcha-site.min.js"
async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/contrib/recaptcha-site.compat.min.js"
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/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].9/site.min.js"
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/site.min.js"
async defer></script>
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].9/site.compat.min.js"
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected].10/site.compat.min.js"
async defer></script>
```
## 2. 🇪🇺 Update custom API endpoints
Expand Down
15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.5.2",
"@friendlycaptcha/sdk": "^0.1.9",
"@friendlycaptcha/sdk": "^0.1.10",
"@tsconfig/docusaurus": "^1.0.5",
"search-insights": "^2.17.2",
"typescript": "^4.7.4"
Expand Down

0 comments on commit f150bd0

Please sign in to comment.