@smile_identity/react-native 10.1.2 → 10.1.3

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.
@@ -31,6 +31,7 @@ import kotlinx.coroutines.CoroutineExceptionHandler
31
31
  import kotlinx.coroutines.CoroutineScope
32
32
  import kotlinx.coroutines.Dispatchers
33
33
  import kotlinx.coroutines.flow.Flow
34
+ import kotlinx.coroutines.flow.last
34
35
  import kotlinx.coroutines.flow.map
35
36
  import kotlinx.coroutines.flow.single
36
37
  import kotlinx.coroutines.launch
@@ -242,7 +243,7 @@ class SmileIdModule internal constructor(context: ReactApplicationContext) :
242
243
  .map {
243
244
  it
244
245
  }
245
- .single()
246
+ .last()
246
247
  }
247
248
  response
248
249
  } catch (e: Exception) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smile_identity/react-native",
3
- "version": "10.1.2",
3
+ "version": "10.1.3",
4
4
  "description": "Official wrapper for the Smile ID <v10 android and iOS SDKs",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",