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.js CHANGED
@@ -608,8 +608,10 @@ function WalletConnectButton(_a) {
608
608
  console.log("Disclosed attributes:", data);
609
609
  // Extract age_over_18 from nested response structure
610
610
  onSuccess(data);
611
- // Remove session_token from URL after successful retrieval
611
+ // Remove session_token and nonce from URL after successful retrieval
612
612
  removeSearchParam('session_token');
613
+ if (nonce)
614
+ removeSearchParam('nonce');
613
615
  setLoading(false);
614
616
  })
615
617
  .catch(function (error) {