diff --git a/CHANGES.md b/CHANGES.md index f82609b..14305b9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changelog +# 1.1.4 + +- docs: 'loaded' event + # 1.1.3 - docs: add "form integration" section diff --git a/README.md b/README.md index 889b9a2..6879560 100644 --- a/README.md +++ b/README.md @@ -340,6 +340,7 @@ Depending on the use case, you can or not listen to the following events. | Event | Params | Description | |----------------------|----------------|---------------------------------------------------------------------------| +| `loaded` | - | When the hCaptcha loaded and is ready for challenge execution. Usually used in combination with size=invisible or when manual .execute() is required. | | `error` | `err` | When an error occurs. Component will reset immediately after an error. | | `verified` | `token, eKey` | When challenge is completed. The `token` and the `eKey` are passed along. | | `expired` | - | When the current token expires. | diff --git a/packages/vanilla-hcaptcha/package.json b/packages/vanilla-hcaptcha/package.json index afe9fe7..fd0b020 100644 --- a/packages/vanilla-hcaptcha/package.json +++ b/packages/vanilla-hcaptcha/package.json @@ -1,7 +1,7 @@ { "name": "@hcaptcha/vanilla-hcaptcha", "description": "Vanilla Web Component for hCaptcha. 0 dependencies. <1kb gzipped.", - "version": "1.1.3", + "version": "1.1.4", "main": "dist/index.min.js", "module": "dist/index.min.mjs", "types": "dist/hcaptcha.d.ts",