diff --git a/README.md b/README.md index d0f5f1c..46cfa03 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# react-recaptcha-v3-v2 +# react-recaptcha-x a React reCAPTCHA version 3 and version 2 (checkbox) component in one. @@ -22,7 +22,7 @@ a React reCAPTCHA version 3 and version 2 (checkbox) component in one. ### installation -`$npm install react-recaptcha-v3-v2 --save` +`$npm install react-recaptcha-x --save` ### simple typescript example @@ -35,7 +35,7 @@ import { ReCaptchaV3, TReCaptchaV2Callback, TReCaptchaV3Callback -} from 'react-recaptcha-v3-v2'; +} from 'react-recaptcha-x'; const v2Callback: TReCaptchaV2Callback = ( token: string | false | Error @@ -89,7 +89,7 @@ import { ReCaptchaProvider, ReCaptchaV2, ReCaptchaV3 -} from 'react-recaptcha-v3-v2'; +} from 'react-recaptcha-x'; const v2Callback = token => { if (typeof token === 'string') { @@ -180,7 +180,7 @@ It is responsible for injecting the required Javascript Script Tag, CSS Style Ta 1. `$cd examples/typescript` 1. `$npm install` -1. `$npm link react-recaptcha-v3-v2` +1. `$npm link react-recaptcha-x` 1. create `.env` file with your reCAPTCHA key(s) using `.env.example` as a template 1. `$npm start` 1. open browser to `http://locahost:9001` @@ -189,7 +189,7 @@ It is responsible for injecting the required Javascript Script Tag, CSS Style Ta 1. `$cd examples/javascript` 1. `$npm install` -1. `$npm link react-recaptcha-v3-v2` +1. `$npm link react-recaptcha-x` 1. create `.env` file with your reCAPTCHA key(s) using `.env.example` as a template 1. `$npm start` 1. open browser to `http://locahost:9001` diff --git a/dev/package.json b/dev/package.json index 8f82fbe..24b52ee 100644 --- a/dev/package.json +++ b/dev/package.json @@ -1,5 +1,5 @@ { - "name": "react-recaptcha-v3-v2-dev-development", + "name": "react-recaptcha-x-dev-development", "version": "1.0.0", "description": "dev example of a React component for Google's reCAPTCHA v3 with v2 fallback", "private": true, @@ -13,9 +13,9 @@ "email": "antokarag@gmail.com", "url": "https://antokara.me" }, - "homepage": "https://github.com/antokara/react-recaptcha-v3-v2", + "homepage": "https://github.com/antokara/react-recaptcha-x", "bugs": { - "url": "https://github.com/antokara/react-recaptcha-v3-v2/issues" + "url": "https://github.com/antokara/react-recaptcha-x/issues" }, "license": "MIT", "devDependencies": { diff --git a/examples/javascript/index.jsx b/examples/javascript/index.jsx index 961e85d..07ce47b 100644 --- a/examples/javascript/index.jsx +++ b/examples/javascript/index.jsx @@ -6,7 +6,7 @@ import { ReCaptchaProvider, ReCaptchaV2, ReCaptchaV3 -} from 'react-recaptcha-v3-v2'; +} from 'react-recaptcha-x'; /** * the main component of our javascript example application diff --git a/examples/javascript/package.json b/examples/javascript/package.json index cca05e0..08ae7e2 100644 --- a/examples/javascript/package.json +++ b/examples/javascript/package.json @@ -1,5 +1,5 @@ { - "name": "react-recaptcha-v3-v2-js-example", + "name": "react-recaptcha-x-js-example", "version": "1.0.0", "description": "javascript example of using the React component for Google's reCAPTCHA v3 with v2 fallback", "private": true, @@ -12,9 +12,9 @@ "email": "antokarag@gmail.com", "url": "https://antokara.me" }, - "homepage": "https://github.com/antokara/react-recaptcha-v3-v2", + "homepage": "https://github.com/antokara/react-recaptcha-x", "bugs": { - "url": "https://github.com/antokara/react-recaptcha-v3-v2/issues" + "url": "https://github.com/antokara/react-recaptcha-x/issues" }, "license": "MIT", "devDependencies": { diff --git a/examples/typescript/index.tsx b/examples/typescript/index.tsx index d57319f..b707917 100644 --- a/examples/typescript/index.tsx +++ b/examples/typescript/index.tsx @@ -6,7 +6,7 @@ import { ReCaptchaProvider, ReCaptchaV2, ReCaptchaV3 -} from 'react-recaptcha-v3-v2'; +} from 'react-recaptcha-x'; // app state interface IState { diff --git a/examples/typescript/package.json b/examples/typescript/package.json index 1ce3549..e7f827d 100644 --- a/examples/typescript/package.json +++ b/examples/typescript/package.json @@ -1,5 +1,5 @@ { - "name": "react-recaptcha-v3-v2-ts-example", + "name": "react-recaptcha-x-ts-example", "version": "1.0.0", "description": "typescript example of using the React component for Google's reCAPTCHA v3 with v2 fallback", "private": true, @@ -13,9 +13,9 @@ "email": "antokarag@gmail.com", "url": "https://antokara.me" }, - "homepage": "https://github.com/antokara/react-recaptcha-v3-v2", + "homepage": "https://github.com/antokara/react-recaptcha-x", "bugs": { - "url": "https://github.com/antokara/react-recaptcha-v3-v2/issues" + "url": "https://github.com/antokara/react-recaptcha-x/issues" }, "license": "MIT", "devDependencies": { diff --git a/examples/typescript/tslint.json b/examples/typescript/tslint.json index 7dc4ff8..9eafb30 100644 --- a/examples/typescript/tslint.json +++ b/examples/typescript/tslint.json @@ -11,9 +11,9 @@ "quotemark": [true, "single", "jsx-double"], // @see https://github.com/prettier/prettier/issues/1565 "newline-per-chained-call": false, - // because we perform a `$npm link react-recaptcha-v3-v2`, + // because we perform a `$npm link react-recaptcha-x`, // this package will NOT be listed in the dependencies of package.json - "no-implicit-dependencies": [true, ["react-recaptcha-v3-v2"]], + "no-implicit-dependencies": [true, ["react-recaptcha-x"]], // @see https://github.com/ajafff/tslint-consistent-codestyle/blob/master/docs/naming-convention.md "naming-convention": [ true, diff --git a/package-lock.json b/package-lock.json index 88d2df7..ab6a1e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "react-recaptcha-v3-v2", - "version": "0.1.0", + "name": "react-recaptcha-x", + "version": "1.0.0-beta.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index a20c147..4935b4c 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "react-recaptcha-v3-v2", + "name": "react-recaptcha-x", "version": "1.0.0-beta.0", "description": "a React component for Google's reCAPTCHA v3 and v2 checkbox", "main": "./dist/index.js", @@ -24,13 +24,13 @@ "email": "antokarag@gmail.com", "url": "https://antokara.me" }, - "homepage": "https://github.com/antokara/react-recaptcha-v3-v2", + "homepage": "https://github.com/antokara/react-recaptcha-x", "bugs": { - "url": "https://github.com/antokara/react-recaptcha-v3-v2/issues" + "url": "https://github.com/antokara/react-recaptcha-x/issues" }, "repository": { "type": "git", - "url": "https://github.com/antokara/react-recaptcha-v3-v2.git" + "url": "https://github.com/antokara/react-recaptcha-x.git" }, "license": "MIT", "devDependencies": {