ab-ecosystem-sso 0.1.13 → 0.1.15
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/ab-ecosystem-sso.cjs +7 -7
- package/dist/ab-ecosystem-sso.js +318 -400
- package/dist/index.d.ts +2 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -153,10 +153,7 @@ export declare interface AuthComponentBaseProps {
|
|
|
153
153
|
/** Pre-fetched config — skips internal fetch if provided */
|
|
154
154
|
config?: AuthConfig;
|
|
155
155
|
classNames?: AuthClassNames;
|
|
156
|
-
onSuccess?: (data:
|
|
157
|
-
token: string;
|
|
158
|
-
user: unknown;
|
|
159
|
-
}) => void;
|
|
156
|
+
onSuccess?: (data: any) => void;
|
|
160
157
|
onError?: (error: Error) => void;
|
|
161
158
|
/** API base URL override */
|
|
162
159
|
apiBaseUrl?: string;
|
|
@@ -541,7 +538,7 @@ export declare function verifyEmailApi(projectId: string, data: VerifyEmailReque
|
|
|
541
538
|
* Email-verification screen for a `/verify/:token` route. `onSuccess` doesn't
|
|
542
539
|
* apply here (no session is created), so it's omitted in favour of `onVerified`.
|
|
543
540
|
*/
|
|
544
|
-
export declare interface VerifyEmailProps extends Omit<AuthComponentBaseProps,
|
|
541
|
+
export declare interface VerifyEmailProps extends Omit<AuthComponentBaseProps, 'onSuccess'> {
|
|
545
542
|
/**
|
|
546
543
|
* The verification token from the `/verify/:token` route — pass it from your
|
|
547
544
|
* router's params. Falls back to the last segment of `window.location.pathname`.
|