@velocitycareerlabs/vcl-react-native 1.12.4 → 1.12.5

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.
@@ -428,9 +428,9 @@ object Converter {
428
428
  fun mapToServiceCredentialAgentIssuer(
429
429
  serviceMap: ReadableMap?
430
430
  ): VCLServiceCredentialAgentIssuer {
431
- var payload = JSONObject("{}")
431
+ var payload = JSONObject()
432
432
  try {
433
- payload = JSONObject(serviceMap?.getMapOpt("payload").toString()).getJSONObject("NativeMap")
433
+ payload = serviceMap?.getMapOpt("payload")?.toJsonObject() ?: JSONObject()
434
434
  } catch (ex: Exception) {
435
435
  ex.printStackTrace()
436
436
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velocitycareerlabs/vcl-react-native",
3
- "version": "1.12.4",
3
+ "version": "1.12.5",
4
4
  "description": "Velocity Career Labs React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
package/android/.DS_Store DELETED
Binary file
package/ios/.DS_Store DELETED
Binary file
package/src/.DS_Store DELETED
Binary file
package/src/api/.DS_Store DELETED
Binary file
Binary file