wallet-connect-button-react 1.0.5 → 1.1.1

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 CHANGED
@@ -611,6 +611,10 @@ function WalletConnectButton(_a) {
611
611
  .catch(function (error) {
612
612
  console.log(error.message);
613
613
  setError(error.message);
614
+ // Remove session_token from URL after failed request
615
+ removeSearchParam('session_token');
616
+ if (nonce)
617
+ removeSearchParam('nonce');
614
618
  setLoading(false);
615
619
  });
616
620
  }, [searchParams, onSuccess]);