react-native-risk-sdk 1.6.8 → 1.6.9
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/CHANGELOG.md
CHANGED
|
@@ -92,8 +92,8 @@ public class RiskSdkModule extends ReactContextBaseJavaModule {
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@ReactMethod
|
|
95
|
-
public void startPeriodicSync(long
|
|
96
|
-
FinBox.setSyncFrequency(
|
|
95
|
+
public void startPeriodicSync(long hours) {
|
|
96
|
+
FinBox.setSyncFrequency(hours, TimeUnit.HOURS);
|
|
97
97
|
FinBox.startPeriodicSync();
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -141,8 +141,8 @@ public class RiskSdkModule extends ReactContextBaseJavaModule {
|
|
|
141
141
|
* @param duration Time to set the frequency
|
|
142
142
|
*/
|
|
143
143
|
@ReactMethod
|
|
144
|
-
public void setSyncFrequency(
|
|
145
|
-
FinBox.setSyncFrequency(
|
|
144
|
+
public void setSyncFrequency(long hours) {
|
|
145
|
+
FinBox.setSyncFrequency(hours, TimeUnit.HOURS);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
/**
|