@insforge/react 0.3.3 → 0.3.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/types.d.mts CHANGED
@@ -571,7 +571,7 @@ interface SignInProps {
571
571
  id: string;
572
572
  email: string;
573
573
  name: string;
574
- }, accessToken: string) => void;
574
+ }, accessToken: string, redirectTo?: string) => void;
575
575
  onError?: (error: Error) => void;
576
576
  }
577
577
  /**
@@ -597,7 +597,7 @@ interface SignUpProps {
597
597
  id: string;
598
598
  email: string;
599
599
  name: string;
600
- }, accessToken: string) => void;
600
+ }, accessToken: string, redirectTo?: string) => void;
601
601
  onError?: (error: Error) => void;
602
602
  }
603
603
  /**
package/dist/types.d.ts CHANGED
@@ -571,7 +571,7 @@ interface SignInProps {
571
571
  id: string;
572
572
  email: string;
573
573
  name: string;
574
- }, accessToken: string) => void;
574
+ }, accessToken: string, redirectTo?: string) => void;
575
575
  onError?: (error: Error) => void;
576
576
  }
577
577
  /**
@@ -597,7 +597,7 @@ interface SignUpProps {
597
597
  id: string;
598
598
  email: string;
599
599
  name: string;
600
- }, accessToken: string) => void;
600
+ }, accessToken: string, redirectTo?: string) => void;
601
601
  onError?: (error: Error) => void;
602
602
  }
603
603
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insforge/react",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Framework-agnostic React authentication UI components for Insforge - reusable across all frameworks",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",