diff --git a/README.md b/README.md index ed4e36c..8a38911 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # zcash-android-wallet-plugins +[![Release](https://jitpack.io/v/zcash/zcash-android-wallet-plugins.svg)](https://jitpack.io/#zcash/zcash-android-wallet-plugins) + Generic interfaces for plugging functionality into the wallets diff --git a/build.gradle b/build.gradle index f0d6496..3ff7dc4 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ buildscript { ext { - kotlin_version = '1.3.61' + kotlin_version = '1.3.72' } repositories { jcenter() @@ -14,7 +14,7 @@ buildscript { apply plugin: 'java-library' apply plugin: 'kotlin' -// jitpack +// jitpack (note: to change the version, push another release per https://jitpack.io/docs/#publishing-on-jitpack) apply plugin: 'com.github.dcendents.android-maven' group = 'com.github.zcash' diff --git a/src/main/java/cash/z/android/plugin/MnemonicPlugin.kt b/src/main/java/cash/z/android/plugin/MnemonicPlugin.kt index 6bcf3a9..1e8ea27 100644 --- a/src/main/java/cash/z/android/plugin/MnemonicPlugin.kt +++ b/src/main/java/cash/z/android/plugin/MnemonicPlugin.kt @@ -41,4 +41,10 @@ interface MnemonicPlugin { */ fun toWordList(mnemonic: CharArray): List + /** + * Provide the full word list for the given ISO 639-1 language code or throw an exception if + * the language is unsupported. Strings are fine here because this information is not sensitive. + */ + fun fullWordList(languageCode: String): List + }