Skip to content

Commit

Permalink
Added missing aliases for migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr3zee committed Jan 13, 2025
1 parent ee30377 commit 3f8ce7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion core/src/commonMain/kotlin/kotlinx/rpc/RpcCall.kt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
/*
* Copyright 2023-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
* Copyright 2023-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/

package kotlinx.rpc

import kotlinx.rpc.descriptor.RpcServiceDescriptor

@Deprecated("Use RpcCall instead", ReplaceWith("RpcCall"), level = DeprecationLevel.ERROR)
public typealias RPCCall = RpcCall

/**
* Represents a method or field call of an RPC service.
*
Expand Down
5 changes: 4 additions & 1 deletion core/src/commonMain/kotlin/kotlinx/rpc/RpcClient.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2023-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
* Copyright 2023-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/

package kotlinx.rpc
Expand All @@ -8,6 +8,9 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Deferred
import kotlin.coroutines.CoroutineContext

@Deprecated("Use RpcClient instead", ReplaceWith("RpcClient"), level = DeprecationLevel.ERROR)
public typealias RPCClient = RpcClient

/**
* [RpcClient] represents an abstraction of an RPC client, that can handle requests from several RPC services,
* transform them, send to the server and handle responses and errors.
Expand Down

0 comments on commit 3f8ce7a

Please sign in to comment.