assentify-sdk-react-native 1.0.0-Beta.2 → 1.0.0-Beta.21

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.
Files changed (46) hide show
  1. package/README.md +61 -1
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/java/com/assentifysdk/AssentifySdkModule.kt +20 -4
  4. package/android/src/main/java/com/assentifysdk/FlowActivity.kt +22 -1
  5. package/android/src/main/java/com/assentifysdk/ScanIDActivity.kt +5 -4
  6. package/android/src/main/res/layout/activity_scan.xml +45 -57
  7. package/assentify-sdk.podspec +1 -1
  8. package/ios/NativeAssentifySdk.mm +7 -1
  9. package/ios/NativeAssentifySdk.swift +52 -12
  10. package/lib/commonjs/AssentifyWrapper.js +4 -4
  11. package/lib/commonjs/AssentifyWrapper.js.map +1 -1
  12. package/lib/commonjs/FlowStepperType.js +11 -0
  13. package/lib/commonjs/FlowStepperType.js.map +1 -0
  14. package/lib/commonjs/index.js +12 -0
  15. package/lib/commonjs/index.js.map +1 -1
  16. package/lib/commonjs/types.js.map +1 -1
  17. package/lib/module/AssentifyWrapper.js +4 -4
  18. package/lib/module/AssentifyWrapper.js.map +1 -1
  19. package/lib/module/FlowStepperType.js +5 -0
  20. package/lib/module/FlowStepperType.js.map +1 -0
  21. package/lib/module/index.js +1 -0
  22. package/lib/module/index.js.map +1 -1
  23. package/lib/module/types.js.map +1 -1
  24. package/lib/typescript/example/src/Home.d.ts.map +1 -1
  25. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts +2 -2
  26. package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts.map +1 -1
  27. package/lib/typescript/lib/commonjs/FlowStepperType.d.ts +6 -0
  28. package/lib/typescript/lib/commonjs/FlowStepperType.d.ts.map +1 -0
  29. package/lib/typescript/lib/module/AssentifyWrapper.d.ts +2 -2
  30. package/lib/typescript/lib/module/AssentifyWrapper.d.ts.map +1 -1
  31. package/lib/typescript/lib/module/FlowStepperType.d.ts +5 -0
  32. package/lib/typescript/lib/module/FlowStepperType.d.ts.map +1 -0
  33. package/lib/typescript/lib/module/index.d.ts +3 -2
  34. package/lib/typescript/lib/module/index.d.ts.map +1 -1
  35. package/lib/typescript/src/AssentifyWrapper.d.ts +3 -2
  36. package/lib/typescript/src/AssentifyWrapper.d.ts.map +1 -1
  37. package/lib/typescript/src/FlowStepperType.d.ts +6 -0
  38. package/lib/typescript/src/FlowStepperType.d.ts.map +1 -0
  39. package/lib/typescript/src/index.d.ts +3 -2
  40. package/lib/typescript/src/index.d.ts.map +1 -1
  41. package/lib/typescript/src/types.d.ts.map +1 -1
  42. package/package.json +1 -1
  43. package/src/AssentifyWrapper.ts +15 -2
  44. package/src/FlowStepperType.ts +7 -0
  45. package/src/index.ts +1 -0
  46. package/src/types.ts +1 -0
package/README.md CHANGED
@@ -93,8 +93,68 @@ yarn add assentify-sdk-react-native
93
93
 
94
94
  ## Versions
95
95
 
96
+ ***1.0.0-Beta.21***
97
+ 1. "Assisted Data Entry Step" Improvements
98
+
99
+ ***1.0.0-Beta.20***
100
+ 1. "Assisted Data Entry Step" Improvements
101
+
102
+ ***1.0.0-Beta.19***
103
+ 1. *Enhanced Flow Design*
104
+ 2. "Assisted Data Entry Step" Improvements
105
+
106
+ ***1.0.0-Beta.18***
107
+ 1. *Enhanced Flow Design*
108
+ 2. "Assisted Data Entry Step" Improvements
109
+
110
+ ***1.0.0-Beta.17***
111
+ 1. *Support for initializing the SDK using a file path*
112
+
113
+ ***1.0.0-Beta.16***
114
+ 1. *"Assisted Data Entry Step" Improvements*
115
+
116
+ ***1.0.0-Beta.15***
117
+ 1. *Enhanced Flow Design*
118
+
119
+ ***1.0.0-Beta.14***
120
+ 1. *Optimized Camera Preview*
121
+
122
+ ***1.0.0-Beta.13***
123
+ 1. *Optimized Face Match Experience*
124
+
125
+ ***1.0.0-Beta.12***
126
+ 1. *Optimized OTP Delivery Process*
127
+
128
+ **1.0.0-Beta.11**
129
+ 1. *Optimized Face Match Experience*
130
+
131
+ **1.0.0-Beta.10**
132
+ 1. *Enhanced User Experience*
133
+
134
+ **1.0.0-Beta.9**
135
+ 1. *Support for new button design*
136
+
137
+ **1.0.0-Beta.8**
138
+ 1. *Support for new button design*
139
+
140
+ **1.0.0-Beta.7**
141
+ 1. *Enhanced Flow Design
142
+
143
+ **1.0.0-Beta.6**
144
+ 1. *Enhanced Flow Design
145
+
146
+ **1.0.0-Beta.5**
147
+ 1. *Enhanced User Experience*
148
+ 2. *Auto Generated Signature*
149
+
150
+ **1.0.0-Beta.4**
151
+ 1. *Enhanced User Experience*
152
+
153
+ **1.0.0-Beta.3**
154
+ 1. *Enhanced The Overall User Experience*
155
+
96
156
  **1.0.0-Beta.2**
97
- 1. *Support SDK initialization from local configuration file*+
157
+ 1. *Support SDK initialization from local configuration file*
98
158
  2. *Support email and phone number OTP verification on the signing step*
99
159
 
100
160
 
@@ -101,7 +101,7 @@ dependencies {
101
101
  compileOnly("com.facebook.react:react-android")
102
102
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
103
103
 
104
- implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:1.0.0-Beta.13'
104
+ implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:1.0.0-Beta.32'
105
105
 
106
106
  implementation 'com.google.code.gson:gson:2.13.2'
107
107
  implementation 'androidx.navigation:navigation-fragment-ktx:2.9.7'
@@ -58,6 +58,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
58
58
  fun initialize(
59
59
  apiKey: String,
60
60
  configFileName: String,
61
+ processJsonConfigFile: String = "",
61
62
  performLivenessFace: Boolean? = null,
62
63
  ENV_CustomColor: String? = null,
63
64
  enableDetect: Boolean = true,
@@ -96,6 +97,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
96
97
  println("$tag Assentify SDK Initialized")
97
98
  println("$tag apiKey: $apiKey")
98
99
  println("$tag configFileName: $configFileName")
100
+ println("$tag processJsonConfigFile: $processJsonConfigFile")
99
101
  println("$tag performLivenessFace: $performLivenessFace")
100
102
  println("$tag ENV_CustomColor: $ENV_CustomColor")
101
103
  println("$tag enableDetect: $enableDetect")
@@ -158,7 +160,8 @@ class AssentifySdkModule(context: ReactApplicationContext) :
158
160
  environmentalConditions,
159
161
  this,
160
162
  performActiveLivenessFace = performLivenessFace,
161
- context = reactApplicationContext
163
+ context = reactApplicationContext,
164
+ processJsonConfigFile = processJsonConfigFile
162
165
  )
163
166
  } catch (e: Exception) {
164
167
  Log.e(NAME, e.toString())
@@ -306,8 +309,11 @@ class AssentifySdkModule(context: ReactApplicationContext) :
306
309
  // }
307
310
  // sendEvent("AppResult", eventResultMap)
308
311
  this.configModel = configModel;
309
- templatesByCountry = assentifySdk.getTemplates( configModel.stepMap.filter { it.stepDefinition == StepsNames.IdentificationDocumentCapture }.first().id
310
- );
312
+ templatesByCountry = configModel.stepMap
313
+ .firstOrNull { it.stepDefinition == StepsNames.IdentificationDocumentCapture }
314
+ ?.id
315
+ ?.let { assentifySdk.getTemplates(it) }
316
+ ?: emptyList()
311
317
  val eventResultMap =
312
318
  Arguments.createMap().apply {
313
319
  val jsonTemplates = encodeTemplatesByCountryToJson(templatesByCountry)
@@ -504,7 +510,12 @@ class AssentifySdkModule(context: ReactApplicationContext) :
504
510
  language: String,
505
511
  enableNfc: Boolean? = null,
506
512
  enableQr: Boolean? = null,
507
- jsonBlockLoaderCustomProperties: String? = null
513
+ jsonBlockLoaderCustomProperties: String? = null,
514
+ stepperType: String? = null,
515
+ rangeStart: Int? = null,
516
+ rangeEnd: Int? = null,
517
+ stepperTitle: String? = null,
518
+ showCountDown: Boolean? = null,
508
519
  ) {
509
520
  val intent = Intent(reactApplicationContext, FlowActivity::class.java)
510
521
  intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
@@ -532,6 +543,11 @@ class AssentifySdkModule(context: ReactApplicationContext) :
532
543
  intent.putExtra("enableNfc", enableNfc)
533
544
  intent.putExtra("enableQr", enableQr)
534
545
  intent.putExtra("jsonBlockLoaderCustomProperties", jsonBlockLoaderCustomProperties)
546
+ intent.putExtra("stepperType", stepperType)
547
+ intent.putExtra("rangeStart", rangeStart)
548
+ intent.putExtra("rangeEnd", rangeEnd)
549
+ intent.putExtra("stepperTitle", stepperTitle)
550
+ intent.putExtra("showCountDown", showCountDown)
535
551
  reactApplicationContext.currentActivity?.startActivity(intent)
536
552
  }
537
553
 
@@ -9,6 +9,7 @@ import com.assentify.sdk.AssentifySdk
9
9
  import com.assentify.sdk.AssentifySdkObject
10
10
  import com.assentify.sdk.Core.Constants.BackgroundType
11
11
  import com.assentify.sdk.Core.Constants.BackgroundStyle
12
+ import com.assentify.sdk.Core.Constants.StepperType
12
13
  import com.assentify.sdk.Core.Constants.FlowEnvironmentalConditions
13
14
  import com.assentify.sdk.Flow.Models.FlowCallBack
14
15
  import com.assentify.sdk.Flow.Models.FlowCompletedModel
@@ -83,6 +84,12 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
83
84
  blockLoaderCustomProperties =
84
85
  Gson().fromJson(jsonBlockLoaderCustomProperties, type) ?: emptyMap()
85
86
 
87
+ val stepperType = intent.getStringExtra("stepperType")
88
+ val rangeStart = intent.getIntExtra("rangeStart",25)
89
+ val rangeEnd = intent.getIntExtra("rangeEnd",50)
90
+ val stepperTitle = intent.getStringExtra("stepperTitle")
91
+ val showCountDown = intent.getBooleanExtra("showCountDown", true)
92
+
86
93
  // ========= 4) DEBUG LOGGING =========
87
94
  Log.d("FlowActivity", "===== Received Extras =====")
88
95
  Log.d("FlowActivity", "logoUrl: $logoUrl")
@@ -104,12 +111,21 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
104
111
  Log.d("FlowActivity", "enableNfc: $enableNfc")
105
112
  Log.d("FlowActivity", "enableQr: $enableQr")
106
113
  Log.d("FlowActivity", "blockLoaderCustomProperties: $blockLoaderCustomProperties")
114
+ Log.d("FlowActivity", "stepperType: $stepperType")
115
+ Log.d("FlowActivity", "rangeStart: $rangeStart")
116
+ Log.d("FlowActivity", "rangeEnd: $rangeEnd")
117
+ Log.d("FlowActivity", "stepperTitle: $stepperTitle")
118
+ Log.d("FlowActivity", "showCountDown: $showCountDown")
107
119
  Log.d("FlowActivity", "================================")
108
120
 
109
121
  val bType = BackgroundType.entries.firstOrNull {
110
122
  it.type.equals(backgroundType, ignoreCase = true)
111
123
  } ?: BackgroundType.Color
112
124
 
125
+ val sType = StepperType.entries.firstOrNull {
126
+ it.type.equals(stepperType, ignoreCase = true)
127
+ } ?: StepperType.Normal
128
+
113
129
  var backgroundColor: BackgroundStyle? = null
114
130
  var clickColor: BackgroundStyle? = null
115
131
 
@@ -156,7 +172,12 @@ class FlowActivity : AppCompatActivity() , FlowCallBack {
156
172
  language = language,
157
173
  enableNfc = enableNfc,
158
174
  enableQr = enableQr,
159
- blockLoaderCustomProperties = blockLoaderCustomProperties
175
+ blockLoaderCustomProperties = blockLoaderCustomProperties,
176
+ stepperType = sType,
177
+ rangeStart = rangeStart,
178
+ rangeEnd = rangeEnd,
179
+ stepperTitle = stepperTitle!!,
180
+ showCountDown = showCountDown!!,
160
181
  );
161
182
  assentifySdk.startFlow(
162
183
  activityContext = this@FlowActivity,
@@ -39,6 +39,7 @@ import com.facebook.react.bridge.Arguments
39
39
  import com.facebook.react.modules.core.DeviceEventManagerModule
40
40
  import com.squareup.picasso.Picasso
41
41
  import com.assentify.sdk.RemoteClient.Models.TemplatesByCountry
42
+ import androidx.constraintlayout.widget.ConstraintLayout
42
43
 
43
44
  class ScanIDActivity: AppCompatActivity(),
44
45
  IDCardCallback {
@@ -502,7 +503,7 @@ class ScanIDActivity: AppCompatActivity(),
502
503
  toolbarTitle.setTextColor(Color.parseColor(processingColor))
503
504
 
504
505
 
505
- val backIDPage = findViewById<LinearLayout>(R.id.backIDPage)
506
+ val backIDPage = findViewById<ConstraintLayout>(R.id.backIDPage)
506
507
  backIDPage.setBackgroundColor(Color.parseColor(holdHandColor))
507
508
  backIDPage.visibility = View.VISIBLE
508
509
 
@@ -518,9 +519,9 @@ class ScanIDActivity: AppCompatActivity(),
518
519
  }
519
520
 
520
521
  val drawableInfo = getResources().getDrawable(R.drawable.info_rounded_background)
521
- drawableInfo?.setColorFilter(Color.parseColor(manualClickColor), PorterDuff.Mode.SRC_ATOP)
522
+ drawableInfo?.setColorFilter(Color.WHITE, PorterDuff.Mode.SRC_ATOP)
522
523
  nextTemplate.setBackground(drawableInfo)
523
-
524
+ nextTemplate.setTextColor(Color.parseColor(manualClickColor))
524
525
  var imageUrl = "";
525
526
  if (classifiedTemplate.isNotEmpty()) {
526
527
  for (it in templatesByCountry.templates) {
@@ -548,7 +549,7 @@ class ScanIDActivity: AppCompatActivity(),
548
549
  toolbarTitle.setText(title)
549
550
  toolbarTitle.setTextColor(Color.parseColor(processingColor))
550
551
 
551
- val backIDPage = findViewById<LinearLayout>(R.id.backIDPage)
552
+ val backIDPage = findViewById<ConstraintLayout>(R.id.backIDPage)
552
553
  backIDPage.setBackgroundColor(Color.parseColor(holdHandColor))
553
554
  backIDPage.visibility = View.GONE
554
555
 
@@ -309,58 +309,52 @@
309
309
  android:layout_marginEnd="16dp"
310
310
  android:layout_marginBottom="30dp"/>
311
311
 
312
-
313
- <LinearLayout
312
+ <androidx.constraintlayout.widget.ConstraintLayout
314
313
  android:id="@+id/backIDPage"
315
314
  android:visibility="gone"
316
315
  android:layout_width="match_parent"
317
316
  android:layout_height="match_parent"
318
- android:orientation="vertical"
319
- android:paddingStart="24dp"
320
- android:paddingEnd="24dp"
321
- android:paddingTop="24dp"
322
- android:paddingBottom="24dp"
323
317
  android:background="@color/Green">
318
+
319
+ <!-- Always middle: constrained top-to-top of parent AND bottom-to-top of the button,
320
+ with wrap_content height. ConstraintLayout centers a wrap_content view between
321
+ two opposing constraints by default (bias 0.5), so this stays vertically centered
322
+ in whatever space is left above the button, on any screen height. -->
324
323
  <LinearLayout
324
+ android:id="@+id/middleContent"
325
325
  android:layout_width="match_parent"
326
- android:layout_height="match_parent"
327
- android:layout_gravity="center_vertical"
328
- android:layout_marginTop="00dp"
329
- android:gravity="center"
326
+ android:layout_height="wrap_content"
330
327
  android:orientation="vertical"
331
- android:paddingLeft="10dp"
332
- android:paddingRight="10dp"
333
- android:paddingBottom="2dp"
334
- android:visibility="visible">
335
-
328
+ android:gravity="center_horizontal"
329
+ android:paddingStart="24dp"
330
+ android:paddingEnd="24dp"
331
+ android:paddingTop="24dp"
332
+ android:paddingBottom="24dp"
333
+ app:layout_constraintTop_toTopOf="parent"
334
+ app:layout_constraintBottom_toTopOf="@id/nextTemplate"
335
+ app:layout_constraintStart_toStartOf="parent"
336
+ app:layout_constraintEnd_toEndOf="parent">
336
337
 
337
338
  <TextView
338
339
  android:id="@+id/tvInstruction"
339
- android:layout_width="wrap_content"
340
+ android:layout_width="match_parent"
340
341
  android:layout_height="wrap_content"
341
- android:paddingTop="120dp"
342
342
  android:text="Please flip the card provided to take the back of the card"
343
343
  android:textColor="@android:color/white"
344
344
  android:textSize="20sp"
345
345
  android:gravity="center"
346
- android:textStyle="bold"
347
- app:layout_constraintStart_toStartOf="parent"
348
- app:layout_constraintEnd_toEndOf="parent"
349
- tools:ignore="MissingConstraints" />
346
+ android:textStyle="bold" />
350
347
 
351
348
  <ImageView
352
349
  android:id="@+id/ivSample"
353
350
  android:layout_width="wrap_content"
351
+ android:layout_height="wrap_content"
352
+ android:layout_marginTop="40dp"
354
353
  android:layout_margin="10dp"
355
354
  android:padding="10dp"
356
- android:layout_height="wrap_content"
357
- android:paddingTop="100dp"
358
355
  android:contentDescription="@string/app_name"
359
356
  android:scaleType="fitXY"
360
- android:layout_gravity="center"
361
- app:layout_constraintTop_toBottomOf="@id/tvInstruction"
362
- app:layout_constraintStart_toStartOf="parent"
363
- app:layout_constraintEnd_toEndOf="parent" />
357
+ android:layout_gravity="center" />
364
358
 
365
359
  <!-- Caption -->
366
360
  <TextView
@@ -371,43 +365,37 @@
371
365
  android:layout_marginTop="15dp"
372
366
  android:text="Expected Card Type"
373
367
  android:textColor="@color/white"
374
- android:textSize="12sp"
375
- app:layout_constraintTop_toBottomOf="@id/ivSample"
376
- app:layout_constraintStart_toStartOf="parent"
377
- app:layout_constraintEnd_toEndOf="parent" />
368
+ android:textSize="12sp" />
378
369
 
379
370
  <pl.droidsonroids.gif.GifImageView
380
371
  android:id="@+id/gifCard"
381
- android:visibility="visible"
382
- app:layout_constraintTop_toBottomOf="@id/tvCaption"
383
372
  android:layout_width="150dp"
384
373
  android:layout_height="150dp"
385
- android:background="@null"
386
- android:src="@drawable/card"
387
- tools:ignore="MissingConstraints" />
388
-
389
- <Button
390
- android:id="@+id/nextTemplate"
391
- android:layout_width="match_parent"
392
- android:layout_height="56dp"
393
- android:text="Next"
394
- android:textAllCaps="false"
395
- android:textColor="@android:color/white"
396
- app:cornerRadius="30dp"
397
- app:layout_constraintStart_toStartOf="parent"
398
- app:layout_constraintEnd_toEndOf="parent"
399
- app:layout_constraintBottom_toBottomOf="parent"
400
- android:layout_marginStart="10dp"
401
- android:layout_marginEnd="10dp"
402
374
  android:layout_marginTop="15dp"
403
- android:layout_marginBottom="10dp"/>
375
+ android:layout_gravity="center"
376
+ android:background="@null"
377
+ android:src="@drawable/card" />
404
378
 
405
379
  </LinearLayout>
406
380
 
407
-
408
-
409
-
410
-
411
- </LinearLayout>
381
+ <!-- Fixed bottom bar. Pinned directly to the parent ConstraintLayout's bottom edge,
382
+ so its position never depends on the content above — it is always laid out
383
+ and always clickable, no matter the screen height. -->
384
+ <Button
385
+ android:id="@+id/nextTemplate"
386
+ android:layout_width="match_parent"
387
+ android:layout_height="56dp"
388
+ android:text="Next"
389
+ android:textAllCaps="false"
390
+ android:textColor="@android:color/white"
391
+ app:cornerRadius="30dp"
392
+ android:layout_marginStart="30dp"
393
+ android:layout_marginEnd="30dp"
394
+ android:layout_marginBottom="10dp"
395
+ app:layout_constraintStart_toStartOf="parent"
396
+ app:layout_constraintEnd_toEndOf="parent"
397
+ app:layout_constraintBottom_toBottomOf="parent" />
398
+
399
+ </androidx.constraintlayout.widget.ConstraintLayout>
412
400
 
413
401
  </androidx.constraintlayout.widget.ConstraintLayout>
@@ -39,6 +39,6 @@ Pod::Spec.new do |s|
39
39
 
40
40
  s.dependency "React-Core"
41
41
  s.dependency "MLKitFaceDetection", '8.0.0'
42
- s.dependency "AssentifySdk", '1.0.0-Beta.6'
42
+ s.dependency "AssentifySdk", '1.0.0-Beta.18'
43
43
 
44
44
  end
@@ -5,6 +5,7 @@
5
5
 
6
6
  RCT_EXTERN_METHOD(initialize: (NSString *)apiKey
7
7
  configFileName:(NSString *)configFileName
8
+ processJsonConfigFile:(NSString *)processJsonConfigFile
8
9
  performLivenessFace:(BOOL *)performLivenessFace
9
10
  ENV_CustomColor:(NSString *)ENV_CustomColor
10
11
  enableDetect:(BOOL *)enableDetect
@@ -71,7 +72,12 @@ RCT_EXTERN_METHOD(startFlow:(NSString *)logoUrl
71
72
  language:(NSString *)language
72
73
  enableNfc:(BOOL)enableNfc
73
74
  enableQr:(BOOL)enableQr
74
- blockLoaderCustomProperties:(NSString *)blockLoaderCustomProperties)
75
+ blockLoaderCustomProperties:(NSString *)blockLoaderCustomProperties
76
+ stepperType:(NSString *)stepperType
77
+ rangeStart:(NSNumber *)rangeStart
78
+ rangeEnd:(NSNumber *)rangeEnd
79
+ stepperTitle:(NSString *)stepperTitle
80
+ showCountDown:(BOOL)showCountDown)
75
81
 
76
82
 
77
83
  RCT_EXTERN_METHOD(supportedEvents)
@@ -28,6 +28,7 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
28
28
  func initialize(_
29
29
  apiKey: String,
30
30
  configFileName: String,
31
+ processJsonConfigFile: String = "",
31
32
  performLivenessFace: Bool = false,
32
33
  ENV_CustomColor: String = "#f5a103",
33
34
  enableDetect: Bool = true,
@@ -62,6 +63,7 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
62
63
  print("\(tag) Assentify SDK Initialized")
63
64
  print("\(tag) apiKey: \(apiKey)")
64
65
  print("\(tag) configFileName: \(configFileName)")
66
+ print("\(tag) processJsonConfigFile: \(processJsonConfigFile)")
65
67
  print("\(tag) performLivenessFace: \(performLivenessFace)")
66
68
  print("\(tag) ENV_CustomColor: \(ENV_CustomColor)")
67
69
  print("\(tag) enableDetect: \(enableDetect)")
@@ -136,7 +138,8 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
136
138
  configFileName: configFileName,
137
139
  environmentalConditions: environmentalConditions,
138
140
  assentifySdkDelegate: self,
139
- performActiveLivenessFace: performLivenessFace
141
+ performActiveLivenessFace: performLivenessFace,
142
+ processJsonConfigFile: processJsonConfigFile
140
143
  )
141
144
 
142
145
 
@@ -160,12 +163,13 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
160
163
  self.stepDefinitions = configModel.stepDefinitions;
161
164
  self.configModel = configModel;
162
165
 
163
- if let stepId = configModel.stepMap
164
- .first(where: { $0.stepDefinition == StepsNames.identificationDocumentCapture })?
165
- .id {
166
+ let stepId = configModel.stepMap
167
+ .first { $0.stepDefinition == StepsNames.identificationDocumentCapture }?
168
+ .id
166
169
 
167
- templatesByCountry = self.assentifySdk!.getTemplates(stepID: stepId)
168
- }
170
+ self.templatesByCountry = stepId.flatMap {
171
+ self.assentifySdk?.getTemplates(stepID: $0)
172
+ } ?? []
169
173
 
170
174
  do {
171
175
  let jsonDataTemplates = try JSONEncoder().encode(self.templatesByCountry)
@@ -656,7 +660,12 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
656
660
  language: String,
657
661
  enableNfc: Bool,
658
662
  enableQr: Bool,
659
- blockLoaderCustomProperties: String
663
+ blockLoaderCustomProperties: String,
664
+ stepperType: String,
665
+ rangeStart: NSNumber,
666
+ rangeEnd: NSNumber,
667
+ stepperTitle: String,
668
+ showCountDown: Bool
660
669
  ) {
661
670
  navToFlow(
662
671
  logoUrl:logoUrl,
@@ -676,7 +685,12 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
676
685
  language: language,
677
686
  enableNfc: enableNfc,
678
687
  enableQr: enableQr,
679
- blockLoaderCustomProperties: blockLoaderCustomProperties
688
+ blockLoaderCustomProperties: blockLoaderCustomProperties,
689
+ stepperType: stepperType,
690
+ rangeStart: rangeStart,
691
+ rangeEnd: rangeEnd,
692
+ stepperTitle: stepperTitle,
693
+ showCountDown: showCountDown
680
694
  )
681
695
  }
682
696
 
@@ -701,7 +715,12 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
701
715
  language: String,
702
716
  enableNfc: Bool,
703
717
  enableQr: Bool,
704
- blockLoaderCustomProperties: String
718
+ blockLoaderCustomProperties: String,
719
+ stepperType: String,
720
+ rangeStart: NSNumber,
721
+ rangeEnd: NSNumber,
722
+ stepperTitle: String,
723
+ showCountDown: Bool
705
724
  ) {
706
725
 
707
726
  let angleBg = angleDegreesBackgroundColors.floatValue
@@ -742,6 +761,11 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
742
761
  print("\(tag) enableQr: \(enableQr)")
743
762
  print("\(tag) clear: \(clear)")
744
763
  print("\(tag) blockLoaderCustomProperties: \(parsedBlockLoaderCustomProperties)")
764
+ print("\(tag) stepperType: \(stepperType)")
765
+ print("\(tag) rangeStart: \(rangeStart)")
766
+ print("\(tag) rangeEnd: \(rangeEnd)")
767
+ print("\(tag) stepperTitle: \(stepperTitle)")
768
+ print("\(tag) showCountDown: \(showCountDown)")
745
769
  print("\(tag) =================================")
746
770
 
747
771
  let bType: BackgroundType = {
@@ -755,6 +779,17 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
755
779
  }
756
780
  }()
757
781
 
782
+ let sType: StepperType = {
783
+ switch stepperType {
784
+ case "Normal":
785
+ return .normal
786
+ case "PercentageBased":
787
+ return .percentageBased
788
+ default:
789
+ return .normal
790
+ }
791
+ }()
792
+
758
793
  var backgroundColor: BackgroundStyle? = nil
759
794
  var clickColor: BackgroundStyle? = nil
760
795
 
@@ -792,17 +827,22 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
792
827
  accentColor: accentColor,
793
828
  backgroundColor: backgroundColor,
794
829
  clickColor: clickColor,
830
+ stepperType: sType,
831
+ rangeStart: rangeStart.intValue,
832
+ rangeEnd:rangeEnd.intValue,
833
+ stepperTitle:stepperTitle,
795
834
  language: language,
796
835
  enableNfc: enableNfc,
797
836
  enableQr: enableQr,
798
- blockLoaderCustomProperties: parsedBlockLoaderCustomProperties
837
+ showCountDown:showCountDown,
838
+ blockLoaderCustomProperties: parsedBlockLoaderCustomProperties,
799
839
  )
800
840
  DispatchQueue.main.async {
801
-
841
+
802
842
  if(clear){
803
843
  self.assentifySdk!.clearFlow();
804
844
  }
805
-
845
+
806
846
  if let currentViewController = UIApplication.shared.keyWindow?.rootViewController {
807
847
 
808
848
  self.assentifySdk!.startFlow(
@@ -19,8 +19,8 @@ const AssentifySdk = _reactNative.NativeModules.NativeAssentifySdk ? _reactNativ
19
19
  });
20
20
  const AssentifyWrapper = {
21
21
  /// Initialize
22
- initialize: function (apiKey, configFileName, performLivenessFace, ENV_CustomColor, enableDetect, androidMotionCardLimit, androidMotionPassportLimit, iOSMotionCardsLimit, iOSMotionFaceLimit, androidBrightnessHighThreshold, androidBrightnessLowThreshold, iOSBrightnessHighThreshold, iOSBrightnessLowThreshold, activeLiveType, activeLivenessCheckCount, faceLivenessRetryCount, minRam, iOSMinRam, minCPUCores, manualClickColor, countDownNumbersColor) {
23
- AssentifySdk.initialize(apiKey, configFileName, performLivenessFace ?? false, ENV_CustomColor ?? '#f5a103', enableDetect ?? true, androidMotionCardLimit ?? 10, androidMotionPassportLimit ?? 15, iOSMotionCardsLimit ?? 30, iOSMotionFaceLimit ?? 5, androidBrightnessHighThreshold ?? 180, androidBrightnessLowThreshold ?? 50, iOSBrightnessHighThreshold ?? 255, iOSBrightnessLowThreshold ?? 50, activeLiveType ?? "NONE", activeLivenessCheckCount ?? 0, faceLivenessRetryCount ?? 2, minRam ?? 8, iOSMinRam ?? 2, minCPUCores ?? 6, manualClickColor ?? '#f5a103', countDownNumbersColor ?? '#f5a103');
22
+ initialize: function (apiKey, configFileName, processJsonConfigFile, performLivenessFace, ENV_CustomColor, enableDetect, androidMotionCardLimit, androidMotionPassportLimit, iOSMotionCardsLimit, iOSMotionFaceLimit, androidBrightnessHighThreshold, androidBrightnessLowThreshold, iOSBrightnessHighThreshold, iOSBrightnessLowThreshold, activeLiveType, activeLivenessCheckCount, faceLivenessRetryCount, minRam, iOSMinRam, minCPUCores, manualClickColor, countDownNumbersColor) {
23
+ AssentifySdk.initialize(apiKey, configFileName, processJsonConfigFile ?? '', performLivenessFace ?? false, ENV_CustomColor ?? '#f5a103', enableDetect ?? true, androidMotionCardLimit ?? 10, androidMotionPassportLimit ?? 15, iOSMotionCardsLimit ?? 30, iOSMotionFaceLimit ?? 5, androidBrightnessHighThreshold ?? 180, androidBrightnessLowThreshold ?? 50, iOSBrightnessHighThreshold ?? 255, iOSBrightnessLowThreshold ?? 50, activeLiveType ?? "NONE", activeLivenessCheckCount ?? 0, faceLivenessRetryCount ?? 2, minRam ?? 8, iOSMinRam ?? 2, minCPUCores ?? 6, manualClickColor ?? '#f5a103', countDownNumbersColor ?? '#f5a103');
24
24
  },
25
25
  /// Passport
26
26
  startScanPassport: function (language, stepID) {
@@ -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, language, enableNfc, enableQr, blockLoaderCustomProperties) {
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, language ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}));
50
+ startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, language, 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, language ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true);
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","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","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","enableNfc","enableQr","blockLoaderCustomProperties","_default","exports"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAKA,MAAMC,aAAa,GACjB,kGAAkG,GAClGC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGC,0BAAa;AAE5C,MAAMC,YAAY,GAAGD,0BAAa,CAACD,kBAAkB,GACjDC,0BAAa,CAACD,kBAAkB,GAChC,IAAIG,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACV,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAEL,MAAMW,gBAAgB,GAAG;EACxB;EACCC,UAAU,EAAE,SAAAA,CACVC,MAAc,EACdC,cAAsB,EACtBC,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,EAC9B;IAC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ignoreList":[]}
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","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","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle","_default","exports"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA,MAAMC,aAAa,GACjB,kGAAkG,GAClGC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGC,0BAAa;AAE5C,MAAMC,YAAY,GAAGD,0BAAa,CAACD,kBAAkB,GACjDC,0BAAa,CAACD,kBAAkB,GAChC,IAAIG,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACV,aAAa,CAAC;EAChC;AACF,C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,IAAI,EAAE,EACfC,kBAAkB,IAAI,EAAE,EACxBC,mBAAmB,IAAI,EAAE,EACzBC,WAAW,IAAI,EAAE,EACjBC,gBAAgB,IAAI,EAAE,EACtBC,WAAW,IAAI,EAAE,EACjBC,4BAA4B,IAAI,IAAI,EACpCC,yBAAyB,IAAI,GAAG,EAChCC,uBAAuB,IAAI,IAAI,EAC/BC,oBAAoB,IAAI,GAAG,EAC3BC,cAAc,EACdC,KAAK,EACL/B,QAAQ,IAAI,KAAK,EACjBgC,SAAS,IAAI,KAAK,EAClBC,QAAQ,IAAI,KAAK,EACjBzB,IAAI,CAACC,SAAS,CAACyB,2BAA2B,IAAI,CAAC,CAAC,CAAC,EACjDC,eAAe,IAAI,QAAQ,EAC3BC,UAAU,IAAI,EAAE,EAChBC,QAAQ,IAAI,EAAE,EACdC,YAAY,IAAI,gBAAgB,EAChC1B,aAAa,IAAI,IACnB,CAAC;EACL;AAEF,CAAC;AAAC,IAAA2B,QAAA,GAAAC,OAAA,CAAAxE,OAAA,GAEaO,gBAAgB","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FlowStepperType = void 0;
7
+ const FlowStepperType = exports.FlowStepperType = {
8
+ Normal: "Normal",
9
+ PercentageBased: "PercentageBased"
10
+ };
11
+ //# sourceMappingURL=FlowStepperType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["FlowStepperType","exports","Normal","PercentageBased"],"sourceRoot":"..\\..\\src","sources":["FlowStepperType.ts"],"mappings":";;;;;;AAAO,MAAMA,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAAG;EAC7BE,MAAM,EAAE,QAAQ;EAChBC,eAAe,EAAE;AAEnB,CAAC","ignoreList":[]}
@@ -56,6 +56,18 @@ Object.keys(_BackgroundType).forEach(function (key) {
56
56
  }
57
57
  });
58
58
  });
59
+ var _FlowStepperType = require("./FlowStepperType");
60
+ Object.keys(_FlowStepperType).forEach(function (key) {
61
+ if (key === "default" || key === "__esModule") return;
62
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
63
+ if (key in exports && exports[key] === _FlowStepperType[key]) return;
64
+ Object.defineProperty(exports, key, {
65
+ enumerable: true,
66
+ get: function () {
67
+ return _FlowStepperType[key];
68
+ }
69
+ });
70
+ });
59
71
  var _AssentifyProvider = require("./AssentifyProvider");
60
72
  Object.keys(_AssentifyProvider).forEach(function (key) {
61
73
  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","_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,CAAA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A,CAAAc,kBAAA,EAAAb,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,MAAAY,kBAAA,CAAAZ,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAI,kBAAA,CAAAZ,GAAA;IAAA;EAAA;AAAA;AAAoC,SAAAN,uBAAAmB,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAD7B,MAAMG,SAAS,GAAAX,OAAA,CAAAW,SAAA,GAAGC,yBAAgB","ignoreList":[]}
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,U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AAAZ,OAAA,CAAAY,SAAA,GAAGC,yBAAgB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["MotionType","exports","ZoomType","MotionTypeObj","NO_DETECT","HOLD_YOUR_HAND","SENDING","ZoomTypeObj","ZOOM_IN","ZOOM_OUT","FAILED_RESULT"],"sourceRoot":"..\\..\\src","sources":["types.ts"],"mappings":";;;;;;IA6LYA,UAAU,GAAAC,OAAA,CAAAD,UAAA,0BAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAAA,IAMVE,QAAQ,GAAAD,OAAA,CAAAC,QAAA,0BAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAAA,OAARA,QAAQ;AAAA;AAOb,MAAMC,aAAa,GAAAF,OAAA,CAAAE,aAAA,GAAG;EAC3BC,SAAS,EAAE,WAAW;EACtBC,cAAc,EAAE,gBAAgB;EAChCC,OAAO,EAAE;AACX,CAAC;AAEM,MAAMC,WAAW,GAAAN,OAAA,CAAAM,WAAA,GAAG;EACzBH,SAAS,EAAE,WAAW;EACtBI,OAAO,EAAE,SAAS;EAClBC,QAAQ,EAAE,UAAU;EACpBH,OAAO,EAAE;AACX,CAAC;AAAC,IAEUI,aAAa,GAAAT,OAAA,CAAAS,aAAA,0BAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["MotionType","exports","ZoomType","MotionTypeObj","NO_DETECT","HOLD_YOUR_HAND","SENDING","ZoomTypeObj","ZOOM_IN","ZOOM_OUT","FAILED_RESULT"],"sourceRoot":"..\\..\\src","sources":["types.ts"],"mappings":";;;;;;IA8LYA,UAAU,GAAAC,OAAA,CAAAD,UAAA,0BAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAAA,IAMVE,QAAQ,GAAAD,OAAA,CAAAC,QAAA,0BAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAAA,OAARA,QAAQ;AAAA;AAOb,MAAMC,aAAa,GAAAF,OAAA,CAAAE,aAAA,GAAG;EAC3BC,SAAS,EAAE,WAAW;EACtBC,cAAc,EAAE,gBAAgB;EAChCC,OAAO,EAAE;AACX,CAAC;AAEM,MAAMC,WAAW,GAAAN,OAAA,CAAAM,WAAA,GAAG;EACzBH,SAAS,EAAE,WAAW;EACtBI,OAAO,EAAE,SAAS;EAClBC,QAAQ,EAAE,UAAU;EACpBH,OAAO,EAAE;AACX,CAAC;AAAC,IAEUI,aAAa,GAAAT,OAAA,CAAAS,aAAA,0BAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA","ignoreList":[]}
@@ -13,8 +13,8 @@ const AssentifySdk = NativeModules.NativeAssentifySdk ? NativeModules.NativeAsse
13
13
  });
14
14
  const AssentifyWrapper = {
15
15
  /// Initialize
16
- initialize: function (apiKey, configFileName, performLivenessFace, ENV_CustomColor, enableDetect, androidMotionCardLimit, androidMotionPassportLimit, iOSMotionCardsLimit, iOSMotionFaceLimit, androidBrightnessHighThreshold, androidBrightnessLowThreshold, iOSBrightnessHighThreshold, iOSBrightnessLowThreshold, activeLiveType, activeLivenessCheckCount, faceLivenessRetryCount, minRam, iOSMinRam, minCPUCores, manualClickColor, countDownNumbersColor) {
17
- AssentifySdk.initialize(apiKey, configFileName, performLivenessFace ?? false, ENV_CustomColor ?? '#f5a103', enableDetect ?? true, androidMotionCardLimit ?? 10, androidMotionPassportLimit ?? 15, iOSMotionCardsLimit ?? 30, iOSMotionFaceLimit ?? 5, androidBrightnessHighThreshold ?? 180, androidBrightnessLowThreshold ?? 50, iOSBrightnessHighThreshold ?? 255, iOSBrightnessLowThreshold ?? 50, activeLiveType ?? "NONE", activeLivenessCheckCount ?? 0, faceLivenessRetryCount ?? 2, minRam ?? 8, iOSMinRam ?? 2, minCPUCores ?? 6, manualClickColor ?? '#f5a103', countDownNumbersColor ?? '#f5a103');
16
+ initialize: function (apiKey, configFileName, processJsonConfigFile, performLivenessFace, ENV_CustomColor, enableDetect, androidMotionCardLimit, androidMotionPassportLimit, iOSMotionCardsLimit, iOSMotionFaceLimit, androidBrightnessHighThreshold, androidBrightnessLowThreshold, iOSBrightnessHighThreshold, iOSBrightnessLowThreshold, activeLiveType, activeLivenessCheckCount, faceLivenessRetryCount, minRam, iOSMinRam, minCPUCores, manualClickColor, countDownNumbersColor) {
17
+ AssentifySdk.initialize(apiKey, configFileName, processJsonConfigFile ?? '', performLivenessFace ?? false, ENV_CustomColor ?? '#f5a103', enableDetect ?? true, androidMotionCardLimit ?? 10, androidMotionPassportLimit ?? 15, iOSMotionCardsLimit ?? 30, iOSMotionFaceLimit ?? 5, androidBrightnessHighThreshold ?? 180, androidBrightnessLowThreshold ?? 50, iOSBrightnessHighThreshold ?? 255, iOSBrightnessLowThreshold ?? 50, activeLiveType ?? "NONE", activeLivenessCheckCount ?? 0, faceLivenessRetryCount ?? 2, minRam ?? 8, iOSMinRam ?? 2, minCPUCores ?? 6, manualClickColor ?? '#f5a103', countDownNumbersColor ?? '#f5a103');
18
18
  },
19
19
  /// Passport
20
20
  startScanPassport: function (language, stepID) {
@@ -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, language, enableNfc, enableQr, blockLoaderCustomProperties) {
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, language ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}));
44
+ startFlow: function (logoUrl, svgBackgroundImageUrl, textColor, secondaryTextColor, backgroundCardColor, accentColor, backgroundColors, clickColors, angleDegreesBackgroundColors, holdUntilBackgroundColors, angleDegreesClickColors, holdUntilClickColors, backgroundType, clear, language, 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, language ?? "NON", enableNfc ?? false, enableQr ?? false, JSON.stringify(blockLoaderCustomProperties ?? {}), flowStepperType ?? "Normal", rangeStart ?? 25, rangeEnd ?? 50, stepperTitle ?? "Identification", showCountDown ?? true);
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","performLivenessFace","ENV_CustomColor","enableDetect","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","activeLivenessCheckCount","faceLivenessRetryCount","minRam","iOSMinRam","minCPUCores","manualClickColor","countDownNumbersColor","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","enableNfc","enableQr","blockLoaderCustomProperties"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAwB,cAAc;AAKtE,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,CA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E,EACjBC,gBAAgB,IAAI,EAAE,EACtBC,WAAW,IAAI,EAAE,EACjBC,4BAA4B,IAAI,IAAI,EACpCC,yBAAyB,IAAI,GAAG,EAChCC,uBAAuB,IAAI,IAAI,EAC/BC,oBAAoB,IAAI,GAAG,EAC3BC,cAAc,EACdC,KAAK,EACL/B,QAAQ,IAAI,KAAK,EACjBgC,SAAS,IAAI,KAAK,EAClBC,QAAQ,IAAI,KAAK,EACjBzB,IAAI,CAACC,SAAS,CAACyB,2BAA2B,IAAI,CAAC,CAAC,CAClD,CAAC;EACL;AAEF,CAAC;AAED,eAAe1D,gBAAgB","ignoreList":[]}
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","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","enableNfc","enableQr","blockLoaderCustomProperties","flowStepperType","rangeStart","rangeEnd","stepperTitle"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAwB,cAAc;AAMtE,MAAMC,aAAa,GACjB,kGAAkG,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EAC5BC,WAAoB,EACpBC,gBAA2B,EAC3BC,WAAsB,EACtBC,4BAAqC,EACrCC,yBAAkC,EAClCC,uBAAgC,EAChCC,oBAA6B,EAC7BC,cAAmC,EACnCC,KAAe,EACf/B,QAAuB,EACvBgC,SAAmB,EACnBC,QAAkB,EAClBC,2BAAmD,EACnDC,eAAoC,EACpCC,UAAmB,EACnBC,QAAiB,EACjBC,YAAqB,EACrB1B,aAAuB,EACvB;IACEzC,YAAY,CAAC8C,SAAS,CACpBC,OAAO,IAAI,EAAE,EACbC,qBAAqB,IAAI,EAAE,EAC3BC,SAAS,IAAI,EAAE,EACfC,kBAAkB,IAAI,EAAE,EACxBC,mBAAmB,IAAI,EAAE,EACzBC,WAAW,IAAI,EAAE,EACjBC,gBAAgB,IAAI,EAAE,EACtBC,WAAW,IAAI,EAAE,EACjBC,4BAA4B,IAAI,IAAI,EACpCC,yBAAyB,IAAI,GAAG,EAChCC,uBAAuB,IAAI,IAAI,EAC/BC,oBAAoB,IAAI,GAAG,EAC3BC,cAAc,EACdC,KAAK,EACL/B,QAAQ,IAAI,KAAK,EACjBgC,SAAS,IAAI,KAAK,EAClBC,QAAQ,IAAI,KAAK,EACjBzB,IAAI,CAACC,SAAS,CAACyB,2BAA2B,IAAI,CAAC,CAAC,CAAC,EACjDC,eAAe,IAAI,QAAQ,EAC3BC,UAAU,IAAI,EAAE,EAChBC,QAAQ,IAAI,EAAE,EACdC,YAAY,IAAI,gBAAgB,EAChC1B,aAAa,IAAI,IACnB,CAAC;EACL;AAEF,CAAC;AAED,eAAerC,gBAAgB","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ export const FlowStepperType = {
2
+ Normal: "Normal",
3
+ PercentageBased: "PercentageBased"
4
+ };
5
+ //# sourceMappingURL=FlowStepperType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["FlowStepperType","Normal","PercentageBased"],"sourceRoot":"..\\..\\src","sources":["FlowStepperType.ts"],"mappings":"AAAA,OAAO,MAAMA,eAAe,GAAG;EAC7BC,MAAM,EAAE,QAAQ;EAChBC,eAAe,EAAE;AAEnB,CAAC","ignoreList":[]}
@@ -3,6 +3,7 @@ export * from './types';
3
3
  export * from './Language';
4
4
  export * from './ActiveLiveType';
5
5
  export * from './BackgroundType';
6
+ export * from './FlowStepperType';
6
7
  export const Assentify = AssentifyWrapper;
7
8
  export * from './AssentifyProvider';
8
9
  //# sourceMappingURL=index.js.map
@@ -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,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,OAAO,MAAMC,SAAS,GAAGD,gBAAgB;AACzC,cAAc,qBAAqB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["MotionType","ZoomType","MotionTypeObj","NO_DETECT","HOLD_YOUR_HAND","SENDING","ZoomTypeObj","ZOOM_IN","ZOOM_OUT","FAILED_RESULT"],"sourceRoot":"..\\..\\src","sources":["types.ts"],"mappings":"AA6LA,WAAYA,UAAU,0BAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAMtB,WAAYC,QAAQ,0BAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAAA,OAARA,QAAQ;AAAA;AAOpB,OAAO,MAAMC,aAAa,GAAG;EAC3BC,SAAS,EAAE,WAAW;EACtBC,cAAc,EAAE,gBAAgB;EAChCC,OAAO,EAAE;AACX,CAAC;AAED,OAAO,MAAMC,WAAW,GAAG;EACzBH,SAAS,EAAE,WAAW;EACtBI,OAAO,EAAE,SAAS;EAClBC,QAAQ,EAAE,UAAU;EACpBH,OAAO,EAAE;AACX,CAAC;AAED,WAAYI,aAAa,0BAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["MotionType","ZoomType","MotionTypeObj","NO_DETECT","HOLD_YOUR_HAND","SENDING","ZoomTypeObj","ZOOM_IN","ZOOM_OUT","FAILED_RESULT"],"sourceRoot":"..\\..\\src","sources":["types.ts"],"mappings":"AA8LA,WAAYA,UAAU,0BAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAMtB,WAAYC,QAAQ,0BAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAAA,OAARA,QAAQ;AAAA;AAOpB,OAAO,MAAMC,aAAa,GAAG;EAC3BC,SAAS,EAAE,WAAW;EACtBC,cAAc,EAAE,gBAAgB;EAChCC,OAAO,EAAE;AACX,CAAC;AAED,OAAO,MAAMC,WAAW,GAAG;EACzBH,SAAS,EAAE,WAAW;EACtBI,OAAO,EAAE,SAAS;EAClBC,QAAQ,EAAE,UAAU;EACpBH,OAAO,EAAE;AACX,CAAC;AAED,WAAYI,aAAa,0BAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAbA,aAAa,CAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../example/src/Home.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAmBnD,QAAA,MAAM,IAAI,yBA4YT,CAAC;AAcF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../example/src/Home.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AA6CnD,QAAA,MAAM,IAAI,yBAobT,CAAC;AAcF,eAAe,IAAI,CAAC"}
@@ -1,13 +1,13 @@
1
1
  export const __esModule: boolean;
2
2
  export default AssentifyWrapper;
3
3
  declare namespace AssentifyWrapper {
4
- function initialize(apiKey: any, configFileName: 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): void;
4
+ function 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): void;
5
5
  function startScanPassport(language: any, stepID: any): void;
6
6
  function startScanOther(language: any, stepID: any): void;
7
7
  function startScanIDCard(templatesByCountryObject: any, language: any, flippingCard: any, stepID: any): void;
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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: 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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: 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,6iBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,8aAEV"}
1
+ {"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../commonjs/AssentifyWrapper.js"],"names":[],"mappings":";;;IAqBc,ykBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,2gBAEV"}
@@ -0,0 +1,6 @@
1
+ export const __esModule: boolean;
2
+ export namespace FlowStepperType {
3
+ let Normal: string;
4
+ let PercentageBased: string;
5
+ }
6
+ //# sourceMappingURL=FlowStepperType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowStepperType.d.ts","sourceRoot":"","sources":["../../../commonjs/FlowStepperType.js"],"names":[],"mappings":""}
@@ -1,12 +1,12 @@
1
1
  export default AssentifyWrapper;
2
2
  declare namespace AssentifyWrapper {
3
- function initialize(apiKey: any, configFileName: 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): void;
3
+ function 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): void;
4
4
  function startScanPassport(language: any, stepID: any): void;
5
5
  function startScanOther(language: any, stepID: any): void;
6
6
  function startScanIDCard(templatesByCountryObject: any, language: any, flippingCard: any, stepID: any): void;
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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: 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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: 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,6iBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,8aAEV"}
1
+ {"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../module/AssentifyWrapper.js"],"names":[],"mappings":";;IAec,ykBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,6GAEhB;IAEe,8EAEf;IACY,sFAEZ;IAEW,wCAEX;IAGU,2gBAEV"}
@@ -0,0 +1,5 @@
1
+ export namespace FlowStepperType {
2
+ let Normal: string;
3
+ let PercentageBased: string;
4
+ }
5
+ //# sourceMappingURL=FlowStepperType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowStepperType.d.ts","sourceRoot":"","sources":["../../../module/FlowStepperType.js"],"names":[],"mappings":""}
@@ -2,15 +2,16 @@ export * from "./types";
2
2
  export * from "./Language";
3
3
  export * from "./ActiveLiveType";
4
4
  export * from "./BackgroundType";
5
+ export * from "./FlowStepperType";
5
6
  export * from "./AssentifyProvider";
6
7
  export const Assentify: {
7
- initialize: (apiKey: any, configFileName: 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) => void;
8
+ 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) => void;
8
9
  startScanPassport: (language: any, stepID: any) => void;
9
10
  startScanOther: (language: any, stepID: any) => void;
10
11
  startScanIDCard: (templatesByCountryObject: any, language: any, flippingCard: any, stepID: any) => void;
11
12
  startFaceMatch: (imageUrl: any, showCountDown: any, stepID: any) => void;
12
13
  startScanQr: (templatesByCountryObject: any, language: any, stepID: any) => void;
13
14
  submitData: (dataMap: any) => void;
14
- 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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: 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, language: any, enableNfc: any, enableQr: any, blockLoaderCustomProperties: any, flowStepperType: any, rangeStart: any, rangeEnd: any, stepperTitle: any, showCountDown: any) => void;
15
16
  };
16
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../module/index.js"],"names":[],"mappings":";;;;;AAKA;;;;;;;;;EAA0C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../module/index.js"],"names":[],"mappings":";;;;;;AAMA;;;;;;;;;EAA0C"}
@@ -1,15 +1,16 @@
1
1
  import { type LanguageCode } from './Language';
2
2
  import { type TemplatesByCountry } from './types';
3
3
  import { type BackgroundTypeCode } from './BackgroundType';
4
+ import { type FlowStepperTypeCode } from './FlowStepperType';
4
5
  declare const AssentifyWrapper: {
5
- initialize: (apiKey: string, configFileName: 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) => void;
6
+ 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) => void;
6
7
  startScanPassport: (language: LanguageCode, stepID: number) => void;
7
8
  startScanOther: (language: LanguageCode, stepID: number) => void;
8
9
  startScanIDCard: (templatesByCountryObject: TemplatesByCountry, language: LanguageCode, flippingCard: boolean, stepID: number) => void;
9
10
  startFaceMatch: (imageUrl: String, showCountDown: boolean, stepID: number) => void;
10
11
  startScanQr: (templatesByCountryObject: TemplatesByCountry, language: LanguageCode, stepID: number) => void;
11
12
  submitData: (dataMap: Record<string, string>) => void;
12
- 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, language?: LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>) => void;
13
+ 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, language?: LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: boolean) => void;
13
14
  };
14
15
  export default AssentifyWrapper;
15
16
  //# 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,SAAS,CAAC;AAClD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAqB3D,QAAA,MAAM,gBAAgB;yBAGV,MAAM,kBACE,MAAM,wBACA,OAAO,oBACX,MAAM,iBACT,OAAO,2BACG,MAAM,+BACF,MAAM,wBACb,MAAM,uBACP,MAAM,mCACM,MAAM,kCACP,MAAM,+BACT,MAAM,8BACP,MAAM,mBACjB,MAAM,6BACI,MAAM,2BACR,MAAM,WACtB,MAAM,cACH,MAAM,gBACH,MAAM,qBACF,MAAM,0BACD,MAAM;kCA4BQ,YAAY,UAAS,MAAM;+BAK7B,YAAY,UAAS,MAAM;gDAKV,kBAAkB,YAAW,YAAY,gBAAe,OAAO,UAAS,MAAM;+BAK9F,MAAM,iBAAgB,OAAO,UAAS,MAAM;4CAOhC,kBAAkB,YAAW,YAAY,UAAS,MAAM;0BAM1E,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;0BAQ3C,MAAM,0BACQ,MAAM,cAClB,MAAM,uBACG,MAAM,wBACL,MAAM,gBACd,MAAM,qBACD,MAAM,EAAE,gBACb,MAAM,EAAE,iCACS,MAAM,8BACT,MAAM,4BACR,MAAM,yBACT,MAAM,mBACZ,kBAAkB,UAC3B,OAAO,aACJ,YAAY,cACX,OAAO,aACR,OAAO,gCACW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAwBtD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
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,SAAS,CAAC;AAClD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAqB7D,QAAA,MAAM,gBAAgB;yBAGV,MAAM,kBACE,MAAM,0BACE,MAAM,wBACR,OAAO,oBACX,MAAM,iBACT,OAAO,2BACG,MAAM,+BACF,MAAM,wBACb,MAAM,uBACP,MAAM,mCACM,MAAM,kCACP,MAAM,+BACT,MAAM,8BACP,MAAM,mBACjB,MAAM,6BACI,MAAM,2BACR,MAAM,WACtB,MAAM,cACH,MAAM,gBACH,MAAM,qBACF,MAAM,0BACD,MAAM;kCA6BQ,YAAY,UAAS,MAAM;+BAK7B,YAAY,UAAS,MAAM;gDAKV,kBAAkB,YAAW,YAAY,gBAAe,OAAO,UAAS,MAAM;+BAK9F,MAAM,iBAAgB,OAAO,UAAS,MAAM;4CAOhC,kBAAkB,YAAW,YAAY,UAAS,MAAM;0BAM1E,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;0BAQ3C,MAAM,0BACQ,MAAM,cAClB,MAAM,uBACG,MAAM,wBACL,MAAM,gBACd,MAAM,qBACD,MAAM,EAAE,gBACb,MAAM,EAAE,iCACS,MAAM,8BACT,MAAM,4BACR,MAAM,yBACT,MAAM,mBACZ,kBAAkB,UAC3B,OAAO,aACJ,YAAY,cACX,OAAO,aACR,OAAO,gCACW,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,oBAClC,mBAAmB,eACvB,MAAM,aACR,MAAM,iBACF,MAAM,kBACL,OAAO;CA6B1B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const FlowStepperType: {
2
+ Normal: string;
3
+ PercentageBased: string;
4
+ };
5
+ export type FlowStepperTypeCode = typeof FlowStepperType[keyof typeof FlowStepperType];
6
+ //# sourceMappingURL=FlowStepperType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowStepperType.d.ts","sourceRoot":"","sources":["../../../src/FlowStepperType.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;CAI3B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC"}
@@ -2,15 +2,16 @@ export * from './types';
2
2
  export * from './Language';
3
3
  export * from './ActiveLiveType';
4
4
  export * from './BackgroundType';
5
+ export * from './FlowStepperType';
5
6
  export declare const Assentify: {
6
- initialize: (apiKey: string, configFileName: 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) => void;
7
+ 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) => void;
7
8
  startScanPassport: (language: import("./Language").LanguageCode, stepID: number) => void;
8
9
  startScanOther: (language: import("./Language").LanguageCode, stepID: number) => void;
9
10
  startScanIDCard: (templatesByCountryObject: import("./types").TemplatesByCountry, language: import("./Language").LanguageCode, flippingCard: boolean, stepID: number) => void;
10
11
  startFaceMatch: (imageUrl: String, showCountDown: boolean, stepID: number) => void;
11
12
  startScanQr: (templatesByCountryObject: import("./types").TemplatesByCountry, language: import("./Language").LanguageCode, stepID: number) => void;
12
13
  submitData: (dataMap: Record<string, string>) => void;
13
- 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, language?: import("./Language").LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: 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, language?: import("./Language").LanguageCode, enableNfc?: boolean, enableQr?: boolean, blockLoaderCustomProperties?: Record<string, string>, flowStepperType?: import("./FlowStepperType").FlowStepperTypeCode, rangeStart?: number, rangeEnd?: number, stepperTitle?: string, showCountDown?: boolean) => void;
14
15
  };
15
16
  export * from './AssentifyProvider';
16
17
  //# 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,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,eAAO,MAAM,SAAS;;;;;;;;;CAAmB,CAAC;AAC1C,cAAc,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAI/C,MAAM,WAAW,oBAAoB;IACnC,uBAAuB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IACrD,yBAAyB,EAAE,CAAC,eAAe,EAAE,GAAG,EAAE,KAAK,MAAM,CAAC;CAC/D;AAED,MAAM,MAAM,uBAAuB,GAAG;IACpC,yBAAyB,EAAE,MAAM,CAAC;IAClC,wBAAwB,EAAE,MAAM,CAAC;IACjC,yBAAyB,EAAE,MAAM,CAAC;IAClC,0BAA0B,EAAE,MAAM,CAAC;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,UAAU,EAAE,CACV,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,MAAM,EACxB,YAAY,EAAE,MAAM,EACpB,UAAU,CAAC,EAAE,OAAO,EACpB,qBAAqB,CAAC,EAAE,OAAO,EAC/B,wBAAwB,CAAC,EAAE,OAAO,EAClC,gBAAgB,CAAC,EAAE,OAAO,EAC1B,mBAAmB,CAAC,EAAE,OAAO,EAC7B,qBAAqB,CAAC,EAAE,OAAO,EAC/B,eAAe,CAAC,EAAE,MAAM,EACxB,YAAY,CAAC,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AAI,CAAC;CACtE,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,+BAA+B;IAC9C,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assentify-sdk-react-native",
3
- "version": "1.0.0-Beta.2",
3
+ "version": "1.0.0-Beta.21",
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",
@@ -2,6 +2,7 @@ import { NativeModules, Platform, Alert, Linking } from 'react-native';
2
2
  import { type LanguageCode } from './Language';
3
3
  import { type TemplatesByCountry } from './types';
4
4
  import { type BackgroundTypeCode } from './BackgroundType';
5
+ import { type FlowStepperTypeCode } from './FlowStepperType';
5
6
 
6
7
  const LINKING_ERROR =
7
8
  `The package 'assentify-sdk-react-native-react-native' doesn't seem to be linked. Make sure: \n\n` +
@@ -27,6 +28,7 @@ const AssentifyWrapper = {
27
28
  initialize: function (
28
29
  apiKey: string,
29
30
  configFileName: string,
31
+ processJsonConfigFile?: string,
30
32
  performLivenessFace?: boolean,
31
33
  ENV_CustomColor?: string,
32
34
  enableDetect?: boolean,
@@ -50,6 +52,7 @@ const AssentifyWrapper = {
50
52
  AssentifySdk.initialize(
51
53
  apiKey,
52
54
  configFileName,
55
+ processJsonConfigFile?? '',
53
56
  performLivenessFace ?? false,
54
57
  ENV_CustomColor ?? '#f5a103',
55
58
  enableDetect ?? true,
@@ -126,7 +129,12 @@ const AssentifyWrapper = {
126
129
  language?: LanguageCode,
127
130
  enableNfc?: boolean,
128
131
  enableQr?: boolean,
129
- blockLoaderCustomProperties?:Record<string, string>
132
+ blockLoaderCustomProperties?:Record<string, string>,
133
+ flowStepperType?:FlowStepperTypeCode,
134
+ rangeStart?: number,
135
+ rangeEnd?: number,
136
+ stepperTitle?: string,
137
+ showCountDown?: boolean,
130
138
  ) {
131
139
  AssentifySdk.startFlow(
132
140
  logoUrl ?? "",
@@ -146,7 +154,12 @@ const AssentifyWrapper = {
146
154
  language ?? "NON",
147
155
  enableNfc ?? false,
148
156
  enableQr ?? false,
149
- JSON.stringify(blockLoaderCustomProperties ?? {})
157
+ JSON.stringify(blockLoaderCustomProperties ?? {}),
158
+ flowStepperType ?? "Normal",
159
+ rangeStart ?? 25,
160
+ rangeEnd ?? 50,
161
+ stepperTitle ?? "Identification",
162
+ showCountDown ?? true,
150
163
  );
151
164
  },
152
165
 
@@ -0,0 +1,7 @@
1
+ export const FlowStepperType = {
2
+ Normal: "Normal",
3
+ PercentageBased: "PercentageBased",
4
+
5
+ };
6
+
7
+ export type FlowStepperTypeCode = typeof FlowStepperType[keyof typeof FlowStepperType];
package/src/index.ts CHANGED
@@ -4,5 +4,6 @@ export * from './types';
4
4
  export * from './Language';
5
5
  export * from './ActiveLiveType';
6
6
  export * from './BackgroundType';
7
+ export * from './FlowStepperType';
7
8
  export const Assentify = AssentifyWrapper;
8
9
  export * from './AssentifyProvider';
package/src/types.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { type LanguageCode } from './Language';
2
2
  import { type BackgroundTypeCode } from './BackgroundType';
3
+ import { type FlowStepperTypeCode } from './FlowStepperType';
3
4
 
4
5
 
5
6
  export interface AssentifySdkCallback {