@adobe-commerce/recaptcha 1.0.0-alpha1 → 1.0.0-alpha2

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 CHANGED
@@ -1,4 +1,4 @@
1
- const baseConfig = require('@adobe/elsie/config/eslint');
1
+ const baseConfig = require('@adobe-commerce/elsie/config/eslint');
2
2
 
3
3
  module.exports = {
4
4
  ...baseConfig,
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-alpha1",
3
+ "version": "1.0.0-alpha2",
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