@insforge/react 1.0.3 → 1.0.4

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.
@@ -4534,11 +4534,7 @@ function VerifyEmail({ token: token2, onSuccess, onError, ...uiProps }) {
4534
4534
  }
4535
4535
  setStatus("success");
4536
4536
  if (onSuccess) {
4537
- onSuccess({
4538
- accessToken: result.accessToken,
4539
- user: result.user,
4540
- redirectTo: result.redirectTo
4541
- });
4537
+ onSuccess(result);
4542
4538
  }
4543
4539
  } catch (err) {
4544
4540
  const errorMessage = err instanceof Error ? err.message : "Email verification failed";