@dashevo/dapi-grpc 2.0.0-rc.8 → 2.0.0
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 +6 -2
- package/clients/drive/v0/nodejs/drive_pbjs.js +3936 -736
- package/clients/platform/v0/nodejs/platform_pbjs.js +3936 -736
- package/clients/platform/v0/nodejs/platform_protoc.js +3447 -379
- package/clients/platform/v0/web/platform_pb.d.ts +431 -25
- package/clients/platform/v0/web/platform_pb.js +3447 -379
- package/clients/platform/v0/web/platform_pb_service.d.ts +38 -0
- package/clients/platform/v0/web/platform_pb_service.js +80 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +130 -17
package/Cargo.toml
CHANGED
package/build.rs
CHANGED
|
@@ -73,7 +73,7 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
|
|
|
73
73
|
// Derive features for versioned messages
|
|
74
74
|
//
|
|
75
75
|
// "GetConsensusParamsRequest" is excluded as this message does not support proofs
|
|
76
|
-
const VERSIONED_REQUESTS: [&str;
|
|
76
|
+
const VERSIONED_REQUESTS: [&str; 44] = [
|
|
77
77
|
"GetDataContractHistoryRequest",
|
|
78
78
|
"GetDataContractRequest",
|
|
79
79
|
"GetDataContractsRequest",
|
|
@@ -110,12 +110,14 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
|
|
|
110
110
|
"GetIdentityTokenInfosRequest",
|
|
111
111
|
"GetIdentitiesTokenInfosRequest",
|
|
112
112
|
"GetTokenDirectPurchasePricesRequest",
|
|
113
|
+
"GetTokenContractInfoRequest",
|
|
113
114
|
"GetTokenStatusesRequest",
|
|
114
115
|
"GetTokenTotalSupplyRequest",
|
|
115
116
|
"GetGroupInfoRequest",
|
|
116
117
|
"GetGroupInfosRequest",
|
|
117
118
|
"GetGroupActionsRequest",
|
|
118
119
|
"GetGroupActionSignersRequest",
|
|
120
|
+
"GetFinalizedEpochInfosRequest",
|
|
119
121
|
];
|
|
120
122
|
|
|
121
123
|
// The following responses are excluded as they don't support proofs:
|
|
@@ -126,7 +128,7 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
|
|
|
126
128
|
// - "GetIdentityByNonUniquePublicKeyHashResponse"
|
|
127
129
|
//
|
|
128
130
|
// "GetEvonodesProposedEpochBlocksResponse" is used for 2 Requests
|
|
129
|
-
const VERSIONED_RESPONSES: [&str;
|
|
131
|
+
const VERSIONED_RESPONSES: [&str; 42] = [
|
|
130
132
|
"GetDataContractHistoryResponse",
|
|
131
133
|
"GetDataContractResponse",
|
|
132
134
|
"GetDataContractsResponse",
|
|
@@ -161,12 +163,14 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
|
|
|
161
163
|
"GetIdentityTokenInfosResponse",
|
|
162
164
|
"GetIdentitiesTokenInfosResponse",
|
|
163
165
|
"GetTokenDirectPurchasePricesResponse",
|
|
166
|
+
"GetTokenContractInfoResponse",
|
|
164
167
|
"GetTokenStatusesResponse",
|
|
165
168
|
"GetTokenTotalSupplyResponse",
|
|
166
169
|
"GetGroupInfoResponse",
|
|
167
170
|
"GetGroupInfosResponse",
|
|
168
171
|
"GetGroupActionsResponse",
|
|
169
172
|
"GetGroupActionSignersResponse",
|
|
173
|
+
"GetFinalizedEpochInfosResponse",
|
|
170
174
|
];
|
|
171
175
|
|
|
172
176
|
check_unique(&VERSIONED_REQUESTS).expect("VERSIONED_REQUESTS");
|