@dashevo/dapi-grpc 2.1.0-dev.3 → 2.1.0-dev.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  name = "dapi-grpc"
3
3
  description = "GRPC client for Dash Platform"
4
- version = "2.1.0-dev.3"
4
+ version = "2.1.0-dev.5"
5
5
  authors = [
6
6
  "Samuel Westrich <sam@dash.org>",
7
7
  "Igor Markin <igor.markin@dash.org>",
@@ -39,27 +39,26 @@ serde = ["dep:serde", "dep:serde_bytes", "tenderdash-proto/serde"]
39
39
  mocks = ["serde", "dep:serde_json"]
40
40
 
41
41
  [dependencies]
42
- tenderdash-proto = { git = "https://github.com/dashpay/rs-tenderdash-abci", version = "1.4.0", tag = "v1.4.0", default-features = false }
42
+ tenderdash-proto = { git = "https://github.com/dashpay/rs-tenderdash-abci", tag = "v1.5.0-dev.2", default-features = false }
43
43
 
44
- prost = { version = "0.13" }
44
+ prost = { version = "0.14" }
45
45
  futures-core = "0.3.30"
46
46
  serde = { version = "1.0.219", optional = true, features = ["derive"] }
47
47
  serde_bytes = { version = "0.11.12", optional = true }
48
48
  serde_json = { version = "1.0", optional = true }
49
49
  dapi-grpc-macros = { path = "../rs-dapi-grpc-macros" }
50
50
  platform-version = { path = "../rs-platform-version" }
51
+ tonic-prost = { version = "0.14.2" }
51
52
 
52
53
  [target.'cfg(target_arch = "wasm32")'.dependencies]
53
- tonic = { version = "0.13.0", features = [
54
+ tonic = { version = "0.14.2", features = [
54
55
  "codegen",
55
- "prost",
56
56
  ], default-features = false }
57
57
  getrandom = { version = "0.2", features = ["js"] }
58
58
 
59
59
  [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
60
- tonic = { version = "0.13.0", features = [
60
+ tonic = { version = "0.14.2", features = [
61
61
  "codegen",
62
- "prost",
63
62
  "channel",
64
63
  "transport",
65
64
  "tls-native-roots",
@@ -68,7 +67,7 @@ tonic = { version = "0.13.0", features = [
68
67
  ], default-features = false }
69
68
 
70
69
  [build-dependencies]
71
- tonic-build = { version = "0.13.0" }
70
+ tonic-prost-build = { version = "0.14.2" }
72
71
 
73
72
  [lib]
74
73
 
package/build.rs CHANGED
@@ -4,7 +4,7 @@ use std::{
4
4
  path::PathBuf,
5
5
  };
6
6
 
7
- use tonic_build::Builder;
7
+ use tonic_prost_build::Builder;
8
8
 
9
9
  const SERDE_WITH_BYTES: &str = r#"#[cfg_attr(feature = "serde", serde(with = "serde_bytes"))]"#;
10
10
  const SERDE_WITH_BASE64: &str =
@@ -337,7 +337,7 @@ impl MappingConfig {
337
337
  let out_dir = abs_path(&out_dir.join(out_dir_suffix));
338
338
 
339
339
  let builder = typ
340
- .configure(tonic_build::configure())
340
+ .configure(tonic_prost_build::configure())
341
341
  .out_dir(out_dir.clone())
342
342
  .protoc_arg("--experimental_allow_proto3_optional");
343
343
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dapi-grpc",
3
- "version": "2.1.0-dev.3",
3
+ "version": "2.1.0-dev.5",
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": "2.1.0-dev.3",
48
+ "@dashevo/grpc-common": "2.1.0-dev.5",
49
49
  "@dashevo/protobufjs": "6.10.5",
50
50
  "@grpc/grpc-js": "1.4.4",
51
51
  "@improbable-eng/grpc-web": "^0.15.0",