Skip to content

Commit 3e5169b

Browse files
committed
diverse clean
1 parent 569a785 commit 3e5169b

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

hyle-wallet/bun.lockb

1.48 KB
Binary file not shown.

hyle-wallet/src/components/HyleWallet.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useState, useEffect } from 'react';
2-
import { Wallet } from '../types/wallet';
32
import { authProviderManager } from '../providers/AuthProviderManager';
43
import { AuthForm } from './auth/AuthForm';
54
import './HyleWallet.css';

hyle-wallet/src/components/auth/AuthForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState, useEffect } from 'react';
2-
import { AuthCredentials, AuthProvider, AuthResult } from '../../providers/BaseAuthProvider';
2+
import { AuthCredentials, AuthProvider } from '../../providers/BaseAuthProvider';
33
import { useWallet, ProviderOption } from '../../hooks/useWallet';
44
import { AuthStage } from '../../types/login';
55
import './AuthForm.css';

hyle-wallet/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from 'react';
22
import { createRoot } from 'react-dom/client';
3-
import { HyleWallet, ProviderOption } from './components/HyleWallet';
3+
import { HyleWallet } from './components/HyleWallet';
4+
import { ProviderOption } from './hooks/useWallet';
45

56
// Export the React component directly
67
export { HyleWallet } from './components/HyleWallet';

hyle-wallet/src/types/login.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
1+
/**
2+
* Represents the different stages of the authentication process
3+
*/
4+
export type AuthStage =
5+
| 'idle' // Initial state, no authentication in progress
6+
| 'submitting' // Authentication request is being sent
7+
| 'blobSent' // Blob/proofs have been sent and we're waiting for confirmation
8+
| 'settled' // Authentication has completed successfully
9+
| 'error'; // An error occurred during authentication

0 commit comments

Comments
 (0)