@dashevo/dapi-grpc 1.3.0-dev.1 → 1.3.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.
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.3.0-dev.1"
4
+ version = "1.3.0-dev.2"
5
5
  authors = [
6
6
  "Samuel Westrich <sam@dash.org>",
7
7
  "Igor Markin <igor.markin@dash.org>",
@@ -13367,8 +13367,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
13367
13367
  */
13368
13368
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.serializeBinaryToWriter = function(message, writer) {
13369
13369
  var f = undefined;
13370
- f = /** @type {number} */ (jspb.Message.getField(message, 1));
13371
- if (f != null) {
13370
+ f = message.getEpoch();
13371
+ if (f !== 0) {
13372
13372
  writer.writeUint32(
13373
13373
  1,
13374
13374
  f
@@ -13405,25 +13405,7 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
13405
13405
  * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
13406
13406
  */
13407
13407
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.setEpoch = function(value) {
13408
- return jspb.Message.setField(this, 1, value);
13409
- };
13410
-
13411
-
13412
- /**
13413
- * Clears the field making it undefined.
13414
- * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
13415
- */
13416
- proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.clearEpoch = function() {
13417
- return jspb.Message.setField(this, 1, undefined);
13418
- };
13419
-
13420
-
13421
- /**
13422
- * Returns whether this field is set.
13423
- * @return {boolean}
13424
- */
13425
- proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.hasEpoch = function() {
13426
- return jspb.Message.getField(this, 1) != null;
13408
+ return jspb.Message.setProto3IntField(this, 1, value);
13427
13409
  };
13428
13410
 
13429
13411
 
@@ -14629,8 +14611,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
14629
14611
  */
14630
14612
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.serializeBinaryToWriter = function(message, writer) {
14631
14613
  var f = undefined;
14632
- f = /** @type {number} */ (jspb.Message.getField(message, 1));
14633
- if (f != null) {
14614
+ f = message.getEpoch();
14615
+ if (f !== 0) {
14634
14616
  writer.writeUint32(
14635
14617
  1,
14636
14618
  f
@@ -14681,25 +14663,7 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
14681
14663
  * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
14682
14664
  */
14683
14665
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.setEpoch = function(value) {
14684
- return jspb.Message.setField(this, 1, value);
14685
- };
14686
-
14687
-
14688
- /**
14689
- * Clears the field making it undefined.
14690
- * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
14691
- */
14692
- proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.clearEpoch = function() {
14693
- return jspb.Message.setField(this, 1, undefined);
14694
- };
14695
-
14696
-
14697
- /**
14698
- * Returns whether this field is set.
14699
- * @return {boolean}
14700
- */
14701
- proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.hasEpoch = function() {
14702
- return jspb.Message.getField(this, 1) != null;
14666
+ return jspb.Message.setProto3IntField(this, 1, value);
14703
14667
  };
14704
14668
 
14705
14669
 
@@ -1343,8 +1343,6 @@ export namespace GetEvonodesProposedEpochBlocksByIdsRequest {
1343
1343
  }
1344
1344
 
1345
1345
  export class GetEvonodesProposedEpochBlocksByIdsRequestV0 extends jspb.Message {
1346
- hasEpoch(): boolean;
1347
- clearEpoch(): void;
1348
1346
  getEpoch(): number;
1349
1347
  setEpoch(value: number): void;
1350
1348
 
@@ -1522,8 +1520,6 @@ export namespace GetEvonodesProposedEpochBlocksByRangeRequest {
1522
1520
  }
1523
1521
 
1524
1522
  export class GetEvonodesProposedEpochBlocksByRangeRequestV0 extends jspb.Message {
1525
- hasEpoch(): boolean;
1526
- clearEpoch(): void;
1527
1523
  getEpoch(): number;
1528
1524
  setEpoch(value: number): void;
1529
1525
 
@@ -13367,8 +13367,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
13367
13367
  */
13368
13368
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.serializeBinaryToWriter = function(message, writer) {
13369
13369
  var f = undefined;
13370
- f = /** @type {number} */ (jspb.Message.getField(message, 1));
13371
- if (f != null) {
13370
+ f = message.getEpoch();
13371
+ if (f !== 0) {
13372
13372
  writer.writeUint32(
13373
13373
  1,
13374
13374
  f
@@ -13405,25 +13405,7 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEv
13405
13405
  * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
13406
13406
  */
13407
13407
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.setEpoch = function(value) {
13408
- return jspb.Message.setField(this, 1, value);
13409
- };
13410
-
13411
-
13412
- /**
13413
- * Clears the field making it undefined.
13414
- * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0} returns this
13415
- */
13416
- proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.clearEpoch = function() {
13417
- return jspb.Message.setField(this, 1, undefined);
13418
- };
13419
-
13420
-
13421
- /**
13422
- * Returns whether this field is set.
13423
- * @return {boolean}
13424
- */
13425
- proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0.prototype.hasEpoch = function() {
13426
- return jspb.Message.getField(this, 1) != null;
13408
+ return jspb.Message.setProto3IntField(this, 1, value);
13427
13409
  };
13428
13410
 
13429
13411
 
@@ -14629,8 +14611,8 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
14629
14611
  */
14630
14612
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.serializeBinaryToWriter = function(message, writer) {
14631
14613
  var f = undefined;
14632
- f = /** @type {number} */ (jspb.Message.getField(message, 1));
14633
- if (f != null) {
14614
+ f = message.getEpoch();
14615
+ if (f !== 0) {
14634
14616
  writer.writeUint32(
14635
14617
  1,
14636
14618
  f
@@ -14681,25 +14663,7 @@ proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.Get
14681
14663
  * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
14682
14664
  */
14683
14665
  proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.setEpoch = function(value) {
14684
- return jspb.Message.setField(this, 1, value);
14685
- };
14686
-
14687
-
14688
- /**
14689
- * Clears the field making it undefined.
14690
- * @return {!proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0} returns this
14691
- */
14692
- proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.clearEpoch = function() {
14693
- return jspb.Message.setField(this, 1, undefined);
14694
- };
14695
-
14696
-
14697
- /**
14698
- * Returns whether this field is set.
14699
- * @return {boolean}
14700
- */
14701
- proto.org.dash.platform.dapi.v0.GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0.prototype.hasEpoch = function() {
14702
- return jspb.Message.getField(this, 1) != null;
14666
+ return jspb.Message.setProto3IntField(this, 1, value);
14703
14667
  };
14704
14668
 
14705
14669
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dapi-grpc",
3
- "version": "1.3.0-dev.1",
3
+ "version": "1.3.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.3.0-dev.1",
48
+ "@dashevo/grpc-common": "1.3.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",
@@ -362,10 +362,7 @@ message GetEvonodesProposedEpochBlocksByRangeRequest {
362
362
 
363
363
  message GetIdentitiesBalancesRequest {
364
364
  message GetIdentitiesBalancesRequestV0 {
365
- message GetIdentitiesBalancesByKnownIdentityIds {
366
- repeated bytes identities_ids = 1;
367
- }
368
- GetIdentitiesBalancesByKnownIdentityIds identities_ids = 1;
365
+ repeated bytes ids = 1;
369
366
  bool prove = 2;
370
367
  }
371
368