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