@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.
package/dist/index.cjs CHANGED
@@ -5118,11 +5118,7 @@ function VerifyEmail({ token: token2, onSuccess, onError, ...uiProps }) {
5118
5118
  }
5119
5119
  setStatus("success");
5120
5120
  if (onSuccess) {
5121
- onSuccess({
5122
- accessToken: result.accessToken,
5123
- user: result.user,
5124
- redirectTo: result.redirectTo
5125
- });
5121
+ onSuccess(result);
5126
5122
  }
5127
5123
  } catch (err) {
5128
5124
  const errorMessage = err instanceof Error ? err.message : "Email verification failed";