@myxtra/authentication-green 1.15.1 → 1.16.0

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/README.md CHANGED
@@ -58,7 +58,7 @@ Examples of some endpoints that will be called by components:
58
58
 
59
59
  ## Installation
60
60
 
61
- In order to ensure the authentication web componenent is rendered correctly, you can import the
61
+ In order to ensure the authentication web component is rendered correctly, you can import the
62
62
  package in two ways.
63
63
 
64
64
  ### CDN
@@ -101,14 +101,14 @@ import registerAuthentication from '@myxtra/authentication-green';
101
101
  await registerAuthentication({ apiUrl: 'http://localhost:3000', environment: 'syst' });
102
102
  ```
103
103
 
104
- ### Configuration
104
+ ## Configuration
105
105
 
106
106
  The authentication package has the following configuration properties which are passed to the
107
107
  `registerAuthentication` function:
108
108
 
109
109
  ```ts
110
110
  type Config = {
111
- // The URL of the BFF the authentication component will redirect and do fetch request to
111
+ // The URL of the BFF the authentication component will redirect and do fetch requests to
112
112
  apiUrl: string;
113
113
  // The environment on which the authentication component is running on
114
114
  environment: 'dev' | 'test' | 'syst' | 'prod';