@dashevo/wasm-dpp 0.25.0-dev.10 → 0.25.0-dev.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/wasm-dpp",
|
|
3
|
-
"version": "0.25.0-dev.
|
|
3
|
+
"version": "0.25.0-dev.12",
|
|
4
4
|
"description": "The JavaScript implementation of the Dash Platform Protocol",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"@babel/cli": "^7.21.0",
|
|
44
44
|
"@babel/core": "^7.15.5",
|
|
45
45
|
"@babel/preset-env": "^7.15.4",
|
|
46
|
-
"@dashevo/dashcore-lib": "~0.20.
|
|
47
|
-
"@dashevo/dpns-contract": "0.25.0-dev.
|
|
48
|
-
"@dashevo/dpp": "0.25.0-dev.
|
|
46
|
+
"@dashevo/dashcore-lib": "~0.20.6",
|
|
47
|
+
"@dashevo/dpns-contract": "0.25.0-dev.12",
|
|
48
|
+
"@dashevo/dpp": "0.25.0-dev.12",
|
|
49
49
|
"@dashevo/wasm-re2": "~1.0.2",
|
|
50
50
|
"@types/bs58": "^4.0.1",
|
|
51
51
|
"@types/node": "^14.6.0",
|
|
@@ -122,7 +122,7 @@ impl IdentityPublicKeyWasm {
|
|
|
122
122
|
|
|
123
123
|
#[wasm_bindgen(js_name=hash)]
|
|
124
124
|
pub fn hash(&self) -> Result<Vec<u8>, JsValue> {
|
|
125
|
-
self.0.hash().with_js_error()
|
|
125
|
+
self.0.hash().map(|result| result.to_vec()).with_js_error()
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
#[wasm_bindgen(js_name=isMaster)]
|