Updated on 2026-08-14
This commit is contained in:
parent
b58df2dfb7
commit
e3a7ba0a77
8 changed files with 122 additions and 8 deletions
|
|
@ -18,6 +18,7 @@ import dagger.hilt.InstallIn
|
|||
import dagger.hilt.components.SingletonComponent
|
||||
import javax.inject.Singleton
|
||||
|
||||
@Suppress("TooManyFunctions")
|
||||
@Module
|
||||
@InstallIn(SingletonComponent::class)
|
||||
internal object TransactionDomainModule {
|
||||
|
|
@ -184,6 +185,15 @@ internal object TransactionDomainModule {
|
|||
return PrepareForSendUseCase(transactionRepository, cardSdkConfigRepository)
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
fun providePrepareAndSignUseCase(
|
||||
transactionRepository: TransactionRepository,
|
||||
cardSdkConfigRepository: CardSdkConfigRepository,
|
||||
): PrepareAndSignUseCase {
|
||||
return PrepareAndSignUseCase(transactionRepository, cardSdkConfigRepository)
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
fun provideSignUseCase(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue