@trustchex/react-native-sdk 1.484.0 → 1.484.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.
- package/lib/module/Screens/Static/ResultScreen.js +6 -18
- package/lib/module/version.js +1 -1
- package/lib/typescript/src/Screens/Static/ResultScreen.d.ts.map +1 -1
- package/lib/typescript/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/Screens/Static/ResultScreen.tsx +8 -24
- package/src/version.ts +1 -1
|
@@ -534,30 +534,18 @@ const ResultScreen = () => {
|
|
|
534
534
|
children: [/*#__PURE__*/_jsxs(Text, {
|
|
535
535
|
style: styles.mrzInfoLabel,
|
|
536
536
|
children: [t('eidScannerScreen.name'), ":"]
|
|
537
|
-
}), /*#__PURE__*/
|
|
538
|
-
style: styles.
|
|
539
|
-
children:
|
|
540
|
-
style: styles.mrzInfoText,
|
|
541
|
-
children: appContext.lastDocumentRead?.name.source === 'dg11' ? appContext.lastDocumentRead.name.displayFirst : appContext.identificationInfo.scannedDocument.mrzFields?.firstName
|
|
542
|
-
}), appContext.lastDocumentRead?.name.source === 'dg11' && /*#__PURE__*/_jsx(Text, {
|
|
543
|
-
style: styles.mrzInfoSubText,
|
|
544
|
-
children: appContext.identificationInfo.scannedDocument.mrzFields?.firstName
|
|
545
|
-
})]
|
|
537
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
538
|
+
style: styles.mrzInfoText,
|
|
539
|
+
children: appContext.lastDocumentRead?.name.displayFirst ?? appContext.identificationInfo.scannedDocument.mrzFields?.firstName
|
|
546
540
|
})]
|
|
547
541
|
}), /*#__PURE__*/_jsxs(View, {
|
|
548
542
|
style: styles.mrzInfoItem,
|
|
549
543
|
children: [/*#__PURE__*/_jsxs(Text, {
|
|
550
544
|
style: styles.mrzInfoLabel,
|
|
551
545
|
children: [t('eidScannerScreen.surname'), ":"]
|
|
552
|
-
}), /*#__PURE__*/
|
|
553
|
-
style: styles.
|
|
554
|
-
children:
|
|
555
|
-
style: styles.mrzInfoText,
|
|
556
|
-
children: appContext.lastDocumentRead?.name.source === 'dg11' ? appContext.lastDocumentRead.name.displayLast : appContext.identificationInfo.scannedDocument.mrzFields?.lastName
|
|
557
|
-
}), appContext.lastDocumentRead?.name.source === 'dg11' && /*#__PURE__*/_jsx(Text, {
|
|
558
|
-
style: styles.mrzInfoSubText,
|
|
559
|
-
children: appContext.identificationInfo.scannedDocument.mrzFields?.lastName
|
|
560
|
-
})]
|
|
546
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
547
|
+
style: styles.mrzInfoText,
|
|
548
|
+
children: appContext.lastDocumentRead?.name.displayLast ?? appContext.identificationInfo.scannedDocument.mrzFields?.lastName
|
|
561
549
|
})]
|
|
562
550
|
}), /*#__PURE__*/_jsxs(View, {
|
|
563
551
|
style: styles.mrzInfoItem,
|
package/lib/module/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResultScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Static/ResultScreen.tsx"],"names":[],"mappings":"AA8EA,QAAA,MAAM,YAAY,+
|
|
1
|
+
{"version":3,"file":"ResultScreen.d.ts","sourceRoot":"","sources":["../../../../../src/Screens/Static/ResultScreen.tsx"],"names":[],"mappings":"AA8EA,QAAA,MAAM,YAAY,+CAohCjB,CAAC;AA+IF,eAAe,YAAY,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.484.
|
|
1
|
+
export declare const SDK_VERSION = "1.484.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -792,35 +792,19 @@ const ResultScreen = () => {
|
|
|
792
792
|
<Text style={styles.mrzInfoLabel}>
|
|
793
793
|
{t('eidScannerScreen.name')}:
|
|
794
794
|
</Text>
|
|
795
|
-
<
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
: appContext.identificationInfo.scannedDocument.mrzFields?.firstName}
|
|
800
|
-
</Text>
|
|
801
|
-
{appContext.lastDocumentRead?.name.source === 'dg11' && (
|
|
802
|
-
<Text style={styles.mrzInfoSubText}>
|
|
803
|
-
{appContext.identificationInfo.scannedDocument.mrzFields?.firstName}
|
|
804
|
-
</Text>
|
|
805
|
-
)}
|
|
806
|
-
</View>
|
|
795
|
+
<Text style={styles.mrzInfoText}>
|
|
796
|
+
{appContext.lastDocumentRead?.name.displayFirst
|
|
797
|
+
?? appContext.identificationInfo.scannedDocument.mrzFields?.firstName}
|
|
798
|
+
</Text>
|
|
807
799
|
</View>
|
|
808
800
|
<View style={styles.mrzInfoItem}>
|
|
809
801
|
<Text style={styles.mrzInfoLabel}>
|
|
810
802
|
{t('eidScannerScreen.surname')}:
|
|
811
803
|
</Text>
|
|
812
|
-
<
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
: appContext.identificationInfo.scannedDocument.mrzFields?.lastName}
|
|
817
|
-
</Text>
|
|
818
|
-
{appContext.lastDocumentRead?.name.source === 'dg11' && (
|
|
819
|
-
<Text style={styles.mrzInfoSubText}>
|
|
820
|
-
{appContext.identificationInfo.scannedDocument.mrzFields?.lastName}
|
|
821
|
-
</Text>
|
|
822
|
-
)}
|
|
823
|
-
</View>
|
|
804
|
+
<Text style={styles.mrzInfoText}>
|
|
805
|
+
{appContext.lastDocumentRead?.name.displayLast
|
|
806
|
+
?? appContext.identificationInfo.scannedDocument.mrzFields?.lastName}
|
|
807
|
+
</Text>
|
|
824
808
|
</View>
|
|
825
809
|
<View style={styles.mrzInfoItem}>
|
|
826
810
|
<Text style={styles.mrzInfoLabel}>
|
package/src/version.ts
CHANGED