idwise-react-native-sdk 6.4.2 → 6.5.0

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.
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/**/*.{h,m,mm,cpp,swift}"
17
17
  s.private_header_files = "ios/**/*.h"
18
18
 
19
- s.dependency 'IDWise', '6.4.2'
19
+ s.dependency 'IDWise', '6.5.0'
20
20
  s.pod_target_xcconfig = {
21
21
  "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
22
22
  "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
@@ -4,4 +4,4 @@ IdwiseReactNativeSdk_targetSdkVersion=34
4
4
  IdwiseReactNativeSdk_compileSdkVersion=35
5
5
  IdwiseReactNativeSdk_ndkVersion=27.1.12297006
6
6
  # Idwise SDK version
7
- idwise_sdk_version=6.4.1
7
+ idwise_sdk_version=6.5.0
@@ -18,7 +18,6 @@ import com.idwise.sdk.IDWiseDynamic
18
18
  import com.idwise.sdk.IDWiseJourneyCallbacks
19
19
  import com.idwise.sdk.IDWiseStepCallbacks
20
20
  import com.idwise.sdk.data.models.*
21
- import com.idwise.sdk.data.models.FinalJourneyResultSummary
22
21
  import java.io.ByteArrayOutputStream
23
22
  import org.json.JSONObject
24
23
 
@@ -320,7 +319,8 @@ class IdwiseReactNativeSdkModule(private val reactContext: ReactApplicationConte
320
319
  )
321
320
 
322
321
  internal data class JourneyResultExposed(
323
- val result:FinalJourneyResultSummary?,
322
+ @JsonIgnoreProperties(value = ["pollingDelay", "requestId"])
323
+ val result:JourneyResultInfo?,
324
324
  @JsonIgnoreProperties(value = ["cause", "stackTrace", "suppressed"])
325
325
  val error:IDWiseError?
326
326
  )
@@ -352,7 +352,7 @@ private struct JourneySummaryExposed: Codable {
352
352
 
353
353
 
354
354
  private struct JourneyResultExposed: Codable {
355
- var result: IDWiseSDK.FinalJourneyResultSummary?
355
+ var result: IDWiseSDK.JourneyResultInfo?
356
356
  var error: IDWiseError?
357
357
  }
358
358
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "idwise-react-native-sdk",
3
- "version": "6.4.2",
3
+ "version": "6.5.0",
4
4
  "description": "React-Native Wrapper for IDWise SDK",
5
5
  "main": "./lib/index.js",
6
6
  "react-native": "./src/index.js",