@dubsdotapp/expo 0.2.8 → 0.2.10

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
@@ -1330,9 +1330,9 @@ function useAuth() {
1330
1330
  if (!wallet.signMessage) {
1331
1331
  throw new Error("Wallet does not support signMessage");
1332
1332
  }
1333
- const walletAddress = wallet.publicKey.toBase58();
1334
1333
  setStatus("authenticating");
1335
1334
  setError(null);
1335
+ const walletAddress = wallet.publicKey.toBase58();
1336
1336
  const { nonce, message } = await client.getNonce(walletAddress);
1337
1337
  setStatus("signing");
1338
1338
  const messageBytes = new TextEncoder().encode(message);