wallet-connect-button-react 1.1.1 → 1.1.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.
- package/dist/index.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -604,8 +604,10 @@ function WalletConnectButton(_a) {
|
|
|
604
604
|
console.log("Disclosed attributes:", data);
|
|
605
605
|
// Extract age_over_18 from nested response structure
|
|
606
606
|
onSuccess(data);
|
|
607
|
-
// Remove session_token from URL after successful retrieval
|
|
607
|
+
// Remove session_token and nonce from URL after successful retrieval
|
|
608
608
|
removeSearchParam('session_token');
|
|
609
|
+
if (nonce)
|
|
610
|
+
removeSearchParam('nonce');
|
|
609
611
|
setLoading(false);
|
|
610
612
|
})
|
|
611
613
|
.catch(function (error) {
|