Skip to content

Commit dfd5c49

Browse files
authored
docs: fix hl ISO-639-1 (#9)
* docs: fix hl ISO-639-1 * bump: version 1.1.1 * docs: fix logo
1 parent c565acb commit dfd5c49

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
# 1.1.1
4+
5+
- docs: fix 'hl' typo ISO 639-1
6+
37
# 1.1.0-alpha2
48

59
- feat: enable typescript strict mode

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
A Vanilla Web Component wrapper for [hCaptcha](https://docs.hcaptcha.com/).
33
It allows for easy integration with hCaptcha in many modern web frameworks.
44

5-
<img width="300px" src="https://www.hcaptcha.com/hosted-assets/3u1Osx9BvMjYSHbCn6ECWNM27toZY1eqxXveJVL4mMNGUtMZu2Yc6GAid43jA_TmZApJ6djyh0iqvu-YNhOB9hGmvfdy4M_Fr1Y61EZQ-j1oIjD1MF0k1dN99xXVRKV0EpBi03o3AMgo_p4Lk3A49jwtvuitT9AAAAAAAAAAAAAAAAA/64da82f6bf67de1b12789030/64da82f6bf67de1b1278903b_Asset%208.svg" alt="hCaptcha logo" title="hCaptcha logo" />
5+
<img width="300px" src="./assets/logo.svg" alt="hCaptcha logo" title="hCaptcha logo" />
66

77
**0** dependencies. **<1kb** gzipped. Integrates well with Vue.JS, React, Preact, Angular, etc.
88

@@ -267,7 +267,7 @@ If you would like to programmatically call the `render()` method, you can set `a
267267
| `size` | String (normal, compact, invisible) | `normal` | This specifies the "size" of the checkbox. hCaptcha allows you to decide how big the component will appear on render. Defaults to normal. |
268268
| `theme` | String (light, dark) | `light` | hCaptcha supports both a light and dark theme. If no theme is set, the API will default to light. |
269269
| `tabindex` | Integer | `0` | Set the tabindex of the widget and popup. When appropriate, this can make navigation of your site more intuitive. |
270-
| `hl` | String (ISO 639-2 code) | - | hCaptcha auto-detects language via the user's browser. This overrides that to set a default UI language. |
270+
| `hl` | String (ISO 639-1 code) | - | hCaptcha auto-detects language via the user's browser. This overrides that to set a default UI language. |
271271
| `challenge-container` | String | - | A custom element ID to render the hCaptcha challenge. |
272272
| `rqdata` | String | - | See Enterprise docs. |
273273
@@ -278,7 +278,7 @@ These attributes are optional.
278278
| Attribute | Values/Type | Default | Description |
279279
|-------------------|----------------------------|---------|--------------------------------------------------------------------------------------------------------------------|
280280
| `recaptchacompat` | Boolean | `true` | Disable drop-in replacement for reCAPTCHA with `false` to prevent hCaptcha from injecting into window.grecaptcha. |
281-
| `hl` | String (ISO 639-2 code) | - | hCaptcha auto-detects language via the user's browser. This overrides that to set a default UI language. |
281+
| `hl` | String (ISO 639-1 code) | - | hCaptcha auto-detects language via the user's browser. This overrides that to set a default UI language. |
282282
| `jsapi` | String | - | See Enterprise docs. |
283283
| `endpoint` | String | - | See Enterprise docs. |
284284
| `reportapi` | String | - | See Enterprise docs. |

assets/logo.svg

Lines changed: 1 addition & 0 deletions
Loading

packages/vanilla-hcaptcha/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@hcaptcha/vanilla-hcaptcha",
33
"description": "Vanilla Web Component for hCaptcha. 0 dependencies. <1kb gzipped.",
4-
"version": "1.1.0-alpha2",
4+
"version": "1.1.1",
55
"main": "dist/index.min.js",
66
"module": "dist/index.min.mjs",
77
"types": "dist/hcaptcha.d.ts",

0 commit comments

Comments
 (0)