@trustchex/react-native-sdk 1.485.0 → 1.485.1

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.
@@ -392,12 +392,10 @@ const EIDScanner = ({
392
392
  style: styles.idCardFields,
393
393
  children: [/*#__PURE__*/_jsx(IDCardField, {
394
394
  label: t('eidScannerScreen.surname'),
395
- value: documentName?.displayLast ?? documentMRZInfo.getPrimaryIdentifier(),
396
- subValue: documentName?.source === 'dg11' ? documentMRZInfo.getPrimaryIdentifier() : undefined
395
+ value: documentName?.displayLast ?? documentMRZInfo.getPrimaryIdentifier()
397
396
  }), /*#__PURE__*/_jsx(IDCardField, {
398
397
  label: t('eidScannerScreen.name'),
399
- value: documentName?.displayFirst ?? documentMRZInfo.getSecondaryIdentifier(),
400
- subValue: documentName?.source === 'dg11' ? documentMRZInfo.getSecondaryIdentifier() : undefined
398
+ value: documentName?.displayFirst ?? documentMRZInfo.getSecondaryIdentifier()
401
399
  }), /*#__PURE__*/_jsx(IDCardField, {
402
400
  label: t('eidScannerScreen.documentNumber'),
403
401
  value: documentMRZInfo.getDocumentNumber()
@@ -2,4 +2,4 @@
2
2
 
3
3
  // This file is auto-generated. Do not edit manually.
4
4
  // Version is synced from package.json during build.
5
- export const SDK_VERSION = '1.485.0';
5
+ export const SDK_VERSION = '1.485.1';
@@ -1 +1 @@
1
- {"version":3,"file":"EIDScanner.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/EIDScanner.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAgBpD,UAAU,eAAe;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CACd,OAAO,EAAE,SAAS,EAClB,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,MAAM,KACtB,IAAI,CAAC;IACV,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,UAAU,GAAI,6FAOjB,eAAe,4CA0rBjB,CAAC;AA4NF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"EIDScanner.d.ts","sourceRoot":"","sources":["../../../../../src/Shared/Components/EIDScanner.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAgBpD,UAAU,eAAe;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CACd,OAAO,EAAE,SAAS,EAClB,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,MAAM,KACtB,IAAI,CAAC;IACV,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,UAAU,GAAI,6FAOjB,eAAe,4CAwrBjB,CAAC;AA4NF,eAAe,UAAU,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "1.485.0";
1
+ export declare const SDK_VERSION = "1.485.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustchex/react-native-sdk",
3
- "version": "1.485.0",
3
+ "version": "1.485.1",
4
4
  "description": "Trustchex mobile app react native SDK for android or ios devices",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -573,12 +573,10 @@ const EIDScanner = ({
573
573
  <IDCardField
574
574
  label={t('eidScannerScreen.surname')}
575
575
  value={documentName?.displayLast ?? documentMRZInfo.getPrimaryIdentifier()}
576
- subValue={documentName?.source === 'dg11' ? documentMRZInfo.getPrimaryIdentifier() : undefined}
577
576
  />
578
577
  <IDCardField
579
578
  label={t('eidScannerScreen.name')}
580
579
  value={documentName?.displayFirst ?? documentMRZInfo.getSecondaryIdentifier()}
581
- subValue={documentName?.source === 'dg11' ? documentMRZInfo.getSecondaryIdentifier() : undefined}
582
580
  />
583
581
  <IDCardField
584
582
  label={t('eidScannerScreen.documentNumber')}
package/src/version.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
2
  // Version is synced from package.json during build.
3
- export const SDK_VERSION = '1.485.0';
3
+ export const SDK_VERSION = '1.485.1';