@dashevo/dapi-grpc 1.0.1 → 1.1.0-dev.1
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/Cargo.toml +1 -1
- package/build.rs +4 -2
- package/clients/platform/v0/nodejs/platform_pbjs.js +919 -0
- package/clients/platform/v0/nodejs/platform_protoc.js +849 -0
- package/clients/platform/v0/web/platform_pb.d.ts +117 -0
- package/clients/platform/v0/web/platform_pb.js +849 -0
- package/clients/platform/v0/web/platform_pb_service.d.ts +19 -0
- package/clients/platform/v0/web/platform_pb_service.js +40 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +25 -0
package/Cargo.toml
CHANGED
package/build.rs
CHANGED
|
@@ -47,7 +47,7 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
|
|
|
47
47
|
// Derive features for versioned messages
|
|
48
48
|
//
|
|
49
49
|
// "GetConsensusParamsRequest" is excluded as this message does not support proofs
|
|
50
|
-
const VERSIONED_REQUESTS: [&str;
|
|
50
|
+
const VERSIONED_REQUESTS: [&str; 26] = [
|
|
51
51
|
"GetDataContractHistoryRequest",
|
|
52
52
|
"GetDataContractRequest",
|
|
53
53
|
"GetDataContractsRequest",
|
|
@@ -73,10 +73,11 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
|
|
|
73
73
|
"GetContestedResourceVotersForIdentityRequest",
|
|
74
74
|
"GetContestedResourceIdentityVotesRequest",
|
|
75
75
|
"GetVotePollsByEndDateRequest",
|
|
76
|
+
"GetTotalCreditsInPlatformRequest",
|
|
76
77
|
];
|
|
77
78
|
|
|
78
79
|
// "GetConsensusParamsResponse" is excluded as this message does not support proofs
|
|
79
|
-
const VERSIONED_RESPONSES: [&str;
|
|
80
|
+
const VERSIONED_RESPONSES: [&str; 27] = [
|
|
80
81
|
"GetDataContractHistoryResponse",
|
|
81
82
|
"GetDataContractResponse",
|
|
82
83
|
"GetDataContractsResponse",
|
|
@@ -103,6 +104,7 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
|
|
|
103
104
|
"GetContestedResourceVotersForIdentityResponse",
|
|
104
105
|
"GetContestedResourceIdentityVotesResponse",
|
|
105
106
|
"GetVotePollsByEndDateResponse",
|
|
107
|
+
"GetTotalCreditsInPlatformResponse",
|
|
106
108
|
];
|
|
107
109
|
|
|
108
110
|
check_unique(&VERSIONED_REQUESTS).expect("VERSIONED_REQUESTS");
|