@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.cjs CHANGED
@@ -6550,11 +6550,7 @@ function useProviderHandlers(deps) {
6550
6550
  providerId,
6551
6551
  isSetup: true
6552
6552
  });
6553
- if (isCustomSchemeUri(sessionUri)) {
6554
- triggerDeeplink(sessionUri);
6555
- } else {
6556
- window.location.href = sessionUri;
6557
- }
6553
+ triggerDeeplink(sessionUri);
6558
6554
  dispatch({ type: "MOBILE_DEEPLINK_READY", deeplinkUri: sessionUri });
6559
6555
  } else {
6560
6556
  await authExecutor.executeSessionById(sessionId);
@@ -6670,11 +6666,7 @@ function useProviderHandlers(deps) {
6670
6666
  isReauthorization: true
6671
6667
  });
6672
6668
  dispatch({ type: "MOBILE_DEEPLINK_READY", deeplinkUri: session.uri });
6673
- if (isCustomSchemeUri(session.uri)) {
6674
- triggerDeeplink(session.uri);
6675
- } else {
6676
- window.location.href = session.uri;
6677
- }
6669
+ triggerDeeplink(session.uri);
6678
6670
  } else {
6679
6671
  dispatch({ type: "NAVIGATE", step: "open-wallet" });
6680
6672
  await authExecutor.executeSessionById(session.id);
@@ -6767,11 +6759,7 @@ function useProviderHandlers(deps) {
6767
6759
  reauthorizationToken: { walletId: _walletId, tokenSymbol }
6768
6760
  });
6769
6761
  dispatch({ type: "MOBILE_DEEPLINK_READY", deeplinkUri: session.uri });
6770
- if (isCustomSchemeUri(session.uri)) {
6771
- triggerDeeplink(session.uri);
6772
- } else {
6773
- window.location.href = session.uri;
6774
- }
6762
+ triggerDeeplink(session.uri);
6775
6763
  } else {
6776
6764
  dispatch({ type: "NAVIGATE", step: "open-wallet" });
6777
6765
  await authExecutor.executeSessionById(session.id);