From 04ed26f33a9802df78461feec302a6307c6c8682 Mon Sep 17 00:00:00 2001 From: Andrey Pfau Date: Sat, 4 Feb 2023 17:05:34 +0300 Subject: [PATCH] 0.2.12 --- README.md | 2 +- build.gradle.kts | 2 +- .../src/commonMain/kotlin/org/ton/cell/CellBuilder.kt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 257d562a..eae6ee56 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ ```kotlin dependencies { - implementation("org.ton:ton-kotlin:0.2.11") + implementation("org.ton:ton-kotlin:0.2.12") } ``` diff --git a/build.gradle.kts b/build.gradle.kts index 15ca7ce0..16615133 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -17,7 +17,7 @@ val isCI = System.getenv("CI") == "true" allprojects { group = "org.ton" - version = "0.2.11" + version = "0.2.12" apply(plugin = "kotlin-multiplatform") apply(plugin = "kotlinx-serialization") diff --git a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellBuilder.kt b/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellBuilder.kt index 4abe0793..0571659e 100644 --- a/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellBuilder.kt +++ b/ton-kotlin-cell/src/commonMain/kotlin/org/ton/cell/CellBuilder.kt @@ -159,8 +159,8 @@ public inline fun CellBuilder.storeRef(refBuilder: CellBuilder.() -> Unit): Cell storeRef(cell) } -public fun CellBuilder(cell: Cell): CellBuilder = - CellBuilder.of(cell) +public inline fun CellBuilder(cell: Cell): CellBuilder = CellBuilder.of(cell) +public inline fun CellBuilder(): CellBuilder = CellBuilder.beginCell() private class CellBuilderImpl( override var bits: MutableBitString = ByteBackedMutableBitString.of(),