ab-ecosystem-sso 0.1.13 → 0.1.14

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.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, "onSuccess"> {
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`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ab-ecosystem-sso",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "type": "module",
5
5
  "main": "dist/ab-ecosystem-sso.cjs",
6
6
  "module": "dist/ab-ecosystem-sso.js",