@swype-org/react-sdk 0.1.212 → 0.1.214

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/dist/index.js CHANGED
@@ -6547,11 +6547,7 @@ function useProviderHandlers(deps) {
6547
6547
  providerId,
6548
6548
  isSetup: true
6549
6549
  });
6550
- if (isCustomSchemeUri(sessionUri)) {
6551
- triggerDeeplink(sessionUri);
6552
- } else {
6553
- window.location.href = sessionUri;
6554
- }
6550
+ triggerDeeplink(sessionUri);
6555
6551
  dispatch({ type: "MOBILE_DEEPLINK_READY", deeplinkUri: sessionUri });
6556
6552
  } else {
6557
6553
  await authExecutor.executeSessionById(sessionId);
@@ -6667,11 +6663,7 @@ function useProviderHandlers(deps) {
6667
6663
  isReauthorization: true
6668
6664
  });
6669
6665
  dispatch({ type: "MOBILE_DEEPLINK_READY", deeplinkUri: session.uri });
6670
- if (isCustomSchemeUri(session.uri)) {
6671
- triggerDeeplink(session.uri);
6672
- } else {
6673
- window.location.href = session.uri;
6674
- }
6666
+ triggerDeeplink(session.uri);
6675
6667
  } else {
6676
6668
  dispatch({ type: "NAVIGATE", step: "open-wallet" });
6677
6669
  await authExecutor.executeSessionById(session.id);
@@ -6764,11 +6756,7 @@ function useProviderHandlers(deps) {
6764
6756
  reauthorizationToken: { walletId: _walletId, tokenSymbol }
6765
6757
  });
6766
6758
  dispatch({ type: "MOBILE_DEEPLINK_READY", deeplinkUri: session.uri });
6767
- if (isCustomSchemeUri(session.uri)) {
6768
- triggerDeeplink(session.uri);
6769
- } else {
6770
- window.location.href = session.uri;
6771
- }
6759
+ triggerDeeplink(session.uri);
6772
6760
  } else {
6773
6761
  dispatch({ type: "NAVIGATE", step: "open-wallet" });
6774
6762
  await authExecutor.executeSessionById(session.id);