Skip to content

Commit

Permalink
Usability Improvements (iotaledger#122)
Browse files Browse the repository at this point in the history
Key Updates

* Store type with KeyPair
* Define keys with a macro - much better docs

New Merkle tree implementation

* Based on rfc6962 (Certificate Transparency)
* Backwards compatible
* bee-compatible

New Signature Traits/Types

* Better unification of types with new/improved traits
* Expose Merkle proof encoding via public API
* Use erased-serde for object-safe serialization
* Fix JcsEd25519Signature2020 compat. - add official test vectors
* Add `KeyRef` type for easier borrowing of keys and type identifiers
* Add Merkle Key Collection helpers

Update Identity IOTA Lib

* Rename IotaDID -> DID
* Rename IotaDocument -> Document
* Remove IotaDocumentBuilder
* Add did/try_did macros
* Add missing DID methods: set_{path,query,fragment}

DID Core Updates

* Add DocumentSigner/DocumentVerifier
* Remove MethodIdent/MethodWrap
* Simplify method resolution
  • Loading branch information
l1h3r authored Feb 17, 2021
1 parent f3d3819 commit 19e813a
Show file tree
Hide file tree
Showing 124 changed files with 5,587 additions and 4,463 deletions.
12 changes: 11 additions & 1 deletion bindings/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords = ["iota", "tangle", "identity", "wasm"]
homepage = "https://www.iota.org"

[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib", "rlib"]

[dependencies]
console_error_panic_hook = { version = "0.1" }
Expand All @@ -20,6 +20,16 @@ serde = { version = "1.0", features = ["derive"] }
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
wasm-bindgen-futures = { version = "0.4", default-features = false }

[dependencies.web-sys]
version = "0.3"
default-features = false
features = [
"console",
]

[dev-dependencies]
wasm-bindgen-test = { version = "0.3" }

[target.'cfg(target_arch = "wasm32")'.dependencies]
rand = { version = "0.7", default-features = false, features = ["wasm-bindgen"] }

Expand Down
Loading

0 comments on commit 19e813a

Please sign in to comment.