@frontegg/ionic-capacitor 1.0.0-alpha.1 → 1.0.0-alpha.2

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.
@@ -26,7 +26,7 @@ import io.reactivex.rxjava3.disposables.Disposable;
26
26
  @CapacitorPlugin(name = "FronteggNative")
27
27
  public class FronteggNativePlugin extends Plugin {
28
28
  private Disposable disposable = null;
29
- private Debouncer debouncer = new Debouncer(200); // 200ms delay
29
+ private Debouncer debouncer = new Debouncer(50); // 200ms delay
30
30
 
31
31
  @Override
32
32
  public void load() {
@@ -13,7 +13,7 @@ public class FronteggNativePlugin: CAPPlugin {
13
13
  var cancellables = Set<AnyCancellable>()
14
14
 
15
15
  private var workItem: DispatchWorkItem?
16
- private let delay: TimeInterval = 0.2 // 200ms delay
16
+ private let delay: TimeInterval = 0.05 // 200ms delay
17
17
 
18
18
  func debounce(_ action: @escaping () -> Void) {
19
19
  workItem?.cancel()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/ionic-capacitor",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.2",
4
4
  "description": "Frontegg Ionic Capacitor SDK",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",