react-native-risk-sdk 1.4.20 → 1.4.21

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.
@@ -90,6 +90,14 @@ public class RiskSdkModule extends ReactContextBaseJavaModule {
90
90
  finbox.startPeriodicSync();
91
91
  }
92
92
 
93
+ /**
94
+ * Sync the data once
95
+ */
96
+ @ReactMethod
97
+ public void syncOnce() {
98
+ finbox.syncOnce();
99
+ }
100
+
93
101
  @ReactMethod
94
102
  public void setDeviceMatch(@Nullable String email, @Nullable String name, @Nullable String phone) {
95
103
  final DeviceMatch.Builder deviceMatchBuilder = new DeviceMatch.Builder();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-risk-sdk",
3
3
  "title": "React Native Risk Sdk",
4
- "version": "1.4.20",
4
+ "version": "1.4.21",
5
5
  "description": "A Wrapper around the Risk Android SDK",
6
6
  "main": "index.js",
7
7
  "scripts": {