From d3a0d308aab594e912221a7984d85fb91fe35f57 Mon Sep 17 00:00:00 2001 From: Stytch Codegen Bot Date: Tue, 21 Apr 2026 16:30:33 +0000 Subject: [PATCH] Remove @JvmField annotations --- .../com/stytch/java/b2b/StytchB2BClient.kt | 37 ------------------- .../kotlin/com/stytch/java/common/Version.kt | 2 +- .../com/stytch/java/consumer/StytchClient.kt | 33 ----------------- version.gradle.kts | 2 +- 4 files changed, 2 insertions(+), 72 deletions(-) diff --git a/stytch/src/main/kotlin/com/stytch/java/b2b/StytchB2BClient.kt b/stytch/src/main/kotlin/com/stytch/java/b2b/StytchB2BClient.kt index 95341d00..356e7380 100644 --- a/stytch/src/main/kotlin/com/stytch/java/b2b/StytchB2BClient.kt +++ b/stytch/src/main/kotlin/com/stytch/java/b2b/StytchB2BClient.kt @@ -80,61 +80,24 @@ public class StytchB2BClient ) private val policyCache: PolicyCache = PolicyCache(RBACImpl(httpClient, coroutineScope), coroutineScope) - @JvmField public val connectedApp: ConnectedApp = ConnectedAppImpl(httpClient, coroutineScope) - - @JvmField public val debug: Debug = DebugImpl(httpClient, coroutineScope) - - @JvmField public val discovery: Discovery = DiscoveryImpl(httpClient, coroutineScope) - - @JvmField public val fraud: Fraud = FraudImpl(fraudHttpClient, coroutineScope) - - @JvmField public val idp: IDP = IDPImpl(httpClient, coroutineScope, httpsJwks, jwtOptions, policyCache) - - @JvmField public val impersonation: Impersonation = ImpersonationImpl(httpClient, coroutineScope) - - @JvmField public val m2m: M2M = M2MImpl(httpClient, coroutineScope, httpsJwks, jwtOptions) - - @JvmField public val magicLinks: MagicLinks = MagicLinksImpl(httpClient, coroutineScope) - - @JvmField public val oauth: OAuth = OAuthImpl(httpClient, coroutineScope) - - @JvmField public val otps: OTPs = OTPsImpl(httpClient, coroutineScope) - - @JvmField public val organizations: Organizations = OrganizationsImpl(httpClient, coroutineScope) - - @JvmField public val passwords: Passwords = PasswordsImpl(httpClient, coroutineScope) - - @JvmField public val project: Project = ProjectImpl(httpClient, coroutineScope) - - @JvmField public val rbac: RBAC = RBACImpl(httpClient, coroutineScope) - - @JvmField public val recoveryCodes: RecoveryCodes = RecoveryCodesImpl(httpClient, coroutineScope) - - @JvmField public val scim: SCIM = SCIMImpl(httpClient, coroutineScope) - - @JvmField public val sso: SSO = SSOImpl(httpClient, coroutineScope) - - @JvmField public val sessions: Sessions = SessionsImpl(httpClient, coroutineScope, httpsJwks, jwtOptions, policyCache) - - @JvmField public val totps: TOTPs = TOTPsImpl(httpClient, coroutineScope) /** diff --git a/stytch/src/main/kotlin/com/stytch/java/common/Version.kt b/stytch/src/main/kotlin/com/stytch/java/common/Version.kt index a2c649d1..2f254483 100644 --- a/stytch/src/main/kotlin/com/stytch/java/common/Version.kt +++ b/stytch/src/main/kotlin/com/stytch/java/common/Version.kt @@ -1,3 +1,3 @@ package com.stytch.java.common -internal const val VERSION = "10.0.0" +internal const val VERSION = "11.0.0" diff --git a/stytch/src/main/kotlin/com/stytch/java/consumer/StytchClient.kt b/stytch/src/main/kotlin/com/stytch/java/consumer/StytchClient.kt index 2875a223..0af4a3fe 100644 --- a/stytch/src/main/kotlin/com/stytch/java/consumer/StytchClient.kt +++ b/stytch/src/main/kotlin/com/stytch/java/consumer/StytchClient.kt @@ -74,55 +74,22 @@ public class StytchClient type = "JWT", ) - @JvmField public val connectedApp: ConnectedApp = ConnectedAppImpl(httpClient, coroutineScope) - - @JvmField public val cryptoWallets: CryptoWallets = CryptoWalletsImpl(httpClient, coroutineScope) - - @JvmField public val debug: Debug = DebugImpl(httpClient, coroutineScope) - - @JvmField public val fraud: Fraud = FraudImpl(fraudHttpClient, coroutineScope) - - @JvmField public val idp: IDP = IDPImpl(httpClient, coroutineScope, httpsJwks, jwtOptions) - - @JvmField public val impersonation: Impersonation = ImpersonationImpl(httpClient, coroutineScope) - - @JvmField public val m2m: M2M = M2MImpl(httpClient, coroutineScope, httpsJwks, jwtOptions) - - @JvmField public val magicLinks: MagicLinks = MagicLinksImpl(httpClient, coroutineScope) - - @JvmField public val oauth: OAuth = OAuthImpl(httpClient, coroutineScope) - - @JvmField public val otps: OTPs = OTPsImpl(httpClient, coroutineScope) - - @JvmField public val passwords: Passwords = PasswordsImpl(httpClient, coroutineScope) - - @JvmField public val project: Project = ProjectImpl(httpClient, coroutineScope) - - @JvmField public val rbac: RBAC = RBACImpl(httpClient, coroutineScope) - - @JvmField public val sessions: Sessions = SessionsImpl(httpClient, coroutineScope, httpsJwks, jwtOptions) - - @JvmField public val totps: TOTPs = TOTPsImpl(httpClient, coroutineScope) - - @JvmField public val users: Users = UsersImpl(httpClient, coroutineScope) - - @JvmField public val webauthn: WebAuthn = WebAuthnImpl(httpClient, coroutineScope) /** diff --git a/version.gradle.kts b/version.gradle.kts index 2876fa4e..a9ccca2f 100644 --- a/version.gradle.kts +++ b/version.gradle.kts @@ -1 +1 @@ -version = "10.0.0" +version = "11.0.0"