Skip to content

Commit 3ec7719

Browse files
committed
fix: add typed AuthError throws to all public AuthClient methods
- Update signOut, verifyOTP, resend, and reauthenticate methods to use throws(AuthError) - Wrap API calls with wrappingError to ensure proper error type conversion - Add explicit self references in closures where required - Ensure consistent error handling across all public methods - Update _verifyOTP private method to also use throws(AuthError) This ensures all public methods that can throw errors properly specify AuthError type, making the API more predictable and type-safe for developers.
1 parent 2fec712 commit 3ec7719

File tree

3 files changed

+358
-263
lines changed

3 files changed

+358
-263
lines changed

0 commit comments

Comments
 (0)