@reclaimprotocol/inapp-rn-sdk 0.10.11 → 0.12.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.
package/InappRnSdk.podspec
CHANGED
|
@@ -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.
|
|
20
|
+
s.dependency "ReclaimInAppSdk", "~> 0.12.0"
|
|
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
|
@@ -124,7 +124,7 @@ To fix this, you need to use embedded cronet in your android app by adding the f
|
|
|
124
124
|
dependencies {
|
|
125
125
|
// ... other dependencies (not shown for brevity)
|
|
126
126
|
// Use embedded cronet
|
|
127
|
-
implementation("org.chromium.net:cronet-embedded:
|
|
127
|
+
implementation("org.chromium.net:cronet-embedded:119.6045.31")
|
|
128
128
|
}
|
|
129
129
|
```
|
|
130
130
|
|
|
@@ -152,6 +152,7 @@ pod update ReclaimInAppSdk
|
|
|
152
152
|
|
|
153
153
|
## Migration
|
|
154
154
|
|
|
155
|
+
- Migration steps for [0.12.0](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#0120)
|
|
155
156
|
- Migration steps for [0.10.11](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#01011)
|
|
156
157
|
- Migration steps for [0.9.2](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#092)
|
|
157
158
|
- Migration steps for [0.9.1](https://github.com/reclaimprotocol/reclaim-inapp-reactnative-sdk/blob/main/documentation/migration.md#091)
|
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
121
|
+
implementation "org.reclaimprotocol:inapp_sdk:0.12.0"
|
|
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.
|
|
3
|
+
"version": "0.12.0",
|
|
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",
|