@ampath/esm-login-app 8.0.0-next.21 → 8.0.0-next.25

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/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"pages":[{"component":"root","route":"login","online":true,"offline":true},{"component":"root","route":"logout","online":true,"offline":true},{"component":"root","route":"change-password","online":true,"offline":true}],"extensions":[{"name":"location-picker","slot":"location-picker","component":"locationPicker","online":true,"offline":true},{"name":"logout-button","slot":"user-panel-bottom-slot","component":"logoutButton","online":true,"offline":true},{"name":"password-changer","slot":"user-panel-slot","component":"changePasswordLink","online":true,"offline":true},{"name":"location-changer","slot":"top-nav-info-slot","component":"changeLocationLink","online":true,"offline":true,"order":1}],"modals":[{"name":"change-password-modal","component":"changePasswordModal"}],"version":"8.0.0-next.21"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"pages":[{"component":"root","route":"login","online":true,"offline":true},{"component":"root","route":"logout","online":true,"offline":true},{"component":"root","route":"change-password","online":true,"offline":true}],"extensions":[{"name":"location-picker","slot":"location-picker","component":"locationPicker","online":true,"offline":true},{"name":"logout-button","slot":"user-panel-bottom-slot","component":"logoutButton","online":true,"offline":true},{"name":"password-changer","slot":"user-panel-slot","component":"changePasswordLink","online":true,"offline":true},{"name":"location-changer","slot":"top-nav-info-slot","component":"changeLocationLink","online":true,"offline":true,"order":1}],"modals":[{"name":"change-password-modal","component":"changePasswordModal"}],"version":"8.0.0-next.25"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampath/esm-login-app",
3
- "version": "8.0.0-next.21",
3
+ "version": "8.0.0-next.25",
4
4
  "license": "MPL-2.0",
5
5
  "description": "The login microfrontend for the OpenMRS SPA",
6
6
  "browser": "dist/esm-login-app.js",
@@ -87,7 +87,7 @@ const OtpComponent: React.FC = () => {
87
87
  </div>
88
88
  <div className={styles.container}>
89
89
  <h2 className={styles.header}>OTP</h2>
90
- <p>{message || 'Enter the OTP sent to your registered email and phone number to complete login.'}</p>
90
+ <p>{message.message || 'Enter the OTP sent to your registered email and phone number to complete login.'}</p>
91
91
  <OTPInput length={5} onChange={handleOtpChange} />
92
92
  {error && (
93
93
  <InlineNotification
package/yarnrc.yml CHANGED
@@ -2,13 +2,10 @@ compressionLevel: mixed
2
2
 
3
3
  enableGlobalCache: false
4
4
 
5
+ nmMode: hardlinks-local
6
+
5
7
  nodeLinker: node-modules
6
8
 
7
9
  npmPublishRegistry: 'https://registry.npmjs.org'
8
10
 
9
- plugins:
10
- - checksum: c13ed363e15a826d9f779e7e7aca9dbee1d6d54813261d6f495da2fa94b01fa7579e516587ae2df5834f5d63d5d90cb392135190e8878b81dbd830c3c9f57809
11
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
12
- spec: 'https://go.mskelton.dev/yarn-outdated/v4'
13
-
14
11
  yarnPath: .yarn/releases/yarn-4.10.3.cjs