wallet-connect-button-vue 1.0.8 → 1.0.9

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
@@ -116,11 +116,13 @@ const fetchDisclosedAttributes = async () => {
116
116
  console.log("Disclosed attributes:", data);
117
117
  props.onSuccess(data);
118
118
  removeSearchParam('session_token');
119
+ if (nonce) removeSearchParam('nonce');
119
120
  loading.value = false;
120
121
  } catch (err) {
121
122
  console.log(err.message);
122
123
  error.value = err.message;
123
124
  removeSearchParam('session_token');
125
+ if (nonce) removeSearchParam('nonce');
124
126
  loading.value = false;
125
127
  }
126
128
  };