File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/main/java/io/myabcwallet/securechannel/network/auth Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ plugins {
1111
1212val mGroupId = " io.myabcwallet"
1313val mArtifactId = " securechannel"
14- val mVersionCode = 6
15- val mVersionName = " 0.1.5 "
14+ val mVersionCode = 7
15+ val mVersionName = " 0.1.6 "
1616val libraryName = " SecureChannel-Android"
1717val libraryDescription = " Library for Android to create a Secure Channel to communicate with WAAS"
1818
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class GetSecureChannelUseCase @Inject constructor(
3737 private val authRepository : AuthRepository ,
3838) {
3939
40- operator fun invoke (): Flow <SecureChannelData ?> {
40+ operator fun invoke (isDev : Boolean = false ): Flow <SecureChannelData ?> {
4141 Security .removeProvider(BouncyCastleProvider .PROVIDER_NAME )
4242 Security .addProvider(BouncyCastleProvider ())
4343
@@ -56,7 +56,8 @@ class GetSecureChannelUseCase @Inject constructor(
5656
5757 return authRepository.createSecureChannel(
5858 publicKey = publicKeyHexString,
59- plainText = plainText
59+ plainText = plainText,
60+ isDev = isDev,
6061 ).map { response ->
6162 // 2. 서버로 부터 받은 공개키 로드
6263 val publicKeyFromServerHexString = response.publicKey
You can’t perform that action at this time.
0 commit comments