diff --git a/.gitignore b/.gitignore index 5323701f..ea2e3a0a 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,6 @@ Cargo.lock build/ .gradle/ **/.idea/ + +bound/kt/src/main/resources/*.dylib +bound/kt/src/main/resources/*.so diff --git a/bound/kt/README.md b/bound/kt/README.md index e69de29b..12b1d50a 100644 --- a/bound/kt/README.md +++ b/bound/kt/README.md @@ -0,0 +1,14 @@ +# Getting Started + +## Build Shared Library + +> [!WARNING] +> +> The shared library is places inside of `src/main/resources/` and is **not** committed to the git repository (see `.gitignore`), and so therefore in order to develop with this project, you must generate the binding using the following command. +> +> Currently, the `Justfile` assumes the developer machine is *macOS running on Apple Silicon*, though additional support is forthcoming. + +```shell +(cd ../../ && just bind) +``` + diff --git a/bound/kt/pom.xml b/bound/kt/pom.xml index ded065e9..6b3a20dd 100644 --- a/bound/kt/pom.xml +++ b/bound/kt/pom.xml @@ -5,7 +5,7 @@ tbdex.sdk tbdex-core - 0.0.5 + 0.0.6 jar diff --git a/bound/kt/src/main/kotlin/tbdex/sdk/rust/UniFFI.kt b/bound/kt/src/main/kotlin/tbdex/sdk/rust/UniFFI.kt index dfb46ee0..f2cc6a45 100644 --- a/bound/kt/src/main/kotlin/tbdex/sdk/rust/UniFFI.kt +++ b/bound/kt/src/main/kotlin/tbdex/sdk/rust/UniFFI.kt @@ -1722,12 +1722,6 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) { if (lib.uniffi_tbdex_uniffi_checksum_method_errorresponsebody_to_json_string() != 16077.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") } - if (lib.uniffi_tbdex_uniffi_checksum_method_errorresponsebody_get_data() != 51222.toShort()) { - throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - } - if (lib.uniffi_tbdex_uniffi_checksum_method_errorresponsebody_to_json_string() != 16077.toShort()) { - throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") - } if (lib.uniffi_tbdex_uniffi_checksum_method_getbalancesresponsebody_get_data() != 50368.toShort()) { throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project") }