@dashevo/dapi-grpc 0.25.0-dev.16 → 0.25.0-dev.18

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.
@@ -10439,8 +10439,8 @@ $root.org = (function() {
10439
10439
  * @memberof org.dash.platform.dapi.v0
10440
10440
  * @interface IGetDataContractHistoryRequest
10441
10441
  * @property {Uint8Array|null} [id] GetDataContractHistoryRequest id
10442
- * @property {number|null} [limit] GetDataContractHistoryRequest limit
10443
- * @property {number|null} [offset] GetDataContractHistoryRequest offset
10442
+ * @property {google.protobuf.IUInt32Value|null} [limit] GetDataContractHistoryRequest limit
10443
+ * @property {google.protobuf.IUInt32Value|null} [offset] GetDataContractHistoryRequest offset
10444
10444
  * @property {number|Long|null} [startAtMs] GetDataContractHistoryRequest startAtMs
10445
10445
  * @property {boolean|null} [prove] GetDataContractHistoryRequest prove
10446
10446
  */
@@ -10470,19 +10470,19 @@ $root.org = (function() {
10470
10470
 
10471
10471
  /**
10472
10472
  * GetDataContractHistoryRequest limit.
10473
- * @member {number} limit
10473
+ * @member {google.protobuf.IUInt32Value|null|undefined} limit
10474
10474
  * @memberof org.dash.platform.dapi.v0.GetDataContractHistoryRequest
10475
10475
  * @instance
10476
10476
  */
10477
- GetDataContractHistoryRequest.prototype.limit = 0;
10477
+ GetDataContractHistoryRequest.prototype.limit = null;
10478
10478
 
10479
10479
  /**
10480
10480
  * GetDataContractHistoryRequest offset.
10481
- * @member {number} offset
10481
+ * @member {google.protobuf.IUInt32Value|null|undefined} offset
10482
10482
  * @memberof org.dash.platform.dapi.v0.GetDataContractHistoryRequest
10483
10483
  * @instance
10484
10484
  */
10485
- GetDataContractHistoryRequest.prototype.offset = 0;
10485
+ GetDataContractHistoryRequest.prototype.offset = null;
10486
10486
 
10487
10487
  /**
10488
10488
  * GetDataContractHistoryRequest startAtMs.
@@ -10527,9 +10527,9 @@ $root.org = (function() {
10527
10527
  if (message.id != null && Object.hasOwnProperty.call(message, "id"))
10528
10528
  writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.id);
10529
10529
  if (message.limit != null && Object.hasOwnProperty.call(message, "limit"))
10530
- writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit);
10530
+ $root.google.protobuf.UInt32Value.encode(message.limit, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
10531
10531
  if (message.offset != null && Object.hasOwnProperty.call(message, "offset"))
10532
- writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.offset);
10532
+ $root.google.protobuf.UInt32Value.encode(message.offset, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
10533
10533
  if (message.startAtMs != null && Object.hasOwnProperty.call(message, "startAtMs"))
10534
10534
  writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.startAtMs);
10535
10535
  if (message.prove != null && Object.hasOwnProperty.call(message, "prove"))
@@ -10572,10 +10572,10 @@ $root.org = (function() {
10572
10572
  message.id = reader.bytes();
10573
10573
  break;
10574
10574
  case 2:
10575
- message.limit = reader.uint32();
10575
+ message.limit = $root.google.protobuf.UInt32Value.decode(reader, reader.uint32());
10576
10576
  break;
10577
10577
  case 3:
10578
- message.offset = reader.uint32();
10578
+ message.offset = $root.google.protobuf.UInt32Value.decode(reader, reader.uint32());
10579
10579
  break;
10580
10580
  case 4:
10581
10581
  message.startAtMs = reader.uint64();
@@ -10621,12 +10621,16 @@ $root.org = (function() {
10621
10621
  if (message.id != null && message.hasOwnProperty("id"))
10622
10622
  if (!(message.id && typeof message.id.length === "number" || $util.isString(message.id)))
10623
10623
  return "id: buffer expected";
10624
- if (message.limit != null && message.hasOwnProperty("limit"))
10625
- if (!$util.isInteger(message.limit))
10626
- return "limit: integer expected";
10627
- if (message.offset != null && message.hasOwnProperty("offset"))
10628
- if (!$util.isInteger(message.offset))
10629
- return "offset: integer expected";
10624
+ if (message.limit != null && message.hasOwnProperty("limit")) {
10625
+ var error = $root.google.protobuf.UInt32Value.verify(message.limit);
10626
+ if (error)
10627
+ return "limit." + error;
10628
+ }
10629
+ if (message.offset != null && message.hasOwnProperty("offset")) {
10630
+ var error = $root.google.protobuf.UInt32Value.verify(message.offset);
10631
+ if (error)
10632
+ return "offset." + error;
10633
+ }
10630
10634
  if (message.startAtMs != null && message.hasOwnProperty("startAtMs"))
10631
10635
  if (!$util.isInteger(message.startAtMs) && !(message.startAtMs && $util.isInteger(message.startAtMs.low) && $util.isInteger(message.startAtMs.high)))
10632
10636
  return "startAtMs: integer|Long expected";
@@ -10653,10 +10657,16 @@ $root.org = (function() {
10653
10657
  $util.base64.decode(object.id, message.id = $util.newBuffer($util.base64.length(object.id)), 0);
10654
10658
  else if (object.id.length >= 0)
10655
10659
  message.id = object.id;
10656
- if (object.limit != null)
10657
- message.limit = object.limit >>> 0;
10658
- if (object.offset != null)
10659
- message.offset = object.offset >>> 0;
10660
+ if (object.limit != null) {
10661
+ if (typeof object.limit !== "object")
10662
+ throw TypeError(".org.dash.platform.dapi.v0.GetDataContractHistoryRequest.limit: object expected");
10663
+ message.limit = $root.google.protobuf.UInt32Value.fromObject(object.limit);
10664
+ }
10665
+ if (object.offset != null) {
10666
+ if (typeof object.offset !== "object")
10667
+ throw TypeError(".org.dash.platform.dapi.v0.GetDataContractHistoryRequest.offset: object expected");
10668
+ message.offset = $root.google.protobuf.UInt32Value.fromObject(object.offset);
10669
+ }
10660
10670
  if (object.startAtMs != null)
10661
10671
  if ($util.Long)
10662
10672
  (message.startAtMs = $util.Long.fromValue(object.startAtMs)).unsigned = true;
@@ -10692,8 +10702,8 @@ $root.org = (function() {
10692
10702
  if (options.bytes !== Array)
10693
10703
  object.id = $util.newBuffer(object.id);
10694
10704
  }
10695
- object.limit = 0;
10696
- object.offset = 0;
10705
+ object.limit = null;
10706
+ object.offset = null;
10697
10707
  if ($util.Long) {
10698
10708
  var long = new $util.Long(0, 0, true);
10699
10709
  object.startAtMs = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
@@ -10704,9 +10714,9 @@ $root.org = (function() {
10704
10714
  if (message.id != null && message.hasOwnProperty("id"))
10705
10715
  object.id = options.bytes === String ? $util.base64.encode(message.id, 0, message.id.length) : options.bytes === Array ? Array.prototype.slice.call(message.id) : message.id;
10706
10716
  if (message.limit != null && message.hasOwnProperty("limit"))
10707
- object.limit = message.limit;
10717
+ object.limit = $root.google.protobuf.UInt32Value.toObject(message.limit, options);
10708
10718
  if (message.offset != null && message.hasOwnProperty("offset"))
10709
- object.offset = message.offset;
10719
+ object.offset = $root.google.protobuf.UInt32Value.toObject(message.offset, options);
10710
10720
  if (message.startAtMs != null && message.hasOwnProperty("startAtMs"))
10711
10721
  if (typeof message.startAtMs === "number")
10712
10722
  object.startAtMs = options.longs === String ? String(message.startAtMs) : message.startAtMs;
@@ -10202,8 +10202,8 @@ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.toObject
10202
10202
  proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.toObject = function(includeInstance, msg) {
10203
10203
  var f, obj = {
10204
10204
  id: msg.getId_asB64(),
10205
- limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
10206
- offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
10205
+ limit: (f = msg.getLimit()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
10206
+ offset: (f = msg.getOffset()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
10207
10207
  startAtMs: jspb.Message.getFieldWithDefault(msg, 4, 0),
10208
10208
  prove: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
10209
10209
  };
@@ -10247,11 +10247,13 @@ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.deserializeBinaryF
10247
10247
  msg.setId(value);
10248
10248
  break;
10249
10249
  case 2:
10250
- var value = /** @type {number} */ (reader.readUint32());
10250
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
10251
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
10251
10252
  msg.setLimit(value);
10252
10253
  break;
10253
10254
  case 3:
10254
- var value = /** @type {number} */ (reader.readUint32());
10255
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
10256
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
10255
10257
  msg.setOffset(value);
10256
10258
  break;
10257
10259
  case 4:
@@ -10299,17 +10301,19 @@ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.serializeBinaryToW
10299
10301
  );
10300
10302
  }
10301
10303
  f = message.getLimit();
10302
- if (f !== 0) {
10303
- writer.writeUint32(
10304
+ if (f != null) {
10305
+ writer.writeMessage(
10304
10306
  2,
10305
- f
10307
+ f,
10308
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
10306
10309
  );
10307
10310
  }
10308
10311
  f = message.getOffset();
10309
- if (f !== 0) {
10310
- writer.writeUint32(
10312
+ if (f != null) {
10313
+ writer.writeMessage(
10311
10314
  3,
10312
- f
10315
+ f,
10316
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
10313
10317
  );
10314
10318
  }
10315
10319
  f = message.getStartAtMs();
@@ -10372,38 +10376,76 @@ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.setId =
10372
10376
 
10373
10377
 
10374
10378
  /**
10375
- * optional uint32 limit = 2;
10376
- * @return {number}
10379
+ * optional google.protobuf.UInt32Value limit = 2;
10380
+ * @return {?proto.google.protobuf.UInt32Value}
10377
10381
  */
10378
10382
  proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.getLimit = function() {
10379
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
10383
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
10384
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 2));
10380
10385
  };
10381
10386
 
10382
10387
 
10383
10388
  /**
10384
- * @param {number} value
10389
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
10385
10390
  * @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
10386
- */
10391
+ */
10387
10392
  proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.setLimit = function(value) {
10388
- return jspb.Message.setProto3IntField(this, 2, value);
10393
+ return jspb.Message.setWrapperField(this, 2, value);
10389
10394
  };
10390
10395
 
10391
10396
 
10392
10397
  /**
10393
- * optional uint32 offset = 3;
10394
- * @return {number}
10398
+ * Clears the message field making it undefined.
10399
+ * @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
10400
+ */
10401
+ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.clearLimit = function() {
10402
+ return this.setLimit(undefined);
10403
+ };
10404
+
10405
+
10406
+ /**
10407
+ * Returns whether this field is set.
10408
+ * @return {boolean}
10409
+ */
10410
+ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.hasLimit = function() {
10411
+ return jspb.Message.getField(this, 2) != null;
10412
+ };
10413
+
10414
+
10415
+ /**
10416
+ * optional google.protobuf.UInt32Value offset = 3;
10417
+ * @return {?proto.google.protobuf.UInt32Value}
10395
10418
  */
10396
10419
  proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.getOffset = function() {
10397
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
10420
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
10421
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 3));
10398
10422
  };
10399
10423
 
10400
10424
 
10401
10425
  /**
10402
- * @param {number} value
10426
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
10403
10427
  * @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
10404
- */
10428
+ */
10405
10429
  proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.setOffset = function(value) {
10406
- return jspb.Message.setProto3IntField(this, 3, value);
10430
+ return jspb.Message.setWrapperField(this, 3, value);
10431
+ };
10432
+
10433
+
10434
+ /**
10435
+ * Clears the message field making it undefined.
10436
+ * @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
10437
+ */
10438
+ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.clearOffset = function() {
10439
+ return this.setOffset(undefined);
10440
+ };
10441
+
10442
+
10443
+ /**
10444
+ * Returns whether this field is set.
10445
+ * @return {boolean}
10446
+ */
10447
+ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.hasOffset = function() {
10448
+ return jspb.Message.getField(this, 3) != null;
10407
10449
  };
10408
10450
 
10409
10451
 
@@ -1266,11 +1266,15 @@ export class GetDataContractHistoryRequest extends jspb.Message {
1266
1266
  getId_asB64(): string;
1267
1267
  setId(value: Uint8Array | string): void;
1268
1268
 
1269
- getLimit(): number;
1270
- setLimit(value: number): void;
1269
+ hasLimit(): boolean;
1270
+ clearLimit(): void;
1271
+ getLimit(): google_protobuf_wrappers_pb.UInt32Value | undefined;
1272
+ setLimit(value?: google_protobuf_wrappers_pb.UInt32Value): void;
1271
1273
 
1272
- getOffset(): number;
1273
- setOffset(value: number): void;
1274
+ hasOffset(): boolean;
1275
+ clearOffset(): void;
1276
+ getOffset(): google_protobuf_wrappers_pb.UInt32Value | undefined;
1277
+ setOffset(value?: google_protobuf_wrappers_pb.UInt32Value): void;
1274
1278
 
1275
1279
  getStartAtMs(): number;
1276
1280
  setStartAtMs(value: number): void;
@@ -1291,8 +1295,8 @@ export class GetDataContractHistoryRequest extends jspb.Message {
1291
1295
  export namespace GetDataContractHistoryRequest {
1292
1296
  export type AsObject = {
1293
1297
  id: Uint8Array | string,
1294
- limit: number,
1295
- offset: number,
1298
+ limit?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
1299
+ offset?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
1296
1300
  startAtMs: number,
1297
1301
  prove: boolean,
1298
1302
  }
@@ -10202,8 +10202,8 @@ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.toObject
10202
10202
  proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.toObject = function(includeInstance, msg) {
10203
10203
  var f, obj = {
10204
10204
  id: msg.getId_asB64(),
10205
- limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
10206
- offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
10205
+ limit: (f = msg.getLimit()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
10206
+ offset: (f = msg.getOffset()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
10207
10207
  startAtMs: jspb.Message.getFieldWithDefault(msg, 4, 0),
10208
10208
  prove: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
10209
10209
  };
@@ -10247,11 +10247,13 @@ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.deserializeBinaryF
10247
10247
  msg.setId(value);
10248
10248
  break;
10249
10249
  case 2:
10250
- var value = /** @type {number} */ (reader.readUint32());
10250
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
10251
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
10251
10252
  msg.setLimit(value);
10252
10253
  break;
10253
10254
  case 3:
10254
- var value = /** @type {number} */ (reader.readUint32());
10255
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
10256
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
10255
10257
  msg.setOffset(value);
10256
10258
  break;
10257
10259
  case 4:
@@ -10299,17 +10301,19 @@ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.serializeBinaryToW
10299
10301
  );
10300
10302
  }
10301
10303
  f = message.getLimit();
10302
- if (f !== 0) {
10303
- writer.writeUint32(
10304
+ if (f != null) {
10305
+ writer.writeMessage(
10304
10306
  2,
10305
- f
10307
+ f,
10308
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
10306
10309
  );
10307
10310
  }
10308
10311
  f = message.getOffset();
10309
- if (f !== 0) {
10310
- writer.writeUint32(
10312
+ if (f != null) {
10313
+ writer.writeMessage(
10311
10314
  3,
10312
- f
10315
+ f,
10316
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
10313
10317
  );
10314
10318
  }
10315
10319
  f = message.getStartAtMs();
@@ -10372,38 +10376,76 @@ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.setId =
10372
10376
 
10373
10377
 
10374
10378
  /**
10375
- * optional uint32 limit = 2;
10376
- * @return {number}
10379
+ * optional google.protobuf.UInt32Value limit = 2;
10380
+ * @return {?proto.google.protobuf.UInt32Value}
10377
10381
  */
10378
10382
  proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.getLimit = function() {
10379
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
10383
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
10384
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 2));
10380
10385
  };
10381
10386
 
10382
10387
 
10383
10388
  /**
10384
- * @param {number} value
10389
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
10385
10390
  * @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
10386
- */
10391
+ */
10387
10392
  proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.setLimit = function(value) {
10388
- return jspb.Message.setProto3IntField(this, 2, value);
10393
+ return jspb.Message.setWrapperField(this, 2, value);
10389
10394
  };
10390
10395
 
10391
10396
 
10392
10397
  /**
10393
- * optional uint32 offset = 3;
10394
- * @return {number}
10398
+ * Clears the message field making it undefined.
10399
+ * @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
10400
+ */
10401
+ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.clearLimit = function() {
10402
+ return this.setLimit(undefined);
10403
+ };
10404
+
10405
+
10406
+ /**
10407
+ * Returns whether this field is set.
10408
+ * @return {boolean}
10409
+ */
10410
+ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.hasLimit = function() {
10411
+ return jspb.Message.getField(this, 2) != null;
10412
+ };
10413
+
10414
+
10415
+ /**
10416
+ * optional google.protobuf.UInt32Value offset = 3;
10417
+ * @return {?proto.google.protobuf.UInt32Value}
10395
10418
  */
10396
10419
  proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.getOffset = function() {
10397
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
10420
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
10421
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 3));
10398
10422
  };
10399
10423
 
10400
10424
 
10401
10425
  /**
10402
- * @param {number} value
10426
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
10403
10427
  * @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
10404
- */
10428
+ */
10405
10429
  proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.setOffset = function(value) {
10406
- return jspb.Message.setProto3IntField(this, 3, value);
10430
+ return jspb.Message.setWrapperField(this, 3, value);
10431
+ };
10432
+
10433
+
10434
+ /**
10435
+ * Clears the message field making it undefined.
10436
+ * @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
10437
+ */
10438
+ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.clearOffset = function() {
10439
+ return this.setOffset(undefined);
10440
+ };
10441
+
10442
+
10443
+ /**
10444
+ * Returns whether this field is set.
10445
+ * @return {boolean}
10446
+ */
10447
+ proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.hasOffset = function() {
10448
+ return jspb.Message.getField(this, 3) != null;
10407
10449
  };
10408
10450
 
10409
10451
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dapi-grpc",
3
- "version": "0.25.0-dev.16",
3
+ "version": "0.25.0-dev.18",
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": "0.25.0-dev.16",
48
+ "@dashevo/grpc-common": "0.25.0-dev.18",
49
49
  "@dashevo/protobufjs": "6.10.5",
50
50
  "@grpc/grpc-js": "^1.3.7",
51
51
  "@improbable-eng/grpc-web": "^0.15.0",
@@ -273,8 +273,8 @@ message GetDataContractsResponse {
273
273
 
274
274
  message GetDataContractHistoryRequest {
275
275
  bytes id = 1;
276
- uint32 limit = 2;
277
- uint32 offset = 3;
276
+ google.protobuf.UInt32Value limit = 2;
277
+ google.protobuf.UInt32Value offset = 3;
278
278
  uint64 start_at_ms = 4;
279
279
  bool prove = 5;
280
280
  }
@@ -563,10 +563,10 @@ pub mod get_data_contracts_response {
563
563
  pub struct GetDataContractHistoryRequest {
564
564
  #[prost(bytes = "vec", tag = "1")]
565
565
  pub id: ::prost::alloc::vec::Vec<u8>,
566
- #[prost(uint32, tag = "2")]
567
- pub limit: u32,
568
- #[prost(uint32, tag = "3")]
569
- pub offset: u32,
566
+ #[prost(message, optional, tag = "2")]
567
+ pub limit: ::core::option::Option<u32>,
568
+ #[prost(message, optional, tag = "3")]
569
+ pub offset: ::core::option::Option<u32>,
570
570
  #[prost(uint64, tag = "4")]
571
571
  pub start_at_ms: u64,
572
572
  #[prost(bool, tag = "5")]