From 1929040fbceda4fbe2cd03d8ae105e77b9ce51ba Mon Sep 17 00:00:00 2001 From: Aaron Greenberg Date: Wed, 30 Oct 2024 13:59:15 +0100 Subject: [PATCH] Bump SDK to 0.1.9 (and update documentation) --- docs/getting-started/install.md | 6 +++--- docs/guides/migrating-from-hcaptcha.md | 4 ++-- docs/guides/migrating-from-recaptcha.md | 4 ++-- docs/guides/upgrading-from-v1/script.md | 4 ++-- package-lock.json | 15 +++++++-------- package.json | 2 +- 6 files changed, 17 insertions(+), 18 deletions(-) diff --git a/docs/getting-started/install.md b/docs/getting-started/install.md index 85d785e..4fb328d 100644 --- a/docs/getting-started/install.md +++ b/docs/getting-started/install.md @@ -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 - - + + ``` ::::tip #### Using the scripts without a CDN -You can [download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.8/) and serve them from your own server. +You can [download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.9/) and serve them from your own server. Remember to update these scripts regularly. :::: diff --git a/docs/guides/migrating-from-hcaptcha.md b/docs/guides/migrating-from-hcaptcha.md index 4bd232d..454cdb3 100644 --- a/docs/guides/migrating-from-hcaptcha.md +++ b/docs/guides/migrating-from-hcaptcha.md @@ -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 - - ``` diff --git a/docs/guides/migrating-from-recaptcha.md b/docs/guides/migrating-from-recaptcha.md index ae8c3dd..6fad006 100644 --- a/docs/guides/migrating-from-recaptcha.md +++ b/docs/guides/migrating-from-recaptcha.md @@ -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 - - ``` diff --git a/docs/guides/upgrading-from-v1/script.md b/docs/guides/upgrading-from-v1/script.md index f80619b..b6c42d4 100644 --- a/docs/guides/upgrading-from-v1/script.md +++ b/docs/guides/upgrading-from-v1/script.md @@ -13,9 +13,9 @@ Replace the `friendly-challenge` scripts ``` with the new `@friendlycaptcha/sdk` scripts ```html - - ``` ## 2. 🇪🇺 Update custom API endpoints diff --git a/package-lock.json b/package-lock.json index 2a5c5c7..07e313b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ }, "devDependencies": { "@docusaurus/module-type-aliases": "^3.5.2", - "@friendlycaptcha/sdk": "^0.1.8", + "@friendlycaptcha/sdk": "^0.1.9", "@tsconfig/docusaurus": "^1.0.5", "search-insights": "^2.17.2", "typescript": "^4.7.4" @@ -2584,10 +2584,11 @@ } }, "node_modules/@friendlycaptcha/sdk": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/@friendlycaptcha/sdk/-/sdk-0.1.8.tgz", - "integrity": "sha512-MtvgPg6OVjiohjZPtEBb6E65xXWoJackjrq1hbYcQuOP5xR0akpjgu2z0P1S/QwF0b9tCttMBA9l44wdSHRoFw==", - "dev": true + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/@friendlycaptcha/sdk/-/sdk-0.1.9.tgz", + "integrity": "sha512-n2InwlfVFIe9DVH6d9NwvcaTrOJeRFt3Q5orqYCx91OTn6T3Q52Ety9mc6d60qI5nriMCyi1EKUDp7CndEtHWA==", + "dev": true, + "license": "MPL-2.0" }, "node_modules/@hapi/hoek": { "version": "9.3.0", @@ -12954,8 +12955,7 @@ "node_modules/search-insights": { "version": "2.17.2", "resolved": "https://registry.npmjs.org/search-insights/-/search-insights-2.17.2.tgz", - "integrity": "sha512-zFNpOpUO+tY2D85KrxJ+aqwnIfdEGi06UH2+xEb+Bp9Mwznmauqc9djbnBibJO5mpfUPPa8st6Sx65+vbeO45g==", - "dev": true + "integrity": "sha512-zFNpOpUO+tY2D85KrxJ+aqwnIfdEGi06UH2+xEb+Bp9Mwznmauqc9djbnBibJO5mpfUPPa8st6Sx65+vbeO45g==" }, "node_modules/section-matter": { "version": "1.0.0", @@ -13916,7 +13916,6 @@ "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", - "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/package.json b/package.json index 0cfa6cc..21073c0 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@docusaurus/module-type-aliases": "^3.5.2", - "@friendlycaptcha/sdk": "^0.1.8", + "@friendlycaptcha/sdk": "^0.1.9", "@tsconfig/docusaurus": "^1.0.5", "search-insights": "^2.17.2", "typescript": "^4.7.4"