@dashevo/dapi-grpc 0.21.8 → 0.22.0-dev.10
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/README.md +1 -1
- package/clients/core/v0/nodejs/core_pbjs.js +21 -230
- package/clients/core/v0/nodejs/core_protoc.js +43 -224
- package/clients/core/v0/web/core_pb.js +43 -224
- package/clients/platform/v0/nodejs/platform_pbjs.js +48 -359
- package/clients/platform/v0/nodejs/platform_protoc.js +91 -432
- package/clients/platform/v0/web/platform_pb.js +91 -432
- package/package.json +4 -4
- package/protos/core/v0/core.proto +1 -5
- package/protos/platform/v0/platform.proto +7 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/dapi-grpc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0-dev.10",
|
|
4
4
|
"description": "DAPI GRPC definition file and generated clients",
|
|
5
5
|
"browser": "browser.js",
|
|
6
6
|
"main": "node.js",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/dashevo/dapi-grpc#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@dashevo/grpc-common": "~0.
|
|
36
|
+
"@dashevo/grpc-common": "~0.22.0-dev.10",
|
|
37
|
+
"@dashevo/protobufjs": "6.10.5",
|
|
37
38
|
"@grpc/grpc-js": "^1.3.7",
|
|
38
39
|
"google-protobuf": "^3.12.2",
|
|
39
40
|
"grpc-web": "1.2.1",
|
|
40
|
-
"long": "^5.2.0"
|
|
41
|
-
"protobufjs": "github:jawid-h/protobuf.js#fix/buffer-conversion"
|
|
41
|
+
"long": "^5.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"chai": "^4.3.4",
|
|
@@ -131,7 +131,7 @@ message BlockHeadersWithChainLocksRequest {
|
|
|
131
131
|
message BlockHeadersWithChainLocksResponse {
|
|
132
132
|
oneof responses {
|
|
133
133
|
BlockHeaders block_headers = 1;
|
|
134
|
-
|
|
134
|
+
bytes chain_lock = 2;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
|
|
@@ -139,10 +139,6 @@ message BlockHeaders {
|
|
|
139
139
|
repeated bytes headers = 1;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
message ChainLockSignatureMessages {
|
|
143
|
-
repeated bytes messages = 1;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
142
|
message GetEstimatedTransactionFeeRequest {
|
|
147
143
|
uint32 blocks = 1;
|
|
148
144
|
}
|
|
@@ -13,18 +13,10 @@ service Platform {
|
|
|
13
13
|
rpc getConsensusParams (GetConsensusParamsRequest) returns (GetConsensusParamsResponse);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
message StoreTreeProofs {
|
|
17
|
-
bytes identities_proof = 1;
|
|
18
|
-
bytes public_key_hashes_to_identity_ids_proof = 2;
|
|
19
|
-
bytes data_contracts_proof = 3;
|
|
20
|
-
bytes documents_proof = 4;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
16
|
message Proof {
|
|
24
|
-
bytes
|
|
25
|
-
|
|
26
|
-
bytes
|
|
27
|
-
bytes signature = 4;
|
|
17
|
+
bytes merkle_proof = 1;
|
|
18
|
+
bytes signature_llmq_hash = 2;
|
|
19
|
+
bytes signature = 3;
|
|
28
20
|
}
|
|
29
21
|
|
|
30
22
|
message ResponseMetadata {
|
|
@@ -77,10 +69,10 @@ message GetDocumentsRequest {
|
|
|
77
69
|
|
|
78
70
|
uint32 limit = 5;
|
|
79
71
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
72
|
+
oneof start {
|
|
73
|
+
bytes start_after = 6;
|
|
74
|
+
bytes start_at = 7;
|
|
75
|
+
}
|
|
84
76
|
|
|
85
77
|
bool prove = 8;
|
|
86
78
|
}
|