@dashevo/dapi-grpc 0.23.0-dev.1 → 0.23.0-dev.4

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.
@@ -34,8 +34,6 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.StartCase
34
34
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse', null, global);
35
35
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesRequest', null, global);
36
36
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse', null, global);
37
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest', null, global);
38
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse', null, global);
39
37
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityRequest', null, global);
40
38
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityResponse', null, global);
41
39
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.Proof', null, global);
@@ -317,48 +315,6 @@ if (goog.DEBUG && !COMPILED) {
317
315
  */
318
316
  proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse';
319
317
  }
320
- /**
321
- * Generated by JsPbCodeGenerator.
322
- * @param {Array=} opt_data Optional initial data array, typically from a
323
- * server response, or constructed directly in Javascript. The array is used
324
- * in place and becomes part of the constructed object. It is not cloned.
325
- * If no data is provided, the constructed object will be empty, but still
326
- * valid.
327
- * @extends {jspb.Message}
328
- * @constructor
329
- */
330
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest = function(opt_data) {
331
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.repeatedFields_, null);
332
- };
333
- goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest, jspb.Message);
334
- if (goog.DEBUG && !COMPILED) {
335
- /**
336
- * @public
337
- * @override
338
- */
339
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest';
340
- }
341
- /**
342
- * Generated by JsPbCodeGenerator.
343
- * @param {Array=} opt_data Optional initial data array, typically from a
344
- * server response, or constructed directly in Javascript. The array is used
345
- * in place and becomes part of the constructed object. It is not cloned.
346
- * If no data is provided, the constructed object will be empty, but still
347
- * valid.
348
- * @extends {jspb.Message}
349
- * @constructor
350
- */
351
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse = function(opt_data) {
352
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.repeatedFields_, null);
353
- };
354
- goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse, jspb.Message);
355
- if (goog.DEBUG && !COMPILED) {
356
- /**
357
- * @public
358
- * @override
359
- */
360
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse';
361
- }
362
318
  /**
363
319
  * Generated by JsPbCodeGenerator.
364
320
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3553,498 +3509,6 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype
3553
3509
 
3554
3510
 
3555
3511
 
3556
- /**
3557
- * List of repeated fields within this message type.
3558
- * @private {!Array<number>}
3559
- * @const
3560
- */
3561
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.repeatedFields_ = [1];
3562
-
3563
-
3564
-
3565
- if (jspb.Message.GENERATE_TO_OBJECT) {
3566
- /**
3567
- * Creates an object representation of this proto.
3568
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3569
- * Optional fields that are not set will be set to undefined.
3570
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3571
- * For the list of reserved names please see:
3572
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3573
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3574
- * JSPB instance for transitional soy proto support:
3575
- * http://goto/soy-param-migration
3576
- * @return {!Object}
3577
- */
3578
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.toObject = function(opt_includeInstance) {
3579
- return proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.toObject(opt_includeInstance, this);
3580
- };
3581
-
3582
-
3583
- /**
3584
- * Static version of the {@see toObject} method.
3585
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3586
- * the JSPB instance for transitional soy proto support:
3587
- * http://goto/soy-param-migration
3588
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} msg The msg instance to transform.
3589
- * @return {!Object}
3590
- * @suppress {unusedLocalVariables} f is only used for nested messages
3591
- */
3592
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.toObject = function(includeInstance, msg) {
3593
- var f, obj = {
3594
- publicKeyHashesList: msg.getPublicKeyHashesList_asB64(),
3595
- prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
3596
- };
3597
-
3598
- if (includeInstance) {
3599
- obj.$jspbMessageInstance = msg;
3600
- }
3601
- return obj;
3602
- };
3603
- }
3604
-
3605
-
3606
- /**
3607
- * Deserializes binary data (in protobuf wire format).
3608
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3609
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest}
3610
- */
3611
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.deserializeBinary = function(bytes) {
3612
- var reader = new jspb.BinaryReader(bytes);
3613
- var msg = new proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest;
3614
- return proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.deserializeBinaryFromReader(msg, reader);
3615
- };
3616
-
3617
-
3618
- /**
3619
- * Deserializes binary data (in protobuf wire format) from the
3620
- * given reader into the given message object.
3621
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} msg The message object to deserialize into.
3622
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3623
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest}
3624
- */
3625
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.deserializeBinaryFromReader = function(msg, reader) {
3626
- while (reader.nextField()) {
3627
- if (reader.isEndGroup()) {
3628
- break;
3629
- }
3630
- var field = reader.getFieldNumber();
3631
- switch (field) {
3632
- case 1:
3633
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
3634
- msg.addPublicKeyHashes(value);
3635
- break;
3636
- case 2:
3637
- var value = /** @type {boolean} */ (reader.readBool());
3638
- msg.setProve(value);
3639
- break;
3640
- default:
3641
- reader.skipField();
3642
- break;
3643
- }
3644
- }
3645
- return msg;
3646
- };
3647
-
3648
-
3649
- /**
3650
- * Serializes the message to binary data (in protobuf wire format).
3651
- * @return {!Uint8Array}
3652
- */
3653
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.serializeBinary = function() {
3654
- var writer = new jspb.BinaryWriter();
3655
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.serializeBinaryToWriter(this, writer);
3656
- return writer.getResultBuffer();
3657
- };
3658
-
3659
-
3660
- /**
3661
- * Serializes the given message to binary data (in protobuf wire
3662
- * format), writing to the given BinaryWriter.
3663
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} message
3664
- * @param {!jspb.BinaryWriter} writer
3665
- * @suppress {unusedLocalVariables} f is only used for nested messages
3666
- */
3667
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.serializeBinaryToWriter = function(message, writer) {
3668
- var f = undefined;
3669
- f = message.getPublicKeyHashesList_asU8();
3670
- if (f.length > 0) {
3671
- writer.writeRepeatedBytes(
3672
- 1,
3673
- f
3674
- );
3675
- }
3676
- f = message.getProve();
3677
- if (f) {
3678
- writer.writeBool(
3679
- 2,
3680
- f
3681
- );
3682
- }
3683
- };
3684
-
3685
-
3686
- /**
3687
- * repeated bytes public_key_hashes = 1;
3688
- * @return {!Array<string>}
3689
- */
3690
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.getPublicKeyHashesList = function() {
3691
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
3692
- };
3693
-
3694
-
3695
- /**
3696
- * repeated bytes public_key_hashes = 1;
3697
- * This is a type-conversion wrapper around `getPublicKeyHashesList()`
3698
- * @return {!Array<string>}
3699
- */
3700
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.getPublicKeyHashesList_asB64 = function() {
3701
- return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
3702
- this.getPublicKeyHashesList()));
3703
- };
3704
-
3705
-
3706
- /**
3707
- * repeated bytes public_key_hashes = 1;
3708
- * Note that Uint8Array is not supported on all browsers.
3709
- * @see http://caniuse.com/Uint8Array
3710
- * This is a type-conversion wrapper around `getPublicKeyHashesList()`
3711
- * @return {!Array<!Uint8Array>}
3712
- */
3713
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.getPublicKeyHashesList_asU8 = function() {
3714
- return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
3715
- this.getPublicKeyHashesList()));
3716
- };
3717
-
3718
-
3719
- /**
3720
- * @param {!(Array<!Uint8Array>|Array<string>)} value
3721
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} returns this
3722
- */
3723
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.setPublicKeyHashesList = function(value) {
3724
- return jspb.Message.setField(this, 1, value || []);
3725
- };
3726
-
3727
-
3728
- /**
3729
- * @param {!(string|Uint8Array)} value
3730
- * @param {number=} opt_index
3731
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} returns this
3732
- */
3733
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.addPublicKeyHashes = function(value, opt_index) {
3734
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
3735
- };
3736
-
3737
-
3738
- /**
3739
- * Clears the list making it empty but non-null.
3740
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} returns this
3741
- */
3742
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.clearPublicKeyHashesList = function() {
3743
- return this.setPublicKeyHashesList([]);
3744
- };
3745
-
3746
-
3747
- /**
3748
- * optional bool prove = 2;
3749
- * @return {boolean}
3750
- */
3751
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.getProve = function() {
3752
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
3753
- };
3754
-
3755
-
3756
- /**
3757
- * @param {boolean} value
3758
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} returns this
3759
- */
3760
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.setProve = function(value) {
3761
- return jspb.Message.setProto3BooleanField(this, 2, value);
3762
- };
3763
-
3764
-
3765
-
3766
- /**
3767
- * List of repeated fields within this message type.
3768
- * @private {!Array<number>}
3769
- * @const
3770
- */
3771
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.repeatedFields_ = [1];
3772
-
3773
-
3774
-
3775
- if (jspb.Message.GENERATE_TO_OBJECT) {
3776
- /**
3777
- * Creates an object representation of this proto.
3778
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3779
- * Optional fields that are not set will be set to undefined.
3780
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3781
- * For the list of reserved names please see:
3782
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3783
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3784
- * JSPB instance for transitional soy proto support:
3785
- * http://goto/soy-param-migration
3786
- * @return {!Object}
3787
- */
3788
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.toObject = function(opt_includeInstance) {
3789
- return proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.toObject(opt_includeInstance, this);
3790
- };
3791
-
3792
-
3793
- /**
3794
- * Static version of the {@see toObject} method.
3795
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3796
- * the JSPB instance for transitional soy proto support:
3797
- * http://goto/soy-param-migration
3798
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} msg The msg instance to transform.
3799
- * @return {!Object}
3800
- * @suppress {unusedLocalVariables} f is only used for nested messages
3801
- */
3802
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.toObject = function(includeInstance, msg) {
3803
- var f, obj = {
3804
- identityIdsList: msg.getIdentityIdsList_asB64(),
3805
- proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
3806
- metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
3807
- };
3808
-
3809
- if (includeInstance) {
3810
- obj.$jspbMessageInstance = msg;
3811
- }
3812
- return obj;
3813
- };
3814
- }
3815
-
3816
-
3817
- /**
3818
- * Deserializes binary data (in protobuf wire format).
3819
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3820
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse}
3821
- */
3822
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.deserializeBinary = function(bytes) {
3823
- var reader = new jspb.BinaryReader(bytes);
3824
- var msg = new proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse;
3825
- return proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.deserializeBinaryFromReader(msg, reader);
3826
- };
3827
-
3828
-
3829
- /**
3830
- * Deserializes binary data (in protobuf wire format) from the
3831
- * given reader into the given message object.
3832
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} msg The message object to deserialize into.
3833
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3834
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse}
3835
- */
3836
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.deserializeBinaryFromReader = function(msg, reader) {
3837
- while (reader.nextField()) {
3838
- if (reader.isEndGroup()) {
3839
- break;
3840
- }
3841
- var field = reader.getFieldNumber();
3842
- switch (field) {
3843
- case 1:
3844
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
3845
- msg.addIdentityIds(value);
3846
- break;
3847
- case 2:
3848
- var value = new proto.org.dash.platform.dapi.v0.Proof;
3849
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
3850
- msg.setProof(value);
3851
- break;
3852
- case 3:
3853
- var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
3854
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
3855
- msg.setMetadata(value);
3856
- break;
3857
- default:
3858
- reader.skipField();
3859
- break;
3860
- }
3861
- }
3862
- return msg;
3863
- };
3864
-
3865
-
3866
- /**
3867
- * Serializes the message to binary data (in protobuf wire format).
3868
- * @return {!Uint8Array}
3869
- */
3870
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.serializeBinary = function() {
3871
- var writer = new jspb.BinaryWriter();
3872
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.serializeBinaryToWriter(this, writer);
3873
- return writer.getResultBuffer();
3874
- };
3875
-
3876
-
3877
- /**
3878
- * Serializes the given message to binary data (in protobuf wire
3879
- * format), writing to the given BinaryWriter.
3880
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} message
3881
- * @param {!jspb.BinaryWriter} writer
3882
- * @suppress {unusedLocalVariables} f is only used for nested messages
3883
- */
3884
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.serializeBinaryToWriter = function(message, writer) {
3885
- var f = undefined;
3886
- f = message.getIdentityIdsList_asU8();
3887
- if (f.length > 0) {
3888
- writer.writeRepeatedBytes(
3889
- 1,
3890
- f
3891
- );
3892
- }
3893
- f = message.getProof();
3894
- if (f != null) {
3895
- writer.writeMessage(
3896
- 2,
3897
- f,
3898
- proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
3899
- );
3900
- }
3901
- f = message.getMetadata();
3902
- if (f != null) {
3903
- writer.writeMessage(
3904
- 3,
3905
- f,
3906
- proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
3907
- );
3908
- }
3909
- };
3910
-
3911
-
3912
- /**
3913
- * repeated bytes identity_ids = 1;
3914
- * @return {!Array<string>}
3915
- */
3916
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.getIdentityIdsList = function() {
3917
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
3918
- };
3919
-
3920
-
3921
- /**
3922
- * repeated bytes identity_ids = 1;
3923
- * This is a type-conversion wrapper around `getIdentityIdsList()`
3924
- * @return {!Array<string>}
3925
- */
3926
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.getIdentityIdsList_asB64 = function() {
3927
- return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
3928
- this.getIdentityIdsList()));
3929
- };
3930
-
3931
-
3932
- /**
3933
- * repeated bytes identity_ids = 1;
3934
- * Note that Uint8Array is not supported on all browsers.
3935
- * @see http://caniuse.com/Uint8Array
3936
- * This is a type-conversion wrapper around `getIdentityIdsList()`
3937
- * @return {!Array<!Uint8Array>}
3938
- */
3939
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.getIdentityIdsList_asU8 = function() {
3940
- return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
3941
- this.getIdentityIdsList()));
3942
- };
3943
-
3944
-
3945
- /**
3946
- * @param {!(Array<!Uint8Array>|Array<string>)} value
3947
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
3948
- */
3949
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.setIdentityIdsList = function(value) {
3950
- return jspb.Message.setField(this, 1, value || []);
3951
- };
3952
-
3953
-
3954
- /**
3955
- * @param {!(string|Uint8Array)} value
3956
- * @param {number=} opt_index
3957
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
3958
- */
3959
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.addIdentityIds = function(value, opt_index) {
3960
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
3961
- };
3962
-
3963
-
3964
- /**
3965
- * Clears the list making it empty but non-null.
3966
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
3967
- */
3968
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.clearIdentityIdsList = function() {
3969
- return this.setIdentityIdsList([]);
3970
- };
3971
-
3972
-
3973
- /**
3974
- * optional Proof proof = 2;
3975
- * @return {?proto.org.dash.platform.dapi.v0.Proof}
3976
- */
3977
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.getProof = function() {
3978
- return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
3979
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
3980
- };
3981
-
3982
-
3983
- /**
3984
- * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
3985
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
3986
- */
3987
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.setProof = function(value) {
3988
- return jspb.Message.setWrapperField(this, 2, value);
3989
- };
3990
-
3991
-
3992
- /**
3993
- * Clears the message field making it undefined.
3994
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
3995
- */
3996
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.clearProof = function() {
3997
- return this.setProof(undefined);
3998
- };
3999
-
4000
-
4001
- /**
4002
- * Returns whether this field is set.
4003
- * @return {boolean}
4004
- */
4005
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.hasProof = function() {
4006
- return jspb.Message.getField(this, 2) != null;
4007
- };
4008
-
4009
-
4010
- /**
4011
- * optional ResponseMetadata metadata = 3;
4012
- * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
4013
- */
4014
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.getMetadata = function() {
4015
- return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
4016
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
4017
- };
4018
-
4019
-
4020
- /**
4021
- * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
4022
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
4023
- */
4024
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.setMetadata = function(value) {
4025
- return jspb.Message.setWrapperField(this, 3, value);
4026
- };
4027
-
4028
-
4029
- /**
4030
- * Clears the message field making it undefined.
4031
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
4032
- */
4033
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.clearMetadata = function() {
4034
- return this.setMetadata(undefined);
4035
- };
4036
-
4037
-
4038
- /**
4039
- * Returns whether this field is set.
4040
- * @return {boolean}
4041
- */
4042
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.hasMetadata = function() {
4043
- return jspb.Message.getField(this, 3) != null;
4044
- };
4045
-
4046
-
4047
-
4048
3512
 
4049
3513
 
4050
3514
  if (jspb.Message.GENERATE_TO_OBJECT) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dapi-grpc",
3
- "version": "0.23.0-dev.1",
3
+ "version": "0.23.0-dev.4",
4
4
  "description": "DAPI GRPC definition file and generated clients",
5
5
  "browser": "browser.js",
6
6
  "main": "node.js",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "homepage": "https://github.com/dashevo/dapi-grpc#readme",
35
35
  "dependencies": {
36
- "@dashevo/grpc-common": "~0.23.0-dev.1",
36
+ "@dashevo/grpc-common": "~0.23.0-dev.4",
37
37
  "@dashevo/protobufjs": "6.10.5",
38
38
  "@grpc/grpc-js": "^1.3.7",
39
39
  "google-protobuf": "^3.12.2",
@@ -8,7 +8,6 @@ service Platform {
8
8
  rpc getDataContract (GetDataContractRequest) returns (GetDataContractResponse);
9
9
  rpc getDocuments (GetDocumentsRequest) returns (GetDocumentsResponse);
10
10
  rpc getIdentitiesByPublicKeyHashes (GetIdentitiesByPublicKeyHashesRequest) returns (GetIdentitiesByPublicKeyHashesResponse);
11
- rpc getIdentityIdsByPublicKeyHashes (GetIdentityIdsByPublicKeyHashesRequest) returns (GetIdentityIdsByPublicKeyHashesResponse);
12
11
  rpc waitForStateTransitionResult (WaitForStateTransitionResultRequest) returns (WaitForStateTransitionResultResponse);
13
12
  rpc getConsensusParams (GetConsensusParamsRequest) returns (GetConsensusParamsResponse);
14
13
  }
@@ -94,17 +93,6 @@ message GetIdentitiesByPublicKeyHashesResponse {
94
93
  ResponseMetadata metadata = 3;
95
94
  }
96
95
 
97
- message GetIdentityIdsByPublicKeyHashesRequest {
98
- repeated bytes public_key_hashes = 1;
99
- bool prove = 2;
100
- }
101
-
102
- message GetIdentityIdsByPublicKeyHashesResponse {
103
- repeated bytes identity_ids = 1;
104
- Proof proof = 2;
105
- ResponseMetadata metadata = 3;
106
- }
107
-
108
96
  message WaitForStateTransitionResultRequest {
109
97
  bytes state_transition_hash = 1;
110
98
  bool prove = 2;