Skip to content

Commit

Permalink
Bump to 0.3.9 for @iota/identity-wasm@dev, fix messageId (#376)
Browse files Browse the repository at this point in the history
* Fix WasmDocumentDiff message_id

Fix message_id incorrectly returning the previous_message_id.

* Bump version to 0.3.9 for @iota/identity-wasm@dev
  • Loading branch information
cycraig committed Aug 31, 2021
1 parent bde90bd commit b01027d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bindings/wasm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/wasm/package.json
@@ -1,6 +1,6 @@
{
"name": "@iota/identity-wasm",
"version": "0.3.8",
"version": "0.3.9",
"description": "WASM bindings for IOTA Identity - A Self Sovereign Identity Framework implementing the DID and VC standards from W3C. To be used in Javascript/Typescript",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion bindings/wasm/src/did/wasm_document_diff.rs
Expand Up @@ -42,7 +42,7 @@ impl WasmDocumentDiff {
/// Returns the message_id of the DID Document diff.
#[wasm_bindgen(getter = messageId)]
pub fn message_id(&self) -> String {
self.0.previous_message_id().to_string()
self.0.message_id().to_string()
}

/// Sets the message_id of the DID Document diff.
Expand Down

0 comments on commit b01027d

Please sign in to comment.