Skip to content

Commit

Permalink
Merge pull request #142 from stytchauth/jordan/SDK-1557-fix-totpId
Browse files Browse the repository at this point in the history
SDK-1557 Fix field name for totpId
  • Loading branch information
jhaven-stytch authored Mar 28, 2024
2 parents 8d4a17d + d2dc5f0 commit a2a54bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {

ext {
PUBLISH_GROUP_ID = 'com.stytch.sdk'
PUBLISH_VERSION = '0.20.1'
PUBLISH_VERSION = '0.20.2'
PUBLISH_ARTIFACT_ID = 'sdk'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public data class CryptoWalletData(
// The id of the crypto wallet.
@Json(name = "crypto_wallet_id")
val id: String,

// The address of the cryptowallet.
@Json(name = "crypto_wallet_address")
val address: String,
Expand Down Expand Up @@ -121,7 +120,7 @@ public data class Provider(
@Parcelize
public data class TOTP(
// The id of the TOTP.
@Json(name = "totpId")
@Json(name = "totp_id")
var id: String,
// The verification status of the TOTP.
val verified: Boolean,
Expand Down Expand Up @@ -345,7 +344,7 @@ public data class BootstrapData(
@Json(name = "dfp_protected_auth_mode")
val dfpProtectedAuthMode: DFPProtectedAuthMode? = DFPProtectedAuthMode.OBSERVATION,
@Json(name = "password_config")
val passwordConfig: PasswordConfig? = null
val passwordConfig: PasswordConfig? = null,
) : Parcelable

@JsonClass(generateAdapter = true)
Expand All @@ -366,7 +365,7 @@ public enum class DFPProtectedAuthMode {
@Parcelize
public data class CaptchaSettings(
val enabled: Boolean = false,
val siteKey: String = ""
val siteKey: String = "",
) : Parcelable

@JsonClass(generateAdapter = true)
Expand Down

0 comments on commit a2a54bc

Please sign in to comment.