@dashevo/dapi-grpc 2.0.0-rc.10 → 2.0.0-rc.11

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.0.0-rc.10"
4
+ version = "2.0.0-rc.11"
5
5
  authors = [
6
6
  "Samuel Westrich <sam@dash.org>",
7
7
  "Igor Markin <igor.markin@dash.org>",
@@ -65271,6 +65271,7 @@ $root.org = (function() {
65271
65271
  * @memberof org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0
65272
65272
  * @interface IBurnEvent
65273
65273
  * @property {number|Long|null} [amount] BurnEvent amount
65274
+ * @property {Uint8Array|null} [burnFromId] BurnEvent burnFromId
65274
65275
  * @property {string|null} [publicNote] BurnEvent publicNote
65275
65276
  */
65276
65277
 
@@ -65297,6 +65298,14 @@ $root.org = (function() {
65297
65298
  */
65298
65299
  BurnEvent.prototype.amount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
65299
65300
 
65301
+ /**
65302
+ * BurnEvent burnFromId.
65303
+ * @member {Uint8Array} burnFromId
65304
+ * @memberof org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent
65305
+ * @instance
65306
+ */
65307
+ BurnEvent.prototype.burnFromId = $util.newBuffer([]);
65308
+
65300
65309
  /**
65301
65310
  * BurnEvent publicNote.
65302
65311
  * @member {string} publicNote
@@ -65331,8 +65340,10 @@ $root.org = (function() {
65331
65340
  writer = $Writer.create();
65332
65341
  if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
65333
65342
  writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.amount);
65343
+ if (message.burnFromId != null && Object.hasOwnProperty.call(message, "burnFromId"))
65344
+ writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.burnFromId);
65334
65345
  if (message.publicNote != null && Object.hasOwnProperty.call(message, "publicNote"))
65335
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.publicNote);
65346
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.publicNote);
65336
65347
  return writer;
65337
65348
  };
65338
65349
 
@@ -65371,6 +65382,9 @@ $root.org = (function() {
65371
65382
  message.amount = reader.uint64();
65372
65383
  break;
65373
65384
  case 2:
65385
+ message.burnFromId = reader.bytes();
65386
+ break;
65387
+ case 3:
65374
65388
  message.publicNote = reader.string();
65375
65389
  break;
65376
65390
  default:
@@ -65411,6 +65425,9 @@ $root.org = (function() {
65411
65425
  if (message.amount != null && message.hasOwnProperty("amount"))
65412
65426
  if (!$util.isInteger(message.amount) && !(message.amount && $util.isInteger(message.amount.low) && $util.isInteger(message.amount.high)))
65413
65427
  return "amount: integer|Long expected";
65428
+ if (message.burnFromId != null && message.hasOwnProperty("burnFromId"))
65429
+ if (!(message.burnFromId && typeof message.burnFromId.length === "number" || $util.isString(message.burnFromId)))
65430
+ return "burnFromId: buffer expected";
65414
65431
  if (message.publicNote != null && message.hasOwnProperty("publicNote"))
65415
65432
  if (!$util.isString(message.publicNote))
65416
65433
  return "publicNote: string expected";
@@ -65438,6 +65455,11 @@ $root.org = (function() {
65438
65455
  message.amount = object.amount;
65439
65456
  else if (typeof object.amount === "object")
65440
65457
  message.amount = new $util.LongBits(object.amount.low >>> 0, object.amount.high >>> 0).toNumber(true);
65458
+ if (object.burnFromId != null)
65459
+ if (typeof object.burnFromId === "string")
65460
+ $util.base64.decode(object.burnFromId, message.burnFromId = $util.newBuffer($util.base64.length(object.burnFromId)), 0);
65461
+ else if (object.burnFromId.length >= 0)
65462
+ message.burnFromId = object.burnFromId;
65441
65463
  if (object.publicNote != null)
65442
65464
  message.publicNote = String(object.publicNote);
65443
65465
  return message;
@@ -65462,6 +65484,13 @@ $root.org = (function() {
65462
65484
  object.amount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
65463
65485
  } else
65464
65486
  object.amount = options.longs === String ? "0" : 0;
65487
+ if (options.bytes === String)
65488
+ object.burnFromId = "";
65489
+ else {
65490
+ object.burnFromId = [];
65491
+ if (options.bytes !== Array)
65492
+ object.burnFromId = $util.newBuffer(object.burnFromId);
65493
+ }
65465
65494
  object.publicNote = "";
65466
65495
  }
65467
65496
  if (message.amount != null && message.hasOwnProperty("amount"))
@@ -65469,6 +65498,8 @@ $root.org = (function() {
65469
65498
  object.amount = options.longs === String ? String(message.amount) : message.amount;
65470
65499
  else
65471
65500
  object.amount = options.longs === String ? $util.Long.prototype.toString.call(message.amount) : options.longs === Number ? new $util.LongBits(message.amount.low >>> 0, message.amount.high >>> 0).toNumber(true) : message.amount;
65501
+ if (message.burnFromId != null && message.hasOwnProperty("burnFromId"))
65502
+ object.burnFromId = options.bytes === String ? $util.base64.encode(message.burnFromId, 0, message.burnFromId.length) : options.bytes === Array ? Array.prototype.slice.call(message.burnFromId) : message.burnFromId;
65472
65503
  if (message.publicNote != null && message.hasOwnProperty("publicNote"))
65473
65504
  object.publicNote = message.publicNote;
65474
65505
  return object;
@@ -64763,6 +64763,7 @@ $root.org = (function() {
64763
64763
  * @memberof org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0
64764
64764
  * @interface IBurnEvent
64765
64765
  * @property {number|Long|null} [amount] BurnEvent amount
64766
+ * @property {Uint8Array|null} [burnFromId] BurnEvent burnFromId
64766
64767
  * @property {string|null} [publicNote] BurnEvent publicNote
64767
64768
  */
64768
64769
 
@@ -64789,6 +64790,14 @@ $root.org = (function() {
64789
64790
  */
64790
64791
  BurnEvent.prototype.amount = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
64791
64792
 
64793
+ /**
64794
+ * BurnEvent burnFromId.
64795
+ * @member {Uint8Array} burnFromId
64796
+ * @memberof org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent
64797
+ * @instance
64798
+ */
64799
+ BurnEvent.prototype.burnFromId = $util.newBuffer([]);
64800
+
64792
64801
  /**
64793
64802
  * BurnEvent publicNote.
64794
64803
  * @member {string} publicNote
@@ -64823,8 +64832,10 @@ $root.org = (function() {
64823
64832
  writer = $Writer.create();
64824
64833
  if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
64825
64834
  writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.amount);
64835
+ if (message.burnFromId != null && Object.hasOwnProperty.call(message, "burnFromId"))
64836
+ writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.burnFromId);
64826
64837
  if (message.publicNote != null && Object.hasOwnProperty.call(message, "publicNote"))
64827
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.publicNote);
64838
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.publicNote);
64828
64839
  return writer;
64829
64840
  };
64830
64841
 
@@ -64863,6 +64874,9 @@ $root.org = (function() {
64863
64874
  message.amount = reader.uint64();
64864
64875
  break;
64865
64876
  case 2:
64877
+ message.burnFromId = reader.bytes();
64878
+ break;
64879
+ case 3:
64866
64880
  message.publicNote = reader.string();
64867
64881
  break;
64868
64882
  default:
@@ -64903,6 +64917,9 @@ $root.org = (function() {
64903
64917
  if (message.amount != null && message.hasOwnProperty("amount"))
64904
64918
  if (!$util.isInteger(message.amount) && !(message.amount && $util.isInteger(message.amount.low) && $util.isInteger(message.amount.high)))
64905
64919
  return "amount: integer|Long expected";
64920
+ if (message.burnFromId != null && message.hasOwnProperty("burnFromId"))
64921
+ if (!(message.burnFromId && typeof message.burnFromId.length === "number" || $util.isString(message.burnFromId)))
64922
+ return "burnFromId: buffer expected";
64906
64923
  if (message.publicNote != null && message.hasOwnProperty("publicNote"))
64907
64924
  if (!$util.isString(message.publicNote))
64908
64925
  return "publicNote: string expected";
@@ -64930,6 +64947,11 @@ $root.org = (function() {
64930
64947
  message.amount = object.amount;
64931
64948
  else if (typeof object.amount === "object")
64932
64949
  message.amount = new $util.LongBits(object.amount.low >>> 0, object.amount.high >>> 0).toNumber(true);
64950
+ if (object.burnFromId != null)
64951
+ if (typeof object.burnFromId === "string")
64952
+ $util.base64.decode(object.burnFromId, message.burnFromId = $util.newBuffer($util.base64.length(object.burnFromId)), 0);
64953
+ else if (object.burnFromId.length >= 0)
64954
+ message.burnFromId = object.burnFromId;
64933
64955
  if (object.publicNote != null)
64934
64956
  message.publicNote = String(object.publicNote);
64935
64957
  return message;
@@ -64954,6 +64976,13 @@ $root.org = (function() {
64954
64976
  object.amount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
64955
64977
  } else
64956
64978
  object.amount = options.longs === String ? "0" : 0;
64979
+ if (options.bytes === String)
64980
+ object.burnFromId = "";
64981
+ else {
64982
+ object.burnFromId = [];
64983
+ if (options.bytes !== Array)
64984
+ object.burnFromId = $util.newBuffer(object.burnFromId);
64985
+ }
64957
64986
  object.publicNote = "";
64958
64987
  }
64959
64988
  if (message.amount != null && message.hasOwnProperty("amount"))
@@ -64961,6 +64990,8 @@ $root.org = (function() {
64961
64990
  object.amount = options.longs === String ? String(message.amount) : message.amount;
64962
64991
  else
64963
64992
  object.amount = options.longs === String ? $util.Long.prototype.toString.call(message.amount) : options.longs === Number ? new $util.LongBits(message.amount.low >>> 0, message.amount.high >>> 0).toNumber(true) : message.amount;
64993
+ if (message.burnFromId != null && message.hasOwnProperty("burnFromId"))
64994
+ object.burnFromId = options.bytes === String ? $util.base64.encode(message.burnFromId, 0, message.burnFromId.length) : options.bytes === Array ? Array.prototype.slice.call(message.burnFromId) : message.burnFromId;
64964
64995
  if (message.publicNote != null && message.hasOwnProperty("publicNote"))
64965
64996
  object.publicNote = message.publicNote;
64966
64997
  return object;
@@ -63580,7 +63580,8 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63580
63580
  proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.toObject = function(includeInstance, msg) {
63581
63581
  var f, obj = {
63582
63582
  amount: jspb.Message.getFieldWithDefault(msg, 1, 0),
63583
- publicNote: jspb.Message.getFieldWithDefault(msg, 2, "")
63583
+ burnFromId: msg.getBurnFromId_asB64(),
63584
+ publicNote: jspb.Message.getFieldWithDefault(msg, 3, "")
63584
63585
  };
63585
63586
 
63586
63587
  if (includeInstance) {
@@ -63622,6 +63623,10 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63622
63623
  msg.setAmount(value);
63623
63624
  break;
63624
63625
  case 2:
63626
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
63627
+ msg.setBurnFromId(value);
63628
+ break;
63629
+ case 3:
63625
63630
  var value = /** @type {string} */ (reader.readString());
63626
63631
  msg.setPublicNote(value);
63627
63632
  break;
@@ -63661,10 +63666,17 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63661
63666
  f
63662
63667
  );
63663
63668
  }
63664
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
63669
+ f = message.getBurnFromId_asU8();
63670
+ if (f.length > 0) {
63671
+ writer.writeBytes(
63672
+ 2,
63673
+ f
63674
+ );
63675
+ }
63676
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
63665
63677
  if (f != null) {
63666
63678
  writer.writeString(
63667
- 2,
63679
+ 3,
63668
63680
  f
63669
63681
  );
63670
63682
  }
@@ -63690,20 +63702,62 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63690
63702
 
63691
63703
 
63692
63704
  /**
63693
- * optional string public_note = 2;
63705
+ * optional bytes burn_from_id = 2;
63694
63706
  * @return {string}
63695
63707
  */
63696
- proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getPublicNote = function() {
63708
+ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId = function() {
63697
63709
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
63698
63710
  };
63699
63711
 
63700
63712
 
63713
+ /**
63714
+ * optional bytes burn_from_id = 2;
63715
+ * This is a type-conversion wrapper around `getBurnFromId()`
63716
+ * @return {string}
63717
+ */
63718
+ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId_asB64 = function() {
63719
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
63720
+ this.getBurnFromId()));
63721
+ };
63722
+
63723
+
63724
+ /**
63725
+ * optional bytes burn_from_id = 2;
63726
+ * Note that Uint8Array is not supported on all browsers.
63727
+ * @see http://caniuse.com/Uint8Array
63728
+ * This is a type-conversion wrapper around `getBurnFromId()`
63729
+ * @return {!Uint8Array}
63730
+ */
63731
+ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId_asU8 = function() {
63732
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
63733
+ this.getBurnFromId()));
63734
+ };
63735
+
63736
+
63737
+ /**
63738
+ * @param {!(string|Uint8Array)} value
63739
+ * @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
63740
+ */
63741
+ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.setBurnFromId = function(value) {
63742
+ return jspb.Message.setProto3BytesField(this, 2, value);
63743
+ };
63744
+
63745
+
63746
+ /**
63747
+ * optional string public_note = 3;
63748
+ * @return {string}
63749
+ */
63750
+ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getPublicNote = function() {
63751
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
63752
+ };
63753
+
63754
+
63701
63755
  /**
63702
63756
  * @param {string} value
63703
63757
  * @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
63704
63758
  */
63705
63759
  proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.setPublicNote = function(value) {
63706
- return jspb.Message.setField(this, 2, value);
63760
+ return jspb.Message.setField(this, 3, value);
63707
63761
  };
63708
63762
 
63709
63763
 
@@ -63712,7 +63766,7 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63712
63766
  * @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
63713
63767
  */
63714
63768
  proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.clearPublicNote = function() {
63715
- return jspb.Message.setField(this, 2, undefined);
63769
+ return jspb.Message.setField(this, 3, undefined);
63716
63770
  };
63717
63771
 
63718
63772
 
@@ -63721,7 +63775,7 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63721
63775
  * @return {boolean}
63722
63776
  */
63723
63777
  proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.hasPublicNote = function() {
63724
- return jspb.Message.getField(this, 2) != null;
63778
+ return jspb.Message.getField(this, 3) != null;
63725
63779
  };
63726
63780
 
63727
63781
 
@@ -8300,6 +8300,11 @@ export namespace GetGroupActionsResponse {
8300
8300
  getAmount(): number;
8301
8301
  setAmount(value: number): void;
8302
8302
 
8303
+ getBurnFromId(): Uint8Array | string;
8304
+ getBurnFromId_asU8(): Uint8Array;
8305
+ getBurnFromId_asB64(): string;
8306
+ setBurnFromId(value: Uint8Array | string): void;
8307
+
8303
8308
  hasPublicNote(): boolean;
8304
8309
  clearPublicNote(): void;
8305
8310
  getPublicNote(): string;
@@ -8318,6 +8323,7 @@ export namespace GetGroupActionsResponse {
8318
8323
  export namespace BurnEvent {
8319
8324
  export type AsObject = {
8320
8325
  amount: number,
8326
+ burnFromId: Uint8Array | string,
8321
8327
  publicNote: string,
8322
8328
  }
8323
8329
  }
@@ -63580,7 +63580,8 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63580
63580
  proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.toObject = function(includeInstance, msg) {
63581
63581
  var f, obj = {
63582
63582
  amount: jspb.Message.getFieldWithDefault(msg, 1, 0),
63583
- publicNote: jspb.Message.getFieldWithDefault(msg, 2, "")
63583
+ burnFromId: msg.getBurnFromId_asB64(),
63584
+ publicNote: jspb.Message.getFieldWithDefault(msg, 3, "")
63584
63585
  };
63585
63586
 
63586
63587
  if (includeInstance) {
@@ -63622,6 +63623,10 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63622
63623
  msg.setAmount(value);
63623
63624
  break;
63624
63625
  case 2:
63626
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
63627
+ msg.setBurnFromId(value);
63628
+ break;
63629
+ case 3:
63625
63630
  var value = /** @type {string} */ (reader.readString());
63626
63631
  msg.setPublicNote(value);
63627
63632
  break;
@@ -63661,10 +63666,17 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63661
63666
  f
63662
63667
  );
63663
63668
  }
63664
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
63669
+ f = message.getBurnFromId_asU8();
63670
+ if (f.length > 0) {
63671
+ writer.writeBytes(
63672
+ 2,
63673
+ f
63674
+ );
63675
+ }
63676
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
63665
63677
  if (f != null) {
63666
63678
  writer.writeString(
63667
- 2,
63679
+ 3,
63668
63680
  f
63669
63681
  );
63670
63682
  }
@@ -63690,20 +63702,62 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63690
63702
 
63691
63703
 
63692
63704
  /**
63693
- * optional string public_note = 2;
63705
+ * optional bytes burn_from_id = 2;
63694
63706
  * @return {string}
63695
63707
  */
63696
- proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getPublicNote = function() {
63708
+ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId = function() {
63697
63709
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
63698
63710
  };
63699
63711
 
63700
63712
 
63713
+ /**
63714
+ * optional bytes burn_from_id = 2;
63715
+ * This is a type-conversion wrapper around `getBurnFromId()`
63716
+ * @return {string}
63717
+ */
63718
+ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId_asB64 = function() {
63719
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
63720
+ this.getBurnFromId()));
63721
+ };
63722
+
63723
+
63724
+ /**
63725
+ * optional bytes burn_from_id = 2;
63726
+ * Note that Uint8Array is not supported on all browsers.
63727
+ * @see http://caniuse.com/Uint8Array
63728
+ * This is a type-conversion wrapper around `getBurnFromId()`
63729
+ * @return {!Uint8Array}
63730
+ */
63731
+ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getBurnFromId_asU8 = function() {
63732
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
63733
+ this.getBurnFromId()));
63734
+ };
63735
+
63736
+
63737
+ /**
63738
+ * @param {!(string|Uint8Array)} value
63739
+ * @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
63740
+ */
63741
+ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.setBurnFromId = function(value) {
63742
+ return jspb.Message.setProto3BytesField(this, 2, value);
63743
+ };
63744
+
63745
+
63746
+ /**
63747
+ * optional string public_note = 3;
63748
+ * @return {string}
63749
+ */
63750
+ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.getPublicNote = function() {
63751
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
63752
+ };
63753
+
63754
+
63701
63755
  /**
63702
63756
  * @param {string} value
63703
63757
  * @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
63704
63758
  */
63705
63759
  proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.setPublicNote = function(value) {
63706
- return jspb.Message.setField(this, 2, value);
63760
+ return jspb.Message.setField(this, 3, value);
63707
63761
  };
63708
63762
 
63709
63763
 
@@ -63712,7 +63766,7 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63712
63766
  * @return {!proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent} returns this
63713
63767
  */
63714
63768
  proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.clearPublicNote = function() {
63715
- return jspb.Message.setField(this, 2, undefined);
63769
+ return jspb.Message.setField(this, 3, undefined);
63716
63770
  };
63717
63771
 
63718
63772
 
@@ -63721,7 +63775,7 @@ proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV
63721
63775
  * @return {boolean}
63722
63776
  */
63723
63777
  proto.org.dash.platform.dapi.v0.GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent.prototype.hasPublicNote = function() {
63724
- return jspb.Message.getField(this, 2) != null;
63778
+ return jspb.Message.getField(this, 3) != null;
63725
63779
  };
63726
63780
 
63727
63781
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dapi-grpc",
3
- "version": "2.0.0-rc.10",
3
+ "version": "2.0.0-rc.11",
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.0.0-rc.10",
48
+ "@dashevo/grpc-common": "2.0.0-rc.11",
49
49
  "@dashevo/protobufjs": "6.10.5",
50
50
  "@grpc/grpc-js": "1.4.4",
51
51
  "@improbable-eng/grpc-web": "^0.15.0",
@@ -1660,7 +1660,8 @@ message GetGroupActionsResponse {
1660
1660
  // Burn event
1661
1661
  message BurnEvent {
1662
1662
  uint64 amount = 1; // Amount to burn
1663
- optional string public_note = 2; // Public note
1663
+ bytes burn_from_id = 2; // The identifier to burn from
1664
+ optional string public_note = 3; // Public note
1664
1665
  }
1665
1666
 
1666
1667
  // Freeze event