diff --git a/CHANGELOG.md b/CHANGELOG.md index 2511f590ef..d74b08ddbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,8 @@ * `Ktor`: `1.3.2` -> `1.4.0` * `buildMimeType` function now is cache-oriented getter which will save already got mime types into internal map * All deprecations from previous versions were removed +* `TelegramBotAPI-core`: + * Typealias `TelegramBot` was added ## 0.27.0 diff --git a/TelegramBotAPI-core/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/bot/RequestsExecutor.kt b/TelegramBotAPI-core/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/bot/RequestsExecutor.kt index 90fafa2e4c..2eba982739 100644 --- a/TelegramBotAPI-core/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/bot/RequestsExecutor.kt +++ b/TelegramBotAPI-core/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/bot/RequestsExecutor.kt @@ -19,4 +19,6 @@ interface RequestsExecutor : Closeable { * @throws Exception */ suspend fun execute(request: Request): T -} \ No newline at end of file +} + +typealias TelegramBot = RequestsExecutor diff --git a/gradle.properties b/gradle.properties index f25fc740c1..1bc61d0f64 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,6 +2,8 @@ org.gradle.jvmargs=-Xmx1024m kotlin.code.style=official org.gradle.parallel=true kotlin.js.generate.externals=true +kotlin.incremental=true +kotlin.incremental.js=true kotlin_version=1.4.0 kotlin_coroutines_version=1.3.9