@opencrvs/mosip 1.7.0-alpha.23 → 1.7.0-alpha.24

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/build/forms.js CHANGED
@@ -187,7 +187,7 @@ const idVerificationBanner = (event, sectionId, status) => {
187
187
  hideInPreview: true,
188
188
  custom: true,
189
189
  bannerType: status,
190
- idFieldName: "idReader",
190
+ idFieldName: status === "authenticated" ? "esignetCallback" : "idReader",
191
191
  label: {
192
192
  id: "form.field.label.empty",
193
193
  defaultMessage: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/mosip",
3
- "version": "1.7.0-alpha.23",
3
+ "version": "1.7.0-alpha.24",
4
4
  "license": "MPL-2.0",
5
5
  "main": "./build/index.js",
6
6
  "exports": {
package/src/forms.ts CHANGED
@@ -253,7 +253,7 @@ export const idVerificationBanner = (
253
253
  hideInPreview: true,
254
254
  custom: true,
255
255
  bannerType: status,
256
- idFieldName: "idReader",
256
+ idFieldName: status === "authenticated" ? "esignetCallback" : "idReader",
257
257
  label: {
258
258
  id: "form.field.label.empty",
259
259
  defaultMessage: "",