@reclaimprotocol/inapp-rn-sdk 0.10.10-alpha.1 → 0.10.13

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.
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
 
18
18
  s.source_files = "ios/**/*.{h,m,mm,cpp,swift}"
19
19
  s.private_header_files = "ios/generated/**/*.h"
20
- s.dependency "ReclaimInAppSdk", "~> 0.10.10"
20
+ s.dependency "ReclaimInAppSdk", "~> 0.10.13"
21
21
 
22
22
  # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
23
23
  # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
package/README.md CHANGED
@@ -152,7 +152,7 @@ pod update ReclaimInAppSdk
152
152
 
153
153
  ## Migration
154
154
 
155
- - Migration steps for [0.10.10](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#0109)
155
+ - Migration steps for [0.10.11](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#01011)
156
156
  - Migration steps for [0.9.2](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#092)
157
157
  - Migration steps for [0.9.1](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#091)
158
158
  - Migration steps for [0.9.0](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#090)
@@ -118,7 +118,7 @@ dependencies {
118
118
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
119
119
 
120
120
  //noinspection UseTomlInstead
121
- implementation "org.reclaimprotocol:inapp_sdk:0.10.10"
121
+ implementation "org.reclaimprotocol:inapp_sdk:0.10.13"
122
122
  }
123
123
 
124
124
  if (isNewArchitectureEnabled()) {
@@ -42,10 +42,7 @@ class InappRnSdkModule(private val reactContext: ReactApplicationContext) :
42
42
  userInfoMap.putString("errorType", errorType)
43
43
  userInfoMap.putString("sessionId", exception.sessionId)
44
44
  userInfoMap.putBoolean("didSubmitManualVerification", exception.didSubmitManualVerification)
45
- userInfoMap.putString(
46
- "reason",
47
- if (exception is ReclaimVerification.ReclaimVerificationException.Failed) exception.reason else null
48
- )
45
+ userInfoMap.putString("reason", exception.reason)
49
46
  promise?.reject("VERIFICATION_ERROR", "Verification Error", exception, userInfoMap)
50
47
  }
51
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reclaimprotocol/inapp-rn-sdk",
3
- "version": "0.10.10-alpha.1",
3
+ "version": "0.10.13",
4
4
  "description": "Reclaim Protocol's InApp React Native SDK for ZK proof generations for requests with an in-app experience of web verification",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/commonjs/index.js",