assentify-sdk-react-native 1.0.0-Beta.25 → 1.0.0-Beta.27
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/Package.swift +1 -1
- package/README.md +6 -0
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/assentifysdk/AssentifySdkModule.kt +18 -0
- package/android/src/main/java/com/assentifysdk/FlowActivity.kt +45 -1
- package/ios/NativeAssentifySdk.mm +10 -1
- package/ios/NativeAssentifySdk.swift +79 -3
- package/lib/commonjs/AssentifyWrapper.js +2 -2
- package/lib/commonjs/AssentifyWrapper.js.map +1 -1
- package/lib/commonjs/ClickFontWeightType.js +14 -0
- package/lib/commonjs/ClickFontWeightType.js.map +1 -0
- package/lib/commonjs/ValidationStyleType.js +11 -0
- package/lib/commonjs/ValidationStyleType.js.map +1 -0
- package/lib/commonjs/index.js +24 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/AssentifyWrapper.js +2 -2
- package/lib/module/AssentifyWrapper.js.map +1 -1
- package/lib/module/ClickFontWeightType.js +8 -0
- package/lib/module/ClickFontWeightType.js.map +1 -0
- package/lib/module/ValidationStyleType.js +5 -0
- package/lib/module/ValidationStyleType.js.map +1 -0
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/example/src/Home.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts +1 -1
- package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ClickFontWeightType.d.ts +9 -0
- package/lib/typescript/lib/commonjs/ClickFontWeightType.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/ValidationStyleType.d.ts +6 -0
- package/lib/typescript/lib/commonjs/ValidationStyleType.d.ts.map +1 -0
- package/lib/typescript/lib/module/AssentifyWrapper.d.ts +1 -1
- package/lib/typescript/lib/module/AssentifyWrapper.d.ts.map +1 -1
- package/lib/typescript/lib/module/ClickFontWeightType.d.ts +8 -0
- package/lib/typescript/lib/module/ClickFontWeightType.d.ts.map +1 -0
- package/lib/typescript/lib/module/ValidationStyleType.d.ts +5 -0
- package/lib/typescript/lib/module/ValidationStyleType.d.ts.map +1 -0
- package/lib/typescript/lib/module/index.d.ts +3 -1
- package/lib/typescript/lib/module/index.d.ts.map +1 -1
- package/lib/typescript/src/AssentifyWrapper.d.ts +3 -1
- package/lib/typescript/src/AssentifyWrapper.d.ts.map +1 -1
- package/lib/typescript/src/ClickFontWeightType.d.ts +9 -0
- package/lib/typescript/src/ClickFontWeightType.d.ts.map +1 -0
- package/lib/typescript/src/ValidationStyleType.d.ts +6 -0
- package/lib/typescript/src/ValidationStyleType.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +3 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/AssentifyWrapper.ts +23 -0
- package/src/ClickFontWeightType.ts +10 -0
- package/src/ValidationStyleType.ts +7 -0
- package/src/index.ts +2 -0
package/Package.swift
CHANGED
package/README.md
CHANGED
|
@@ -65,6 +65,12 @@ Xcode project automatically (using React Native's built-in `spm_dependency`/auto
|
|
|
65
65
|
|
|
66
66
|
## Versions
|
|
67
67
|
|
|
68
|
+
***1.0.0-Beta.27***
|
|
69
|
+
1. *UI Improvements*
|
|
70
|
+
|
|
71
|
+
***1.0.0-Beta.26***
|
|
72
|
+
1. *Support Local Passport Scan*
|
|
73
|
+
|
|
68
74
|
***1.0.0-Beta.25***
|
|
69
75
|
1. *Android Target Sdk Version 36 Support.*
|
|
70
76
|
|
package/android/build.gradle
CHANGED
|
@@ -96,7 +96,7 @@ dependencies {
|
|
|
96
96
|
compileOnly("com.facebook.react:react-android")
|
|
97
97
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
98
98
|
|
|
99
|
-
implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:1.0.0-Beta.
|
|
99
|
+
implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:1.0.0-Beta.41'
|
|
100
100
|
|
|
101
101
|
implementation 'com.google.code.gson:gson:2.13.2'
|
|
102
102
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.9.7'
|
|
@@ -519,6 +519,15 @@ class AssentifySdkModule(context: ReactApplicationContext) :
|
|
|
519
519
|
rangeEnd: Int? = null,
|
|
520
520
|
stepperTitle: String? = null,
|
|
521
521
|
showCountDown: Boolean? = null,
|
|
522
|
+
validationStyle: String? = null,
|
|
523
|
+
stepperTitleColor: String? = null,
|
|
524
|
+
howToCapturePassportVideo: String? = null,
|
|
525
|
+
howToCaptureIDVideo: String? = null,
|
|
526
|
+
howToCaptureFaceVideo: String? = null,
|
|
527
|
+
clickFontWeight: String? = null,
|
|
528
|
+
hideBlockLoader: Boolean? = null,
|
|
529
|
+
hideWrapUp: Boolean? = null,
|
|
530
|
+
localMrzScan: Boolean? = null,
|
|
522
531
|
) {
|
|
523
532
|
val intent = Intent(reactApplicationContext, FlowActivity::class.java)
|
|
524
533
|
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
@@ -551,6 +560,15 @@ class AssentifySdkModule(context: ReactApplicationContext) :
|
|
|
551
560
|
intent.putExtra("rangeEnd", rangeEnd)
|
|
552
561
|
intent.putExtra("stepperTitle", stepperTitle)
|
|
553
562
|
intent.putExtra("showCountDown", showCountDown)
|
|
563
|
+
intent.putExtra("validationStyle", validationStyle)
|
|
564
|
+
intent.putExtra("stepperTitleColor", stepperTitleColor)
|
|
565
|
+
intent.putExtra("howToCapturePassportVideo", howToCapturePassportVideo)
|
|
566
|
+
intent.putExtra("howToCaptureIDVideo", howToCaptureIDVideo)
|
|
567
|
+
intent.putExtra("howToCaptureFaceVideo", howToCaptureFaceVideo)
|
|
568
|
+
intent.putExtra("clickFontWeight", clickFontWeight)
|
|
569
|
+
intent.putExtra("hideBlockLoader", hideBlockLoader)
|
|
570
|
+
intent.putExtra("hideWrapUp", hideWrapUp)
|
|
571
|
+
intent.putExtra("localMrzScan", localMrzScan)
|
|
554
572
|
reactApplicationContext.currentActivity?.startActivity(intent)
|
|
555
573
|
}
|
|
556
574
|
|
|
@@ -17,7 +17,8 @@ import com.assentify.sdk.Flow.Models.FlowCompletedModel
|
|
|
17
17
|
import com.facebook.react.bridge.Arguments
|
|
18
18
|
import com.facebook.react.bridge.ReactApplicationContext
|
|
19
19
|
import com.facebook.react.modules.core.DeviceEventManagerModule
|
|
20
|
-
|
|
20
|
+
import com.assentify.sdk.Core.Constants.ValidationStyle
|
|
21
|
+
import com.assentify.sdk.Core.Constants.ClickFontWeight
|
|
21
22
|
import com.google.gson.Gson
|
|
22
23
|
import com.google.gson.reflect.TypeToken
|
|
23
24
|
|
|
@@ -89,6 +90,16 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
|
|
|
89
90
|
val rangeEnd = intent.getIntExtra("rangeEnd",50)
|
|
90
91
|
val stepperTitle = intent.getStringExtra("stepperTitle")
|
|
91
92
|
val showCountDown = intent.getBooleanExtra("showCountDown", true)
|
|
93
|
+
val validationStyle = intent.getStringExtra("validationStyle")
|
|
94
|
+
val stepperTitleColor = intent.getStringExtra("stepperTitleColor")
|
|
95
|
+
val howToCapturePassportVideo = intent.getStringExtra("howToCapturePassportVideo")
|
|
96
|
+
val howToCaptureIDVideo = intent.getStringExtra("howToCaptureIDVideo")
|
|
97
|
+
val howToCaptureFaceVideo = intent.getStringExtra("howToCaptureFaceVideo")
|
|
98
|
+
val clickFontWeight = intent.getStringExtra("clickFontWeight")
|
|
99
|
+
|
|
100
|
+
val hideBlockLoader = intent.getBooleanExtra("hideBlockLoader", false)
|
|
101
|
+
val hideWrapUp = intent.getBooleanExtra("hideWrapUp", false)
|
|
102
|
+
val localMrzScan = intent.getBooleanExtra("localMrzScan", false)
|
|
92
103
|
|
|
93
104
|
// ========= 4) DEBUG LOGGING =========
|
|
94
105
|
Log.d("FlowActivity", "===== Received Extras =====")
|
|
@@ -116,6 +127,15 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
|
|
|
116
127
|
Log.d("FlowActivity", "rangeEnd: $rangeEnd")
|
|
117
128
|
Log.d("FlowActivity", "stepperTitle: $stepperTitle")
|
|
118
129
|
Log.d("FlowActivity", "showCountDown: $showCountDown")
|
|
130
|
+
Log.d("FlowActivity", "validationStyle: $validationStyle")
|
|
131
|
+
Log.d("FlowActivity", "stepperTitleColor: $stepperTitleColor")
|
|
132
|
+
Log.d("FlowActivity", "howToCapturePassportVideo: $howToCapturePassportVideo")
|
|
133
|
+
Log.d("FlowActivity", "howToCaptureIDVideo: $howToCaptureIDVideo")
|
|
134
|
+
Log.d("FlowActivity", "howToCaptureFaceVideo: $howToCaptureFaceVideo")
|
|
135
|
+
Log.d("FlowActivity", "clickFontWeight: $clickFontWeight")
|
|
136
|
+
Log.d("FlowActivity", "hideBlockLoader: $hideBlockLoader")
|
|
137
|
+
Log.d("FlowActivity", "hideWrapUp: $hideWrapUp")
|
|
138
|
+
Log.d("FlowActivity", "localMrzScan: $localMrzScan")
|
|
119
139
|
Log.d("FlowActivity", "================================")
|
|
120
140
|
|
|
121
141
|
val bType = BackgroundType.entries.firstOrNull {
|
|
@@ -153,6 +173,21 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
|
|
|
153
173
|
}
|
|
154
174
|
}
|
|
155
175
|
|
|
176
|
+
val validationStyleType = when {
|
|
177
|
+
ValidationStyle.Message.equals(validationStyle, ignoreCase = true) -> ValidationStyle.Message
|
|
178
|
+
ValidationStyle.Asterisk.equals(validationStyle, ignoreCase = true) -> ValidationStyle.Asterisk
|
|
179
|
+
else -> ValidationStyle.Message
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
val clickFontWeightType = when {
|
|
183
|
+
ClickFontWeight.Normal.equals(clickFontWeight, ignoreCase = true) -> ClickFontWeight.Normal
|
|
184
|
+
ClickFontWeight.Medium.equals(clickFontWeight, ignoreCase = true) -> ClickFontWeight.Medium
|
|
185
|
+
ClickFontWeight.Bold.equals(clickFontWeight, ignoreCase = true) -> ClickFontWeight.Bold
|
|
186
|
+
ClickFontWeight.SemiBold.equals(clickFontWeight, ignoreCase = true) -> ClickFontWeight.SemiBold
|
|
187
|
+
ClickFontWeight.ExtraBold.equals(clickFontWeight, ignoreCase = true) -> ClickFontWeight.ExtraBold
|
|
188
|
+
else -> ClickFontWeight.Normal
|
|
189
|
+
}
|
|
190
|
+
|
|
156
191
|
|
|
157
192
|
if (clear) {
|
|
158
193
|
assentifySdk.clearFlow(this@FlowActivity);
|
|
@@ -178,6 +213,15 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
|
|
|
178
213
|
rangeEnd = rangeEnd,
|
|
179
214
|
stepperTitle = stepperTitle!!,
|
|
180
215
|
showCountDown = showCountDown!!,
|
|
216
|
+
validationStyle = validationStyleType,
|
|
217
|
+
stepperTitleColor = stepperTitleColor!!,
|
|
218
|
+
howToCapturePassportVideo = howToCapturePassportVideo!!,
|
|
219
|
+
howToCaptureIDVideo = howToCaptureIDVideo!!,
|
|
220
|
+
howToCaptureFaceVideo = howToCaptureFaceVideo!!,
|
|
221
|
+
clickFontWeight = clickFontWeightType,
|
|
222
|
+
hideBlockLoader = hideBlockLoader,
|
|
223
|
+
hideWrapUp = hideWrapUp,
|
|
224
|
+
localMrzScan = localMrzScan
|
|
181
225
|
);
|
|
182
226
|
assentifySdk.startFlow(
|
|
183
227
|
activityContext = this@FlowActivity,
|
|
@@ -78,7 +78,16 @@ RCT_EXTERN_METHOD(startFlow:(NSString *)logoUrl
|
|
|
78
78
|
rangeStart:(NSNumber *)rangeStart
|
|
79
79
|
rangeEnd:(NSNumber *)rangeEnd
|
|
80
80
|
stepperTitle:(NSString *)stepperTitle
|
|
81
|
-
showCountDown:(BOOL)showCountDown
|
|
81
|
+
showCountDown:(BOOL)showCountDown
|
|
82
|
+
validationStyle:(NSString *)validationStyle
|
|
83
|
+
stepperTitleColor:(NSString *)stepperTitleColor
|
|
84
|
+
howToCapturePassportVideo:(NSString *)howToCapturePassportVideo
|
|
85
|
+
howToCaptureIDVideo:(NSString *)howToCaptureIDVideo
|
|
86
|
+
howToCaptureFaceVideo:(NSString *)howToCaptureFaceVideo
|
|
87
|
+
clickFontWeight:(NSString *)clickFontWeight
|
|
88
|
+
hideBlockLoader:(BOOL)hideBlockLoader
|
|
89
|
+
hideWrapUp:(BOOL)hideWrapUp
|
|
90
|
+
localMrzScan:(BOOL)localMrzScan)
|
|
82
91
|
|
|
83
92
|
|
|
84
93
|
RCT_EXTERN_METHOD(supportedEvents)
|
|
@@ -670,7 +670,17 @@ public class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , Submit
|
|
|
670
670
|
rangeStart: NSNumber,
|
|
671
671
|
rangeEnd: NSNumber,
|
|
672
672
|
stepperTitle: String,
|
|
673
|
-
showCountDown: Bool
|
|
673
|
+
showCountDown: Bool,
|
|
674
|
+
validationStyle: String,
|
|
675
|
+
stepperTitleColor: String,
|
|
676
|
+
howToCapturePassportVideo: String,
|
|
677
|
+
howToCaptureIDVideo: String,
|
|
678
|
+
howToCaptureFaceVideo: String,
|
|
679
|
+
clickFontWeight: String,
|
|
680
|
+
hideBlockLoader: Bool,
|
|
681
|
+
hideWrapUp: Bool,
|
|
682
|
+
localMrzScan: Bool
|
|
683
|
+
|
|
674
684
|
) {
|
|
675
685
|
navToFlow(
|
|
676
686
|
logoUrl:logoUrl,
|
|
@@ -695,7 +705,16 @@ public class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , Submit
|
|
|
695
705
|
rangeStart: rangeStart,
|
|
696
706
|
rangeEnd: rangeEnd,
|
|
697
707
|
stepperTitle: stepperTitle,
|
|
698
|
-
showCountDown: showCountDown
|
|
708
|
+
showCountDown: showCountDown,
|
|
709
|
+
validationStyle: validationStyle,
|
|
710
|
+
stepperTitleColor: stepperTitleColor,
|
|
711
|
+
howToCapturePassportVideo: howToCapturePassportVideo,
|
|
712
|
+
howToCaptureIDVideo: howToCaptureIDVideo,
|
|
713
|
+
howToCaptureFaceVideo: howToCaptureFaceVideo,
|
|
714
|
+
clickFontWeight: clickFontWeight,
|
|
715
|
+
hideBlockLoader: hideBlockLoader,
|
|
716
|
+
hideWrapUp: hideWrapUp,
|
|
717
|
+
localMrzScan: localMrzScan
|
|
699
718
|
)
|
|
700
719
|
}
|
|
701
720
|
|
|
@@ -725,7 +744,16 @@ public class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , Submit
|
|
|
725
744
|
rangeStart: NSNumber,
|
|
726
745
|
rangeEnd: NSNumber,
|
|
727
746
|
stepperTitle: String,
|
|
728
|
-
showCountDown: Bool
|
|
747
|
+
showCountDown: Bool,
|
|
748
|
+
validationStyle: String,
|
|
749
|
+
stepperTitleColor: String,
|
|
750
|
+
howToCapturePassportVideo: String,
|
|
751
|
+
howToCaptureIDVideo: String,
|
|
752
|
+
howToCaptureFaceVideo: String,
|
|
753
|
+
clickFontWeight: String,
|
|
754
|
+
hideBlockLoader: Bool,
|
|
755
|
+
hideWrapUp: Bool,
|
|
756
|
+
localMrzScan: Bool
|
|
729
757
|
) {
|
|
730
758
|
|
|
731
759
|
let angleBg = angleDegreesBackgroundColors.floatValue
|
|
@@ -771,8 +799,47 @@ public class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , Submit
|
|
|
771
799
|
print("\(tag) rangeEnd: \(rangeEnd)")
|
|
772
800
|
print("\(tag) stepperTitle: \(stepperTitle)")
|
|
773
801
|
print("\(tag) showCountDown: \(showCountDown)")
|
|
802
|
+
print("\(tag) validationStyle: \(validationStyle)")
|
|
803
|
+
print("\(tag) stepperTitleColor: \(stepperTitleColor)")
|
|
804
|
+
print("\(tag) howToCapturePassportVideo: \(howToCapturePassportVideo)")
|
|
805
|
+
print("\(tag) howToCaptureIDVideo: \(howToCaptureIDVideo)")
|
|
806
|
+
print("\(tag) howToCaptureFaceVideo: \(howToCaptureFaceVideo)")
|
|
807
|
+
print("\(tag) clickFontWeight: \(clickFontWeight)")
|
|
808
|
+
print("\(tag) hideBlockLoader: \(hideBlockLoader)")
|
|
809
|
+
print("\(tag) hideWrapUp: \(hideWrapUp)")
|
|
810
|
+
print("\(tag) localMrzScan: \(localMrzScan)")
|
|
774
811
|
print("\(tag) =================================")
|
|
775
812
|
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
let validationStyleType: String = {
|
|
816
|
+
let style = validationStyle ?? ""
|
|
817
|
+
if style == "Message" {
|
|
818
|
+
return ValidationStyle.Message
|
|
819
|
+
} else if style == "Asterisk" {
|
|
820
|
+
return ValidationStyle.Asterisk
|
|
821
|
+
} else {
|
|
822
|
+
return ValidationStyle.Message
|
|
823
|
+
}
|
|
824
|
+
}()
|
|
825
|
+
|
|
826
|
+
let clickFontWeightType: String = {
|
|
827
|
+
switch (clickFontWeight ?? "") {
|
|
828
|
+
case "Normal":
|
|
829
|
+
return ClickFontWeight.Normal
|
|
830
|
+
case "Medium":
|
|
831
|
+
return ClickFontWeight.Medium
|
|
832
|
+
case "Bold":
|
|
833
|
+
return ClickFontWeight.Bold
|
|
834
|
+
case "SemiBold":
|
|
835
|
+
return ClickFontWeight.SemiBold
|
|
836
|
+
case "ExtraBold":
|
|
837
|
+
return ClickFontWeight.ExtraBold
|
|
838
|
+
default:
|
|
839
|
+
return ClickFontWeight.Normal
|
|
840
|
+
}
|
|
841
|
+
}()
|
|
842
|
+
|
|
776
843
|
let bType: BackgroundType = {
|
|
777
844
|
switch backgroundType.lowercased() {
|
|
778
845
|
case "image":
|
|
@@ -841,6 +908,15 @@ public class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , Submit
|
|
|
841
908
|
enableQr: enableQr,
|
|
842
909
|
showCountDown:showCountDown,
|
|
843
910
|
blockLoaderCustomProperties: parsedBlockLoaderCustomProperties,
|
|
911
|
+
validationStyle : validationStyleType ?? ValidationStyle.Message,
|
|
912
|
+
stepperTitleColor : stepperTitleColor ?? "",
|
|
913
|
+
howToCapturePassportVideo : howToCapturePassportVideo ?? "",
|
|
914
|
+
howToCaptureIDVideo : howToCaptureIDVideo ?? "",
|
|
915
|
+
howToCaptureFaceVideo : howToCaptureFaceVideo ?? "",
|
|
916
|
+
clickFontWeight : clickFontWeightType ?? ClickFontWeight.Normal,
|
|
917
|
+
hideBlockLoader : hideBlockLoader,
|
|
918
|
+
hideWrapUp : hideWrapUp,
|
|
919
|
+
localMrzScan:localMrzScan
|
|
844
920
|
)
|
|
845
921
|
DispatchQueue.main.async {
|
|
846
922
|
|
|
@@ -47,8 +47,8 @@ const AssentifyWrapper = {
|
|
|
47
47
|
},
|
|
48
48
|
/// Flow
|
|
49
49
|
|
|
50
|
-
startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, extractedDataLanguage, enableNfc, enableQr, blockLoaderCustomProperties, flowStepperType, rangeStart, rangeEnd, stepperTitle, showCountDown) {
|
|
51
|
-
AssentifySdk.startFlow(logoUrl ?? "", svgBackgroundImageUrl ?? "", textColor ?? "", secondaryTextColor ?? "", backgroundCardColor ?? "", accentColor ?? "", backgroundColors ?? [], clickColors ?? [], angleDegreesBackgroundColors ?? 90.0, holdUntilBackgroundColors ?? 0.4, angleDegreesClickColors ?? 90.0, holdUntilClickColors ?? 0.4, backgroundType, clear, extractedDataLanguage ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true);
|
|
50
|
+
startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, extractedDataLanguage, enableNfc, enableQr, blockLoaderCustomProperties, flowStepperType, rangeStart, rangeEnd, stepperTitle, showCountDown, validationStyle, stepperTitleColor, howToCapturePassportVideo, howToCaptureIDVideo, howToCaptureFaceVideo, clickFontWeight, hideBlockLoader, hideWrapUp, localMrzScan) {
|
|
51
|
+
AssentifySdk.startFlow(logoUrl ?? "", svgBackgroundImageUrl ?? "", textColor ?? "", secondaryTextColor ?? "", backgroundCardColor ?? "", accentColor ?? "", backgroundColors ?? [], clickColors ?? [], angleDegreesBackgroundColors ?? 90.0, holdUntilBackgroundColors ?? 0.4, angleDegreesClickColors ?? 90.0, holdUntilClickColors ?? 0.4, backgroundType, clear, extractedDataLanguage ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true, validationStyle ?? "Message", stepperTitleColor ?? "", howToCapturePassportVideo ?? "", howToCaptureIDVideo ?? "", howToCaptureFaceVideo ?? "", clickFontWeight ?? "Normal", hideBlockLoader ?? false, hideWrapUp ?? false, localMrzScan ?? false);
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
var _default = exports.default = AssentifyWrapper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","NativeAssentifySdk","NativeModules","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","processJsonConfigFile","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","flowUiLanguage","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","extractedDataLanguage","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle","_default","exports"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;
|
|
1
|
+
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","NativeAssentifySdk","NativeModules","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","processJsonConfigFile","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","flowUiLanguage","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","extractedDataLanguage","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle","validationStyle","stepperTitleColor","howToCapturePassportVideo","howToCaptureIDVideo","howToCaptureFaceVideo","clickFontWeight","hideBlockLoader","hideWrapUp","localMrzScan","_default","exports"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts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BAAiB,IAAI,EAAE,EACvBC,yBAAyB,IAAI,EAAE,EAC/BC,mBAAmB,IAAI,EAAE,EACzBC,qBAAqB,IAAI,EAAE,EAC3BC,eAAe,IAAI,QAAQ,EAE3BC,eAAe,IAAI,KAAK,EACxBC,UAAU,IAAI,KAAK,EACnBC,YAAY,IAAI,KAClB,CAAC;EACL;AAEF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAnF,OAAA,GAGaO,gBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ClickFontWeightType = void 0;
|
|
7
|
+
const ClickFontWeightType = exports.ClickFontWeightType = {
|
|
8
|
+
Normal: "Normal",
|
|
9
|
+
Medium: "Medium",
|
|
10
|
+
Bold: "Bold",
|
|
11
|
+
SemiBold: "SemiBold",
|
|
12
|
+
ExtraBold: "ExtraBold"
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=ClickFontWeightType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ClickFontWeightType","exports","Normal","Medium","Bold","SemiBold","ExtraBold"],"sourceRoot":"..\\..\\src","sources":["ClickFontWeightType.ts"],"mappings":";;;;;;AAAO,MAAMA,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG;EACjCE,MAAM,EAAE,QAAQ;EAChBC,MAAM,EAAE,QAAQ;EAChBC,IAAI,EAAE,MAAM;EACZC,QAAQ,EAAE,UAAU;EACpBC,SAAS,EAAE;AAEb,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ValidationStyleType = void 0;
|
|
7
|
+
const ValidationStyleType = exports.ValidationStyleType = {
|
|
8
|
+
Message: "Message",
|
|
9
|
+
Asterisk: "Asterisk"
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=ValidationStyleType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ValidationStyleType","exports","Message","Asterisk"],"sourceRoot":"..\\..\\src","sources":["ValidationStyleType.ts"],"mappings":";;;;;;AAAO,MAAMA,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG;EACjCE,OAAO,EAAE,SAAS;EAClBC,QAAQ,EAAE;AAEZ,CAAC","ignoreList":[]}
|
package/lib/commonjs/index.js
CHANGED
|
@@ -68,6 +68,30 @@ Object.keys(_FlowStepperType).forEach(function (key) {
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
|
+
var _ValidationStyleType = require("./ValidationStyleType");
|
|
72
|
+
Object.keys(_ValidationStyleType).forEach(function (key) {
|
|
73
|
+
if (key === "default" || key === "__esModule") return;
|
|
74
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
75
|
+
if (key in exports && exports[key] === _ValidationStyleType[key]) return;
|
|
76
|
+
Object.defineProperty(exports, key, {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () {
|
|
79
|
+
return _ValidationStyleType[key];
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
var _ClickFontWeightType = require("./ClickFontWeightType");
|
|
84
|
+
Object.keys(_ClickFontWeightType).forEach(function (key) {
|
|
85
|
+
if (key === "default" || key === "__esModule") return;
|
|
86
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
87
|
+
if (key in exports && exports[key] === _ClickFontWeightType[key]) return;
|
|
88
|
+
Object.defineProperty(exports, key, {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () {
|
|
91
|
+
return _ClickFontWeightType[key];
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
});
|
|
71
95
|
var _AssentifyProvider = require("./AssentifyProvider");
|
|
72
96
|
Object.keys(_AssentifyProvider).forEach(function (key) {
|
|
73
97
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_AssentifyWrapper","_interopRequireDefault","require","_types","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_Language","_ActiveLiveType","_BackgroundType","_FlowStepperType","_AssentifyProvider","e","__esModule","default","Assentify","AssentifyWrapper"],"sourceRoot":"..\\..\\src","sources":["index.ts"],"mappings":";;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,MAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,MAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,MAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,SAAA,GAAAd,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAW,SAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAS,SAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAA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AK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAY,gBAAA,CAAAZ,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAI,gBAAA,CAAAZ,GAAA;IAAA;EAAA;AAAA;
|
|
1
|
+
{"version":3,"names":["_AssentifyWrapper","_interopRequireDefault","require","_types","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_Language","_ActiveLiveType","_BackgroundType","_FlowStepperType","_ValidationStyleType","_ClickFontWeightType","_AssentifyProvider","e","__esModule","default","Assentify","AssentifyWrapper"],"sourceRoot":"..\\..\\src","sources":["index.ts"],"mappings":";;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,MAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,MAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,MAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,SAAA,GAAAd,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAW,SAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAA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AAA,GAAApB,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAiB,kBAAA,EAAAhB,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAe,kBAAA,CAAAf,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAO,kBAAA,CAAAf,GAAA;IAAA;EAAA;AAAA;AAAoC,SAAAN,uBAAAsB,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAD7B,MAAMG,SAAS,GAAAd,OAAA,CAAAc,SAAA,GAAGC,yBAAgB","ignoreList":[]}
|
|
@@ -41,8 +41,8 @@ const AssentifyWrapper = {
|
|
|
41
41
|
},
|
|
42
42
|
/// Flow
|
|
43
43
|
|
|
44
|
-
startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, extractedDataLanguage, enableNfc, enableQr, blockLoaderCustomProperties, flowStepperType, rangeStart, rangeEnd, stepperTitle, showCountDown) {
|
|
45
|
-
AssentifySdk.startFlow(logoUrl ?? "", svgBackgroundImageUrl ?? "", textColor ?? "", secondaryTextColor ?? "", backgroundCardColor ?? "", accentColor ?? "", backgroundColors ?? [], clickColors ?? [], angleDegreesBackgroundColors ?? 90.0, holdUntilBackgroundColors ?? 0.4, angleDegreesClickColors ?? 90.0, holdUntilClickColors ?? 0.4, backgroundType, clear, extractedDataLanguage ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true);
|
|
44
|
+
startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, extractedDataLanguage, enableNfc, enableQr, blockLoaderCustomProperties, flowStepperType, rangeStart, rangeEnd, stepperTitle, showCountDown, validationStyle, stepperTitleColor, howToCapturePassportVideo, howToCaptureIDVideo, howToCaptureFaceVideo, clickFontWeight, hideBlockLoader, hideWrapUp, localMrzScan) {
|
|
45
|
+
AssentifySdk.startFlow(logoUrl ?? "", svgBackgroundImageUrl ?? "", textColor ?? "", secondaryTextColor ?? "", backgroundCardColor ?? "", accentColor ?? "", backgroundColors ?? [], clickColors ?? [], angleDegreesBackgroundColors ?? 90.0, holdUntilBackgroundColors ?? 0.4, angleDegreesClickColors ?? 90.0, holdUntilClickColors ?? 0.4, backgroundType, clear, extractedDataLanguage ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true, validationStyle ?? "Message", stepperTitleColor ?? "", howToCapturePassportVideo ?? "", howToCaptureIDVideo ?? "", howToCaptureFaceVideo ?? "", clickFontWeight ?? "Normal", hideBlockLoader ?? false, hideWrapUp ?? false, localMrzScan ?? false);
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
export default AssentifyWrapper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","NativeAssentifySdk","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","processJsonConfigFile","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","flowUiLanguage","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","extractedDataLanguage","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAwB,cAAc;
|
|
1
|
+
{"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","NativeAssentifySdk","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","configFileName","processJsonConfigFile","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","flowUiLanguage","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","templatesByCountryObject","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startScanQr","startScanQrPage","submitData","dataMap","startFlow","logoUrl","svgBackgroundImageUrl","textColor","secondaryTextColor","backgroundCardColor","accentColor","backgroundColors","clickColors","angleDegreesBackgroundColors","holdUntilBackgroundColors","angleDegreesClickColors","holdUntilClickColors","backgroundType","clear","extractedDataLanguage","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle","validationStyle","stepperTitleColor","howToCapturePassportVideo","howToCaptureIDVideo","howToCaptureFaceVideo","clickFontWeight","hideBlockLoader","hideWrapUp","localMrzScan"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAwB,cAAc;AAStE,MAAMC,aAAa,GACjB,kGAAkG,GAClGD,QAAQ,CAACE,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGN,aAAa;AAE5C,MAAMO,YAAY,GAAGP,aAAa,CAACM,kBAAkB,GACjDN,aAAa,CAACM,kBAAkB,GAChC,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACR,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAEL,MAAMS,gBAAgB,GAAG;EACxB;EACCC,UAAU,EAAE,SAAAA,CACVC,MAAc,EACdC,cAAsB,EACtBC,qBAA8B,EAC9BC,mBAA6B,EAC7BC,eAAwB,EACxBC,YAAsB,EACtBC,sBAA+B,EAC/BC,0BAAmC,EACnCC,mBAA4B,EAC5BC,kBAA2B,EAC3BC,8BAAuC,EACvCC,6BAAsC,EACtCC,0BAAmC,EACnCC,yBAAkC,EAClCC,cAAuB,EACvBC,wBAAiC,EACjCC,sBAA+B,EAC/BC,MAAe,EACfC,SAAkB,EAClBC,WAAqB,EACrBC,gBAAyB,EACzBC,qBAA8B,EAC9BC,cAAoC,EACpC;IACE5B,YAAY,CAACK,UAAU,CACbC,MAAM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ACLC,qBAAqB,IAAI,KAAK,EAC9BC,SAAS,IAAI,KAAK,EAClBC,QAAQ,IAAI,KAAK,EACjB1B,IAAI,CAACC,SAAS,CAAC0B,2BAA2B,IAAI,CAAC,CAAC,CAAC,EACjDC,eAAe,IAAI,QAAQ,EAC3BC,UAAU,IAAI,EAAE,EAChBC,QAAQ,IAAI,EAAE,EACdC,YAAY,IAAI,gBAAgB,EAChC3B,aAAa,IAAI,IAAI,EAErB4B,eAAe,IAAI,SAAS,EAC5BC,iBAAiB,IAAI,EAAE,EACvBC,yBAAyB,IAAI,EAAE,EAC/BC,mBAAmB,IAAI,EAAE,EACzBC,qBAAqB,IAAI,EAAE,EAC3BC,eAAe,IAAI,QAAQ,EAE3BC,eAAe,IAAI,KAAK,EACxBC,UAAU,IAAI,KAAK,EACnBC,YAAY,IAAI,KAClB,CAAC;EACL;AAEF,CAAC;AAGD,eAAe1E,gBAAgB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ClickFontWeightType","Normal","Medium","Bold","SemiBold","ExtraBold"],"sourceRoot":"..\\..\\src","sources":["ClickFontWeightType.ts"],"mappings":"AAAA,OAAO,MAAMA,mBAAmB,GAAG;EACjCC,MAAM,EAAE,QAAQ;EAChBC,MAAM,EAAE,QAAQ;EAChBC,IAAI,EAAE,MAAM;EACZC,QAAQ,EAAE,UAAU;EACpBC,SAAS,EAAE;AAEb,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ValidationStyleType","Message","Asterisk"],"sourceRoot":"..\\..\\src","sources":["ValidationStyleType.ts"],"mappings":"AAAA,OAAO,MAAMA,mBAAmB,GAAG;EACjCC,OAAO,EAAE,SAAS;EAClBC,QAAQ,EAAE;AAEZ,CAAC","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -4,6 +4,8 @@ export * from './Language';
|
|
|
4
4
|
export * from './ActiveLiveType';
|
|
5
5
|
export * from './BackgroundType';
|
|
6
6
|
export * from './FlowStepperType';
|
|
7
|
+
export * from './ValidationStyleType';
|
|
8
|
+
export * from './ClickFontWeightType';
|
|
7
9
|
export const Assentify = AssentifyWrapper;
|
|
8
10
|
export * from './AssentifyProvider';
|
|
9
11
|
//# sourceMappingURL=index.js.map
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AssentifyWrapper","Assentify"],"sourceRoot":"..\\..\\src","sources":["index.ts"],"mappings":"AAAA,OAAOA,gBAAgB,MAAM,oBAAoB;AAEjD,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,kBAAkB;AAChC,cAAc,kBAAkB;AAChC,cAAc,mBAAmB;AACjC,OAAO,MAAMC,SAAS,GAAGD,gBAAgB;AACzC,cAAc,qBAAqB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["AssentifyWrapper","Assentify"],"sourceRoot":"..\\..\\src","sources":["index.ts"],"mappings":"AAAA,OAAOA,gBAAgB,MAAM,oBAAoB;AAEjD,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,kBAAkB;AAChC,cAAc,kBAAkB;AAChC,cAAc,mBAAmB;AACjC,cAAc,uBAAuB;AACrC,cAAc,uBAAuB;AACrC,OAAO,MAAMC,SAAS,GAAGD,gBAAgB;AACzC,cAAc,qBAAqB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../example/src/Home.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAkBnD,QAAA,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../example/src/Home.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAkBnD,QAAA,MAAM,IAAI,yBAkYT,CAAC;AAcF,eAAe,IAAI,CAAC"}
|
|
@@ -8,6 +8,6 @@ declare namespace AssentifyWrapper {
|
|
|
8
8
|
function startFaceMatch(imageUrl: any, showCountDown: any, stepID: any): void;
|
|
9
9
|
function startScanQr(templatesByCountryObject: any, language: any, stepID: any): void;
|
|
10
10
|
function submitData(dataMap: any): void;
|
|
11
|
-
function startFlow(logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any): void;
|
|
11
|
+
function startFlow(logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any, validationStyle: any, stepperTitleColor: any, howToCapturePassportVideo: any, howToCaptureIDVideo: any, howToCaptureFaceVideo: any, clickFontWeight: any, hideBlockLoader: any, hideWrapUp: any, localMrzScan: any): void;
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=AssentifyWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../commonjs/AssentifyWrapper.js"],"names":[],"mappings":";;;IAqBc,8lBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,
|
|
1
|
+
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../commonjs/AssentifyWrapper.js"],"names":[],"mappings":";;;IAqBc,8lBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,4uBAEV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClickFontWeightType.d.ts","sourceRoot":"","sources":["../../../commonjs/ClickFontWeightType.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValidationStyleType.d.ts","sourceRoot":"","sources":["../../../commonjs/ValidationStyleType.js"],"names":[],"mappings":""}
|
|
@@ -7,6 +7,6 @@ declare namespace AssentifyWrapper {
|
|
|
7
7
|
function startFaceMatch(imageUrl: any, showCountDown: any, stepID: any): void;
|
|
8
8
|
function startScanQr(templatesByCountryObject: any, language: any, stepID: any): void;
|
|
9
9
|
function submitData(dataMap: any): void;
|
|
10
|
-
function startFlow(logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any): void;
|
|
10
|
+
function startFlow(logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any, validationStyle: any, stepperTitleColor: any, howToCapturePassportVideo: any, howToCaptureIDVideo: any, howToCaptureFaceVideo: any, clickFontWeight: any, hideBlockLoader: any, hideWrapUp: any, localMrzScan: any): void;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=AssentifyWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../module/AssentifyWrapper.js"],"names":[],"mappings":";;IAec,8lBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,
|
|
1
|
+
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../module/AssentifyWrapper.js"],"names":[],"mappings":";;IAec,8lBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,4uBAEV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClickFontWeightType.d.ts","sourceRoot":"","sources":["../../../module/ClickFontWeightType.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValidationStyleType.d.ts","sourceRoot":"","sources":["../../../module/ValidationStyleType.js"],"names":[],"mappings":""}
|
|
@@ -3,6 +3,8 @@ export * from "./Language";
|
|
|
3
3
|
export * from "./ActiveLiveType";
|
|
4
4
|
export * from "./BackgroundType";
|
|
5
5
|
export * from "./FlowStepperType";
|
|
6
|
+
export * from "./ValidationStyleType";
|
|
7
|
+
export * from "./ClickFontWeightType";
|
|
6
8
|
export * from "./AssentifyProvider";
|
|
7
9
|
export const Assentify: {
|
|
8
10
|
initialize: (apiKey: any, configFileName: any, processJsonConfigFile: any, performLivenessFace: any, ENV_CustomColor: any, enableDetect: any, androidMotionCardLimit: any, androidMotionPassportLimit: any, iOSMotionCardsLimit: any, iOSMotionFaceLimit: any, androidBrightnessHighThreshold: any, androidBrightnessLowThreshold: any, iOSBrightnessHighThreshold: any, iOSBrightnessLowThreshold: any, activeLiveType: any, activeLivenessCheckCount: any, faceLivenessRetryCount: any, minRam: any, iOSMinRam: any, minCPUCores: any, manualClickColor: any, countDownNumbersColor: any, flowUiLanguage: any) => void;
|
|
@@ -12,6 +14,6 @@ export const Assentify: {
|
|
|
12
14
|
startFaceMatch: (imageUrl: any, showCountDown: any, stepID: any) => void;
|
|
13
15
|
startScanQr: (templatesByCountryObject: any, language: any, stepID: any) => void;
|
|
14
16
|
submitData: (dataMap: any) => void;
|
|
15
|
-
startFlow: (logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any) => void;
|
|
17
|
+
startFlow: (logoUrl: any, svgBackgroundImageUrl: any, textColor: any, secondaryTextColor: any, backgroundCardColor: any, accentColor: any, backgroundColors: any, clickColors: any, angleDegreesBackgroundColors: any, holdUntilBackgroundColors: any, angleDegreesClickColors: any, holdUntilClickColors: any, backgroundType: any, clear: any, extractedDataLanguage: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any, validationStyle: any, stepperTitleColor: any, howToCapturePassportVideo: any, howToCaptureIDVideo: any, howToCaptureFaceVideo: any, clickFontWeight: any, hideBlockLoader: any, hideWrapUp: any, localMrzScan: any) => void;
|
|
16
18
|
};
|
|
17
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../module/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../module/index.js"],"names":[],"mappings":";;;;;;;;AAQA;;;;;;;;;EAA0C"}
|
|
@@ -3,6 +3,8 @@ import { type FlowUiLanguageCode } from './Language';
|
|
|
3
3
|
import { type TemplatesByCountry } from './types';
|
|
4
4
|
import { type BackgroundTypeCode } from './BackgroundType';
|
|
5
5
|
import { type FlowStepperTypeCode } from './FlowStepperType';
|
|
6
|
+
import { type ValidationStyleTypeCode } from './ValidationStyleType';
|
|
7
|
+
import { type ClickFontWeightTypeCode } from './ClickFontWeightType';
|
|
6
8
|
declare const AssentifyWrapper: {
|
|
7
9
|
initialize: (apiKey: string, configFileName: string, processJsonConfigFile?: string, performLivenessFace?: boolean, ENV_CustomColor?: string, enableDetect?: boolean, androidMotionCardLimit?: number, androidMotionPassportLimit?: number, iOSMotionCardsLimit?: number, iOSMotionFaceLimit?: number, androidBrightnessHighThreshold?: number, androidBrightnessLowThreshold?: number, iOSBrightnessHighThreshold?: number, iOSBrightnessLowThreshold?: number, activeLiveType?: String, activeLivenessCheckCount?: number, faceLivenessRetryCount?: number, minRam?: number, iOSMinRam?: number, minCPUCores?: number, manualClickColor?: string, countDownNumbersColor?: string, flowUiLanguage?: FlowUiLanguageCode) => void;
|
|
8
10
|
startScanPassport: (language: LanguageCode, stepID: number) => void;
|
|
@@ -11,7 +13,7 @@ declare const AssentifyWrapper: {
|
|
|
11
13
|
startFaceMatch: (imageUrl: String, showCountDown: boolean, stepID: number) => void;
|
|
12
14
|
startScanQr: (templatesByCountryObject: TemplatesByCountry, language: LanguageCode, stepID: number) => void;
|
|
13
15
|
submitData: (dataMap: Record<string, string>) => void;
|
|
14
|
-
startFlow: (logoUrl?: string, svgBackgroundImageUrl?: string, textColor?: string, secondaryTextColor?: string, backgroundCardColor?: string, accentColor?: string, backgroundColors?: string[], clickColors?: string[], angleDegreesBackgroundColors?: number, holdUntilBackgroundColors?: number, angleDegreesClickColors?: number, holdUntilClickColors?: number, backgroundType?: BackgroundTypeCode, clear?: boolean, extractedDataLanguage?: LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: boolean) => void;
|
|
16
|
+
startFlow: (logoUrl?: string, svgBackgroundImageUrl?: string, textColor?: string, secondaryTextColor?: string, backgroundCardColor?: string, accentColor?: string, backgroundColors?: string[], clickColors?: string[], angleDegreesBackgroundColors?: number, holdUntilBackgroundColors?: number, angleDegreesClickColors?: number, holdUntilClickColors?: number, backgroundType?: BackgroundTypeCode, clear?: boolean, extractedDataLanguage?: LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: boolean, validationStyle?: ValidationStyleTypeCode, stepperTitleColor?: string, howToCapturePassportVideo?: string, howToCaptureIDVideo?: string, howToCaptureFaceVideo?: string, clickFontWeight?: ClickFontWeightTypeCode, hideBlockLoader?: boolean, hideWrapUp?: boolean, localMrzScan?: boolean) => void;
|
|
15
17
|
};
|
|
16
18
|
export default AssentifyWrapper;
|
|
17
19
|
//# sourceMappingURL=AssentifyWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../src/AssentifyWrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../src/AssentifyWrap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AC,oBAClC,mBAAmB,eACvB,MAAM,aACR,MAAM,iBACF,MAAM,kBACL,OAAO,oBACL,uBAAuB,sBACrB,MAAM,8BACE,MAAM,wBACZ,MAAM,0BACJ,MAAM,oBACZ,uBAAuB,oBACvB,OAAO,eACZ,OAAO,iBACL,OAAO;CAwCzB,CAAC;AAGF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const ClickFontWeightType: {
|
|
2
|
+
Normal: string;
|
|
3
|
+
Medium: string;
|
|
4
|
+
Bold: string;
|
|
5
|
+
SemiBold: string;
|
|
6
|
+
ExtraBold: string;
|
|
7
|
+
};
|
|
8
|
+
export type ClickFontWeightTypeCode = typeof ClickFontWeightType[keyof typeof ClickFontWeightType];
|
|
9
|
+
//# sourceMappingURL=ClickFontWeightType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClickFontWeightType.d.ts","sourceRoot":"","sources":["../../../src/ClickFontWeightType.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;CAO/B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,OAAO,mBAAmB,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValidationStyleType.d.ts","sourceRoot":"","sources":["../../../src/ValidationStyleType.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;CAI/B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,OAAO,mBAAmB,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -3,6 +3,8 @@ export * from './Language';
|
|
|
3
3
|
export * from './ActiveLiveType';
|
|
4
4
|
export * from './BackgroundType';
|
|
5
5
|
export * from './FlowStepperType';
|
|
6
|
+
export * from './ValidationStyleType';
|
|
7
|
+
export * from './ClickFontWeightType';
|
|
6
8
|
export declare const Assentify: {
|
|
7
9
|
initialize: (apiKey: string, configFileName: string, processJsonConfigFile?: string, performLivenessFace?: boolean, ENV_CustomColor?: string, enableDetect?: boolean, androidMotionCardLimit?: number, androidMotionPassportLimit?: number, iOSMotionCardsLimit?: number, iOSMotionFaceLimit?: number, androidBrightnessHighThreshold?: number, androidBrightnessLowThreshold?: number, iOSBrightnessHighThreshold?: number, iOSBrightnessLowThreshold?: number, activeLiveType?: String, activeLivenessCheckCount?: number, faceLivenessRetryCount?: number, minRam?: number, iOSMinRam?: number, minCPUCores?: number, manualClickColor?: string, countDownNumbersColor?: string, flowUiLanguage?: import("./Language").FlowUiLanguageCode) => void;
|
|
8
10
|
startScanPassport: (language: import("./Language").LanguageCode, stepID: number) => void;
|
|
@@ -11,7 +13,7 @@ export declare const Assentify: {
|
|
|
11
13
|
startFaceMatch: (imageUrl: String, showCountDown: boolean, stepID: number) => void;
|
|
12
14
|
startScanQr: (templatesByCountryObject: import("./types").TemplatesByCountry, language: import("./Language").LanguageCode, stepID: number) => void;
|
|
13
15
|
submitData: (dataMap: Record<string, string>) => void;
|
|
14
|
-
startFlow: (logoUrl?: string, svgBackgroundImageUrl?: string, textColor?: string, secondaryTextColor?: string, backgroundCardColor?: string, accentColor?: string, backgroundColors?: string[], clickColors?: string[], angleDegreesBackgroundColors?: number, holdUntilBackgroundColors?: number, angleDegreesClickColors?: number, holdUntilClickColors?: number, backgroundType?: import("./BackgroundType").BackgroundTypeCode, clear?: boolean, extractedDataLanguage?: import("./Language").LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: import("./FlowStepperType").FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: boolean) => void;
|
|
16
|
+
startFlow: (logoUrl?: string, svgBackgroundImageUrl?: string, textColor?: string, secondaryTextColor?: string, backgroundCardColor?: string, accentColor?: string, backgroundColors?: string[], clickColors?: string[], angleDegreesBackgroundColors?: number, holdUntilBackgroundColors?: number, angleDegreesClickColors?: number, holdUntilClickColors?: number, backgroundType?: import("./BackgroundType").BackgroundTypeCode, clear?: boolean, extractedDataLanguage?: import("./Language").LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: import("./FlowStepperType").FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: boolean, validationStyle?: import("./ValidationStyleType").ValidationStyleTypeCode, stepperTitleColor?: string, howToCapturePassportVideo?: string, howToCaptureIDVideo?: string, howToCaptureFaceVideo?: string, clickFontWeight?: import("./ClickFontWeightType").ClickFontWeightTypeCode, hideBlockLoader?: boolean, hideWrapUp?: boolean, localMrzScan?: boolean) => void;
|
|
15
17
|
};
|
|
16
18
|
export * from './AssentifyProvider';
|
|
17
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,eAAO,MAAM,SAAS;;;;;;;;;CAAmB,CAAC;AAC1C,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,eAAO,MAAM,SAAS;;;;;;;;;CAAmB,CAAC;AAC1C,cAAc,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "assentify-sdk-react-native",
|
|
3
|
-
"version": "1.0.0-Beta.
|
|
3
|
+
"version": "1.0.0-Beta.27",
|
|
4
4
|
"description": "This package provides integration with Assentify's services, allowing developers to incorporate Assentify functionalities seamlessly into their applications.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
package/src/AssentifyWrapper.ts
CHANGED
|
@@ -4,6 +4,8 @@ import { type FlowUiLanguageCode } from './Language';
|
|
|
4
4
|
import { type TemplatesByCountry } from './types';
|
|
5
5
|
import { type BackgroundTypeCode } from './BackgroundType';
|
|
6
6
|
import { type FlowStepperTypeCode } from './FlowStepperType';
|
|
7
|
+
import { type ValidationStyleTypeCode, } from './ValidationStyleType';
|
|
8
|
+
import { type ClickFontWeightTypeCode, } from './ClickFontWeightType';
|
|
7
9
|
|
|
8
10
|
const LINKING_ERROR =
|
|
9
11
|
`The package 'assentify-sdk-react-native-react-native' doesn't seem to be linked. Make sure: \n\n` +
|
|
@@ -138,6 +140,15 @@ const AssentifyWrapper = {
|
|
|
138
140
|
rangeEnd?: number,
|
|
139
141
|
stepperTitle?: string,
|
|
140
142
|
showCountDown?: boolean,
|
|
143
|
+
validationStyle?: ValidationStyleTypeCode,
|
|
144
|
+
stepperTitleColor?: string,
|
|
145
|
+
howToCapturePassportVideo?: string,
|
|
146
|
+
howToCaptureIDVideo?: string,
|
|
147
|
+
howToCaptureFaceVideo?: string,
|
|
148
|
+
clickFontWeight?: ClickFontWeightTypeCode,
|
|
149
|
+
hideBlockLoader?: boolean,
|
|
150
|
+
hideWrapUp?: boolean,
|
|
151
|
+
localMrzScan?: boolean,
|
|
141
152
|
) {
|
|
142
153
|
AssentifySdk.startFlow(
|
|
143
154
|
logoUrl ?? "",
|
|
@@ -163,9 +174,21 @@ const AssentifyWrapper = {
|
|
|
163
174
|
rangeEnd ?? 50,
|
|
164
175
|
stepperTitle ?? "Identification",
|
|
165
176
|
showCountDown ?? true,
|
|
177
|
+
|
|
178
|
+
validationStyle ?? "Message",
|
|
179
|
+
stepperTitleColor ?? "",
|
|
180
|
+
howToCapturePassportVideo ?? "",
|
|
181
|
+
howToCaptureIDVideo ?? "",
|
|
182
|
+
howToCaptureFaceVideo ?? "",
|
|
183
|
+
clickFontWeight ?? "Normal",
|
|
184
|
+
|
|
185
|
+
hideBlockLoader ?? false,
|
|
186
|
+
hideWrapUp ?? false,
|
|
187
|
+
localMrzScan ?? false,
|
|
166
188
|
);
|
|
167
189
|
},
|
|
168
190
|
|
|
169
191
|
};
|
|
170
192
|
|
|
193
|
+
|
|
171
194
|
export default AssentifyWrapper;
|
package/src/index.ts
CHANGED
|
@@ -5,5 +5,7 @@ export * from './Language';
|
|
|
5
5
|
export * from './ActiveLiveType';
|
|
6
6
|
export * from './BackgroundType';
|
|
7
7
|
export * from './FlowStepperType';
|
|
8
|
+
export * from './ValidationStyleType';
|
|
9
|
+
export * from './ClickFontWeightType';
|
|
8
10
|
export const Assentify = AssentifyWrapper;
|
|
9
11
|
export * from './AssentifyProvider';
|