@dashevo/dapi-client 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.
|
@@ -16,7 +16,7 @@ class Proof {
|
|
|
16
16
|
/**
|
|
17
17
|
* @returns {Buffer}
|
|
18
18
|
*/
|
|
19
|
-
|
|
19
|
+
getGrovedbProof() {
|
|
20
20
|
return this.merkleProof;
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -43,13 +43,13 @@ class Proof {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* @param {
|
|
46
|
+
* @param {object} proofProto
|
|
47
47
|
*
|
|
48
48
|
* @returns {Proof}
|
|
49
49
|
*/
|
|
50
50
|
static createFromProto(proofProto) {
|
|
51
51
|
return new Proof({
|
|
52
|
-
merkleProof: Buffer.from(proofProto.
|
|
52
|
+
merkleProof: Buffer.from(proofProto.getGrovedbProof()),
|
|
53
53
|
quorumHash: Buffer.from(proofProto.getQuorumHash()),
|
|
54
54
|
signature: Buffer.from(proofProto.getSignature()),
|
|
55
55
|
round: proofProto.getRound(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/dapi-client",
|
|
3
|
-
"version": "0.25.0-dev.
|
|
3
|
+
"version": "0.25.0-dev.12",
|
|
4
4
|
"description": "Client library used to access Dash DAPI endpoints",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"contributors": [
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@dashevo/dapi-grpc": "0.25.0-dev.
|
|
30
|
-
"@dashevo/dash-spv": "0.25.0-dev.
|
|
31
|
-
"@dashevo/dashcore-lib": "~0.20.
|
|
32
|
-
"@dashevo/dpp": "0.25.0-dev.
|
|
33
|
-
"@dashevo/grpc-common": "0.25.0-dev.
|
|
34
|
-
"@dashevo/wasm-dpp": "0.25.0-dev.
|
|
29
|
+
"@dashevo/dapi-grpc": "0.25.0-dev.12",
|
|
30
|
+
"@dashevo/dash-spv": "0.25.0-dev.12",
|
|
31
|
+
"@dashevo/dashcore-lib": "~0.20.6",
|
|
32
|
+
"@dashevo/dpp": "0.25.0-dev.12",
|
|
33
|
+
"@dashevo/grpc-common": "0.25.0-dev.12",
|
|
34
|
+
"@dashevo/wasm-dpp": "0.25.0-dev.12",
|
|
35
35
|
"bs58": "^4.0.1",
|
|
36
36
|
"cbor": "^8.0.0",
|
|
37
37
|
"lodash": "^4.17.21",
|