Skip to content

Commit 843587e

Browse files
authored
Merge pull request #49 from FriendlyCaptcha/fix-timestamp-field-format
Fix timestamp field format
2 parents 48a88f7 + d094820 commit 843587e

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

docs/api/siteverify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The response body is a JSON object which has a `success` field that tells you wh
2929
"success": true,
3030
"data": {
3131
"challenge": {
32-
"timestamp": "2023-08-04T13:01:25Z", // Timestamp when the captcha challenge was completed.
32+
"timestamp": "2025-03-18T13:01:25Z", // ISO 8601 timestamp when the captcha challenge was completed.
3333
"origin": "https://example.com" // Origin where the challenge happened. This can be empty if unknown.
3434
}
3535
}

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/sdk@0.1.19/site.min.js" async defer></script>
20-
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.19/site.compat.min.js" async defer></script>
19+
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.20/site.min.js" async defer></script>
20+
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.20/site.compat.min.js" async defer></script>
2121
```
2222

2323
::::tip
2424
#### Using the scripts without a CDN
2525

26-
You can [download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.19/) and serve them from your own server.
26+
You can [download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.20/) and serve them from your own server.
2727
Remember to update these scripts regularly.
2828
::::
2929

docs/getting-started/verify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The response body is a JSON object which has a `success` field that tells you wh
4646
"success": true,
4747
"data": {
4848
"challenge": {
49-
"timestamp": 1685098040, // Timestamp when the captcha challenge was completed.
49+
"timestamp": "2025-03-18T13:01:25Z", // ISO 8601 timestamp when the captcha challenge was completed.
5050
"origin": "example.com" // Origin where the challenge happened. This can be empty if unknown.
5151
}
5252
}

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/sdk@0.1.19/contrib/hcaptcha-site.min.js"
36+
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.20/contrib/hcaptcha-site.min.js"
3737
async defer></script>
38-
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.19/contrib/hcaptcha-site.compat.min.js"
38+
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.20/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/sdk@0.1.19/contrib/recaptcha-site.min.js"
35+
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.20/contrib/recaptcha-site.min.js"
3636
async defer></script>
37-
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.19/contrib/recaptcha-site.compat.min.js"
37+
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.20/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/sdk@0.1.19/site.min.js"
16+
<script type="module" src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.20/site.min.js"
1717
async defer></script>
18-
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.19/site.compat.min.js"
18+
<script nomodule src="https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.20/site.compat.min.js"
1919
async defer></script>
2020
```
2121
## 2. 🇪🇺 Update custom API endpoints

0 commit comments

Comments
 (0)