@adobe-commerce/recaptcha 1.0.0-alpha1 → 1.0.0-alpha3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +1 -1
- package/README.md +2 -2
- package/package.json +2 -3
- package/src/index.ts +1 -1
package/.eslintrc.js
CHANGED
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Private methods are used within the class and are not accessible externally.
|
|
|
22
22
|
|
|
23
23
|
### Public Methods
|
|
24
24
|
|
|
25
|
-
`import {setEndpoint, setConfig, initReCaptcha, verifyReCaptcha } from "@adobe/recaptcha"`
|
|
25
|
+
`import {setEndpoint, setConfig, initReCaptcha, verifyReCaptcha } from "@adobe-commerce/recaptcha"`
|
|
26
26
|
|
|
27
27
|
Public methods are available for use when interacting with the functionality.
|
|
28
28
|
|
|
@@ -39,7 +39,7 @@ Public methods are available for use when interacting with the functionality.
|
|
|
39
39
|
|
|
40
40
|
To install this functionality, follow these steps:
|
|
41
41
|
|
|
42
|
-
1. npm i: `@adobe/recaptcha`
|
|
42
|
+
1. npm i: `@adobe-commerce/recaptcha`
|
|
43
43
|
|
|
44
44
|
2. [ setEndpoint ] - Use this function at the top level to pass the backend URL.
|
|
45
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe-commerce/recaptcha",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-alpha3",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"description": "Module allows to efficiently verify that users are humans, not bots or spammers",
|
|
6
6
|
"engines": {
|
|
@@ -14,8 +14,7 @@
|
|
|
14
14
|
"build": " "
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@adobe-commerce/fetch-graphql": "~1.0.0"
|
|
18
|
-
"@adobe/recaptcha": "file:../../packages/recaptcha"
|
|
17
|
+
"@adobe-commerce/fetch-graphql": "~1.0.0"
|
|
19
18
|
},
|
|
20
19
|
"devDependencies": {}
|
|
21
20
|
}
|
package/src/index.ts
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from './services/recaptcha.service';
|
|
18
18
|
import { RECAPTCHA_CONFIGURATION_V3 } from './graphql/recaptchaConfig.graphql';
|
|
19
19
|
|
|
20
|
-
import { FetchGraphQL } from '@adobe/fetch-graphql';
|
|
20
|
+
import { FetchGraphQL } from '@adobe-commerce/fetch-graphql';
|
|
21
21
|
|
|
22
22
|
export const recaptchaFetchApi = new FetchGraphQL().getMethods();
|
|
23
23
|
|