From 2754959c779ada1551ac5b34e8459e4a6c6eabb0 Mon Sep 17 00:00:00 2001 From: Rache Bartmoss Date: Mon, 7 Sep 2020 14:14:43 +0200 Subject: [PATCH] Preparing for release --- CHANGELOG.md | 17 ++++++++++++++ Cargo.lock | 38 ++++++++++++++++++-------------- Cargo.toml | 5 ++--- morpheus-core-ffi/Cargo.toml | 6 ++--- morpheus-core-wasm/.package.json | 2 +- morpheus-core-wasm/Cargo.toml | 4 ++-- morpheus-core/Cargo.toml | 2 +- morpheus-sdk/Cargo.toml | 4 ++-- 8 files changed, 49 insertions(+), 29 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f0edb39 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog + + +## 0.0.4 (2020.09.07) + +### Added +- Create and verify JWT tokens with multicipher +- Hydra transaction builder, exposed on FFI and Wasm + - transfer + - vote + - unvote +- `HydraSigner` available on Wasm +- xprv on `HydraPrivate` + +## 0.0.2 (2020.07.28) + +Initial release \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index db81908..ec47763 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -706,6 +706,7 @@ dependencies = [ [[package]] name = "iop-keyvault" version = "0.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "blake2 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "digest 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -729,9 +730,10 @@ dependencies = [ [[package]] name = "iop-keyvault-wasm" version = "0.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "failure 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "iop-keyvault 0.0.4", + "iop-keyvault 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.56 (registry+https://github.com/rust-lang/crates.io-index)", "wasm-bindgen 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)", @@ -739,7 +741,7 @@ dependencies = [ [[package]] name = "iop-morpheus-core" -version = "0.0.2" +version = "0.0.4" dependencies = [ "android_logger 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "anyhow 1.0.32 (registry+https://github.com/rust-lang/crates.io-index)", @@ -747,10 +749,10 @@ dependencies = [ "chrono 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)", "failure 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "hex 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "iop-keyvault 0.0.4", + "iop-keyvault 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "jni 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", "jwt-compact 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "multibase 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.114 (registry+https://github.com/rust-lang/crates.io-index)", @@ -765,29 +767,29 @@ dependencies = [ [[package]] name = "iop-morpheus-core-ffi" -version = "0.0.2" +version = "0.0.4" dependencies = [ "android_logger 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "chrono 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)", "failure 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "iop-keyvault 0.0.4", - "iop-morpheus-core 0.0.2", + "iop-keyvault 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "iop-morpheus-core 0.0.4", "jni 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.56 (registry+https://github.com/rust-lang/crates.io-index)", "serde_repr 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "iop-morpheus-core-wasm" -version = "0.0.2" +version = "0.0.4" dependencies = [ "failure 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "iop-keyvault 0.0.4", - "iop-keyvault-wasm 0.0.4", - "iop-morpheus-core 0.0.2", + "iop-keyvault 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "iop-keyvault-wasm 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "iop-morpheus-core 0.0.4", "js-sys 0.3.42 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.114 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.56 (registry+https://github.com/rust-lang/crates.io-index)", "wasm-bindgen 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)", @@ -796,17 +798,17 @@ dependencies = [ [[package]] name = "iop-morpheus-sdk" -version = "0.0.2" +version = "0.0.4" dependencies = [ "android_logger 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", "async-trait 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", "failure 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", "hyper 0.13.7 (registry+https://github.com/rust-lang/crates.io-index)", - "iop-keyvault 0.0.4", - "iop-morpheus-core 0.0.2", + "iop-keyvault 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "iop-morpheus-core 0.0.4", "jni 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)", "multihash 0.11.2 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.114 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1934,6 +1936,8 @@ dependencies = [ "checksum indexmap 1.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5b88cd59ee5f71fea89a62248fc8f387d44400cefe05ef548466d61ced9029a7" "checksum inventory 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "621b50c176968fd3b0bd71f821a28a0ea98db2b5aea966b2fbb8bd1b7d310328" "checksum inventory-impl 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f99a4111304bade76468d05beab3487c226e4fe4c4de1c4e8f006e815762db73" +"checksum iop-keyvault 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "bc261ad4ea388462defb55d603218c308f592fa7e6dbd69ca1fdcbb4886fca22" +"checksum iop-keyvault-wasm 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "ffd7d9c155c60ee8dfcc07d900619fd00e50e92250d42e3aa69f1aa91ce19edf" "checksum iovec 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" "checksum itoa 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" "checksum jni 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)" = "36bcc950632e48b86da402c5c077590583da5ac0d480103611d5374e7c967a3c" diff --git a/Cargo.toml b/Cargo.toml index f40e58e..929968c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,9 +12,8 @@ lto = true opt-level = 's' [patch.crates-io] -# TODO comment these -iop-keyvault = { path="../keyvault-rs/keyvault" } -iop-keyvault-wasm = { path="../keyvault-rs/keyvault-wasm" } +#iop-keyvault = { path="../keyvault-rs/keyvault" } +#iop-keyvault-wasm = { path="../keyvault-rs/keyvault-wasm" } iop-morpheus-core = { path="./morpheus-core" } # [patch.crates-io] diff --git a/morpheus-core-ffi/Cargo.toml b/morpheus-core-ffi/Cargo.toml index 9a8d33e..163b15d 100644 --- a/morpheus-core-ffi/Cargo.toml +++ b/morpheus-core-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iop-morpheus-core-ffi" -version = "0.0.2" +version = "0.0.4" authors = ["IoP Ventures LLC ", "Rache Bartmoss ", "wigy "] edition = "2018" @@ -11,10 +11,10 @@ crate-type = ["rlib", "cdylib"] [dependencies] -chrono = "*" +chrono = { version = "*", features = ["wasmbind"] } failure = "*" iop-keyvault = "0.0.4" -iop-morpheus-core = "0.0.2" +iop-morpheus-core = "0.0.4" log = "*" serde_json = { version = "*", features = ["preserve_order"] } serde_repr = "*" diff --git a/morpheus-core-wasm/.package.json b/morpheus-core-wasm/.package.json index 608067a..6a3c7ac 100644 --- a/morpheus-core-wasm/.package.json +++ b/morpheus-core-wasm/.package.json @@ -6,7 +6,7 @@ "wigy ", "mudlee " ], - "version": "0.0.1", + "version": "0.0.4", "files": [ "browser/iop_morpheus_core_wasm_bg.wasm", "browser/iop_morpheus_core_wasm_bg.js", diff --git a/morpheus-core-wasm/Cargo.toml b/morpheus-core-wasm/Cargo.toml index 062d70e..56edc6e 100644 --- a/morpheus-core-wasm/Cargo.toml +++ b/morpheus-core-wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iop-morpheus-core-wasm" -version = "0.0.2" +version = "0.0.4" authors = ["IoP Ventures LLC ", "Rache Bartmoss ", "wigy "] edition = "2018" @@ -13,7 +13,7 @@ crate-type = ["cdylib", "rlib"] failure = "*" iop-keyvault = "0.0.4" iop-keyvault-wasm = "0.0.4" -iop-morpheus-core = "0.0.2" +iop-morpheus-core = "0.0.4" js-sys = "*" log = "*" serde = "*" diff --git a/morpheus-core/Cargo.toml b/morpheus-core/Cargo.toml index 0ee7e37..aeb539d 100644 --- a/morpheus-core/Cargo.toml +++ b/morpheus-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iop-morpheus-core" -version = "0.0.2" +version = "0.0.4" authors = ["IoP Ventures LLC ", "Rache Bartmoss ", "wigy "] edition = "2018" diff --git a/morpheus-sdk/Cargo.toml b/morpheus-sdk/Cargo.toml index e78cd07..183759e 100644 --- a/morpheus-sdk/Cargo.toml +++ b/morpheus-sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "iop-morpheus-sdk" -version = "0.0.2" +version = "0.0.4" authors = ["IoP Ventures LLC ", "Rache Bartmoss ", "wigy "] license = "LGPL-3.0-or-later" edition = "2018" @@ -17,7 +17,7 @@ failure = "*" futures = "*" hyper = "*" iop-keyvault = "0.0.4" -iop-morpheus-core = "0.0.2" +iop-morpheus-core = "0.0.4" log = "*" multihash = "*" rand = "*"