@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/components.cjs +1 -5
- package/dist/components.cjs.map +1 -1
- package/dist/components.d.cts +2 -7
- package/dist/components.d.ts +2 -7
- package/dist/components.js +1 -5
- package/dist/components.js.map +1 -1
- package/dist/index.cjs +1 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -10,7 +10,6 @@ export { checkPasswordStrength, createPasswordSchema, emailSchema, passwordSchem
|
|
|
10
10
|
import { OAuthProviderConfig } from './types.cjs';
|
|
11
11
|
export { AuthConfig, EmailVerificationMethod } from './types.cjs';
|
|
12
12
|
export { BrowserNavigationAdapter, NavigationAdapter, NavigationProvider, NavigationProviderProps, useNavigationAdapter, useSearchParams } from './navigation.cjs';
|
|
13
|
-
import '@insforge/sdk';
|
|
14
13
|
import '@insforge/shared-schemas';
|
|
15
14
|
import 'zod';
|
|
16
15
|
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ export { checkPasswordStrength, createPasswordSchema, emailSchema, passwordSchem
|
|
|
10
10
|
import { OAuthProviderConfig } from './types.js';
|
|
11
11
|
export { AuthConfig, EmailVerificationMethod } from './types.js';
|
|
12
12
|
export { BrowserNavigationAdapter, NavigationAdapter, NavigationProvider, NavigationProviderProps, useNavigationAdapter, useSearchParams } from './navigation.js';
|
|
13
|
-
import '@insforge/sdk';
|
|
14
13
|
import '@insforge/shared-schemas';
|
|
15
14
|
import 'zod';
|
|
16
15
|
|
package/dist/index.js
CHANGED
|
@@ -5097,11 +5097,7 @@ function VerifyEmail({ token: token2, onSuccess, onError, ...uiProps }) {
|
|
|
5097
5097
|
}
|
|
5098
5098
|
setStatus("success");
|
|
5099
5099
|
if (onSuccess) {
|
|
5100
|
-
onSuccess(
|
|
5101
|
-
accessToken: result.accessToken,
|
|
5102
|
-
user: result.user,
|
|
5103
|
-
redirectTo: result.redirectTo
|
|
5104
|
-
});
|
|
5100
|
+
onSuccess(result);
|
|
5105
5101
|
}
|
|
5106
5102
|
} catch (err) {
|
|
5107
5103
|
const errorMessage = err instanceof Error ? err.message : "Email verification failed";
|