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