@dashevo/dapi-grpc 1.4.0-dev.1 → 1.4.0-dev.2

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.
Files changed (3) hide show
  1. package/Cargo.toml +1 -1
  2. package/build.rs +7 -2
  3. package/package.json +2 -2
package/Cargo.toml CHANGED
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  name = "dapi-grpc"
3
3
  description = "GRPC client for Dash Platform"
4
- version = "1.4.0-dev.1"
4
+ version = "1.4.0-dev.2"
5
5
  authors = [
6
6
  "Samuel Westrich <sam@dash.org>",
7
7
  "Igor Markin <igor.markin@dash.org>",
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; 29] = [
50
+ const VERSIONED_REQUESTS: [&str; 30] = [
51
51
  "GetDataContractHistoryRequest",
52
52
  "GetDataContractRequest",
53
53
  "GetDataContractsRequest",
@@ -77,9 +77,13 @@ fn configure_platform(mut platform: MappingConfig) -> MappingConfig {
77
77
  "GetTotalCreditsInPlatformRequest",
78
78
  "GetEvonodesProposedEpochBlocksByIdsRequest",
79
79
  "GetEvonodesProposedEpochBlocksByRangeRequest",
80
+ "GetStatusRequest",
80
81
  ];
81
82
 
82
- // "GetConsensusParamsResponse" is excluded as this message does not support proofs
83
+ // The following responses are excluded as they don't support proofs:
84
+ // - "GetConsensusParamsResponse"
85
+ // - "GetStatusResponse"
86
+ //
83
87
  // "GetEvonodesProposedEpochBlocksResponse" is used for 2 Requests
84
88
  const VERSIONED_RESPONSES: [&str; 29] = [
85
89
  "GetDataContractHistoryResponse",
@@ -213,6 +217,7 @@ impl MappingConfig {
213
217
  ///
214
218
  /// * `protobuf_file` - Path to the protobuf file to use as input.
215
219
  /// * `out_dir` - Output directory where subdirectories for generated files will be created.
220
+ ///
216
221
  /// Depending on the features, either `client`, `server` or `client_server` subdirectory
217
222
  /// will be created inside `out_dir`.
218
223
  fn new(protobuf_file: PathBuf, out_dir: PathBuf) -> Self {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dapi-grpc",
3
- "version": "1.4.0-dev.1",
3
+ "version": "1.4.0-dev.2",
4
4
  "description": "DAPI GRPC definition file and generated clients",
5
5
  "browser": "browser.js",
6
6
  "main": "node.js",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "homepage": "https://github.com/dashevo/dapi-grpc#readme",
47
47
  "dependencies": {
48
- "@dashevo/grpc-common": "1.4.0-dev.1",
48
+ "@dashevo/grpc-common": "1.4.0-dev.2",
49
49
  "@dashevo/protobufjs": "6.10.5",
50
50
  "@grpc/grpc-js": "1.4.4",
51
51
  "@improbable-eng/grpc-web": "^0.15.0",