Update Bitwarden SDK to 0.4.0-20240119.185557-52 (#683)

This commit is contained in:
Brian Yencho 2024-01-19 13:58:12 -06:00 committed by Álison Fernandes
parent b529bcf777
commit bdca79d862
12 changed files with 34 additions and 36 deletions

View file

@ -4,9 +4,7 @@
# We need to access the SDK using JNA and this makes it very easy to obfuscate away the SDK unless # We need to access the SDK using JNA and this makes it very easy to obfuscate away the SDK unless
# we keep it here. # we keep it here.
-keep class com.bitwarden.core.** { *; } -keep class com.bitwarden.** { *; }
-keep class com.bitwarden.crypto** { *; }
-keep class com.bitwarden.sdk.** { *; }
################################################################################ ################################################################################
# Bitwarden Models # Bitwarden Models

View file

@ -1,8 +1,8 @@
package com.x8bit.bitwarden.data.tools.generator.datasource.sdk package com.x8bit.bitwarden.data.tools.generator.datasource.sdk
import com.bitwarden.core.PassphraseGeneratorRequest import com.bitwarden.generators.PassphraseGeneratorRequest
import com.bitwarden.core.PasswordGeneratorRequest import com.bitwarden.generators.PasswordGeneratorRequest
import com.bitwarden.core.UsernameGeneratorRequest import com.bitwarden.generators.UsernameGeneratorRequest
/** /**
* Source of password generation functionality from the Bitwarden SDK. * Source of password generation functionality from the Bitwarden SDK.

View file

@ -1,8 +1,8 @@
package com.x8bit.bitwarden.data.tools.generator.datasource.sdk package com.x8bit.bitwarden.data.tools.generator.datasource.sdk
import com.bitwarden.core.PassphraseGeneratorRequest import com.bitwarden.generators.PassphraseGeneratorRequest
import com.bitwarden.core.PasswordGeneratorRequest import com.bitwarden.generators.PasswordGeneratorRequest
import com.bitwarden.core.UsernameGeneratorRequest import com.bitwarden.generators.UsernameGeneratorRequest
import com.bitwarden.sdk.ClientGenerators import com.bitwarden.sdk.ClientGenerators
/** /**

View file

@ -2,10 +2,10 @@
package com.x8bit.bitwarden.data.tools.generator.repository package com.x8bit.bitwarden.data.tools.generator.repository
import com.bitwarden.core.PassphraseGeneratorRequest
import com.bitwarden.core.PasswordGeneratorRequest
import com.bitwarden.core.PasswordHistoryView import com.bitwarden.core.PasswordHistoryView
import com.bitwarden.core.UsernameGeneratorRequest import com.bitwarden.generators.PassphraseGeneratorRequest
import com.bitwarden.generators.PasswordGeneratorRequest
import com.bitwarden.generators.UsernameGeneratorRequest
import com.x8bit.bitwarden.data.platform.repository.model.LocalDataState import com.x8bit.bitwarden.data.platform.repository.model.LocalDataState
import com.x8bit.bitwarden.data.tools.generator.repository.model.GeneratedCatchAllUsernameResult import com.x8bit.bitwarden.data.tools.generator.repository.model.GeneratedCatchAllUsernameResult
import com.x8bit.bitwarden.data.tools.generator.repository.model.GeneratedForwardedServiceUsernameResult import com.x8bit.bitwarden.data.tools.generator.repository.model.GeneratedForwardedServiceUsernameResult

View file

@ -2,10 +2,10 @@
package com.x8bit.bitwarden.data.tools.generator.repository package com.x8bit.bitwarden.data.tools.generator.repository
import com.bitwarden.core.PassphraseGeneratorRequest
import com.bitwarden.core.PasswordGeneratorRequest
import com.bitwarden.core.PasswordHistoryView import com.bitwarden.core.PasswordHistoryView
import com.bitwarden.core.UsernameGeneratorRequest import com.bitwarden.generators.PassphraseGeneratorRequest
import com.bitwarden.generators.PasswordGeneratorRequest
import com.bitwarden.generators.UsernameGeneratorRequest
import com.x8bit.bitwarden.data.auth.datasource.disk.AuthDiskSource import com.x8bit.bitwarden.data.auth.datasource.disk.AuthDiskSource
import com.x8bit.bitwarden.data.platform.manager.dispatcher.DispatcherManager import com.x8bit.bitwarden.data.platform.manager.dispatcher.DispatcherManager
import com.x8bit.bitwarden.data.platform.repository.model.LocalDataState import com.x8bit.bitwarden.data.platform.repository.model.LocalDataState

View file

@ -5,10 +5,10 @@ package com.x8bit.bitwarden.ui.tools.feature.generator
import android.os.Parcelable import android.os.Parcelable
import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.viewModelScope import androidx.lifecycle.viewModelScope
import com.bitwarden.core.AppendType import com.bitwarden.generators.AppendType
import com.bitwarden.core.PassphraseGeneratorRequest import com.bitwarden.generators.PassphraseGeneratorRequest
import com.bitwarden.core.PasswordGeneratorRequest import com.bitwarden.generators.PasswordGeneratorRequest
import com.bitwarden.core.UsernameGeneratorRequest import com.bitwarden.generators.UsernameGeneratorRequest
import com.x8bit.bitwarden.R import com.x8bit.bitwarden.R
import com.x8bit.bitwarden.data.auth.repository.AuthRepository import com.x8bit.bitwarden.data.auth.repository.AuthRepository
import com.x8bit.bitwarden.data.platform.manager.clipboard.BitwardenClipboardManager import com.x8bit.bitwarden.data.platform.manager.clipboard.BitwardenClipboardManager

View file

@ -1,7 +1,7 @@
package com.x8bit.bitwarden.ui.tools.feature.generator.util package com.x8bit.bitwarden.ui.tools.feature.generator.util
import com.bitwarden.core.ForwarderServiceType import com.bitwarden.generators.ForwarderServiceType
import com.bitwarden.core.UsernameGeneratorRequest import com.bitwarden.generators.UsernameGeneratorRequest
import com.x8bit.bitwarden.ui.tools.feature.generator.GeneratorState.MainType.Username.UsernameType.ForwardedEmailAlias.ServiceType import com.x8bit.bitwarden.ui.tools.feature.generator.GeneratorState.MainType.Username.UsernameType.ForwardedEmailAlias.ServiceType
/** /**

View file

@ -1,10 +1,10 @@
package com.x8bit.bitwarden.data.tools.generator.datasource.sdk package com.x8bit.bitwarden.data.tools.generator.datasource.sdk
import com.bitwarden.core.AppendType import com.bitwarden.generators.AppendType
import com.bitwarden.core.ForwarderServiceType import com.bitwarden.generators.ForwarderServiceType
import com.bitwarden.core.PassphraseGeneratorRequest import com.bitwarden.generators.PassphraseGeneratorRequest
import com.bitwarden.core.PasswordGeneratorRequest import com.bitwarden.generators.PasswordGeneratorRequest
import com.bitwarden.core.UsernameGeneratorRequest import com.bitwarden.generators.UsernameGeneratorRequest
import com.bitwarden.sdk.ClientGenerators import com.bitwarden.sdk.ClientGenerators
import io.mockk.coEvery import io.mockk.coEvery
import io.mockk.coVerify import io.mockk.coVerify

View file

@ -1,13 +1,13 @@
package com.x8bit.bitwarden.data.tools.generator.repository package com.x8bit.bitwarden.data.tools.generator.repository
import app.cash.turbine.test import app.cash.turbine.test
import com.bitwarden.core.AppendType
import com.bitwarden.core.ForwarderServiceType
import com.bitwarden.core.PassphraseGeneratorRequest
import com.bitwarden.core.PasswordGeneratorRequest
import com.bitwarden.core.PasswordHistory import com.bitwarden.core.PasswordHistory
import com.bitwarden.core.PasswordHistoryView import com.bitwarden.core.PasswordHistoryView
import com.bitwarden.core.UsernameGeneratorRequest import com.bitwarden.generators.AppendType
import com.bitwarden.generators.ForwarderServiceType
import com.bitwarden.generators.PassphraseGeneratorRequest
import com.bitwarden.generators.PasswordGeneratorRequest
import com.bitwarden.generators.UsernameGeneratorRequest
import com.x8bit.bitwarden.data.auth.datasource.disk.AuthDiskSource import com.x8bit.bitwarden.data.auth.datasource.disk.AuthDiskSource
import com.x8bit.bitwarden.data.auth.datasource.disk.model.AccountJson import com.x8bit.bitwarden.data.auth.datasource.disk.model.AccountJson
import com.x8bit.bitwarden.data.auth.datasource.disk.model.EnvironmentUrlDataJson import com.x8bit.bitwarden.data.auth.datasource.disk.model.EnvironmentUrlDataJson

View file

@ -1,9 +1,9 @@
package com.x8bit.bitwarden.data.tools.generator.repository.util package com.x8bit.bitwarden.data.tools.generator.repository.util
import com.bitwarden.core.PassphraseGeneratorRequest
import com.bitwarden.core.PasswordGeneratorRequest
import com.bitwarden.core.PasswordHistoryView import com.bitwarden.core.PasswordHistoryView
import com.bitwarden.core.UsernameGeneratorRequest import com.bitwarden.generators.PassphraseGeneratorRequest
import com.bitwarden.generators.PasswordGeneratorRequest
import com.bitwarden.generators.UsernameGeneratorRequest
import com.x8bit.bitwarden.data.platform.repository.model.LocalDataState import com.x8bit.bitwarden.data.platform.repository.model.LocalDataState
import com.x8bit.bitwarden.data.platform.repository.util.bufferedMutableSharedFlow import com.x8bit.bitwarden.data.platform.repository.util.bufferedMutableSharedFlow
import com.x8bit.bitwarden.data.tools.generator.repository.GeneratorRepository import com.x8bit.bitwarden.data.tools.generator.repository.GeneratorRepository

View file

@ -1,6 +1,6 @@
package com.x8bit.bitwarden.ui.tools.feature.generator.util package com.x8bit.bitwarden.ui.tools.feature.generator.util
import com.bitwarden.core.ForwarderServiceType import com.bitwarden.generators.ForwarderServiceType
import com.x8bit.bitwarden.ui.tools.feature.generator.GeneratorState.MainType.Username.UsernameType.ForwardedEmailAlias.ServiceType import com.x8bit.bitwarden.ui.tools.feature.generator.GeneratorState.MainType.Username.UsernameType.ForwardedEmailAlias.ServiceType
import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test import org.junit.jupiter.api.Test

View file

@ -27,7 +27,7 @@ androidXAppCompat = "1.6.1"
androdixAutofill = "1.1.0" androdixAutofill = "1.1.0"
# Once the app and SDK reach a critical point of completeness we should begin fixing the version # Once the app and SDK reach a critical point of completeness we should begin fixing the version
# here (BIT-311). # here (BIT-311).
bitwardenSdk = "0.4.0-20240115.154650-43" bitwardenSdk = "0.4.0-20240119.185557-52"
crashlytics = "2.9.9" crashlytics = "2.9.9"
detekt = "1.23.1" detekt = "1.23.1"
firebaseBom = "32.7.0" firebaseBom = "32.7.0"