protobuf-platform 1.0.203 → 1.0.204

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/bet/bet.proto CHANGED
@@ -12,7 +12,7 @@ message PingRequest { string ping = 1; }
12
12
  message PongResponse { string pong = 1; }
13
13
  message PaginationRequest { int32 limit = 1; int32 offset = 2; optional UserSearchRequest user_search_params = 3; }
14
14
  message UserSearchRequest {
15
- optional string user_id = 1;
15
+ optional int32 user_id = 1;
16
16
  optional string balance_type = 2;
17
17
  optional string currency = 3;
18
18
  }
package/bet/bet_pb.js CHANGED
@@ -656,7 +656,7 @@ proto.bet.UserSearchRequest.prototype.toObject = function(opt_includeInstance) {
656
656
  */
657
657
  proto.bet.UserSearchRequest.toObject = function(includeInstance, msg) {
658
658
  var f, obj = {
659
- userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
659
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
660
660
  balanceType: jspb.Message.getFieldWithDefault(msg, 2, ""),
661
661
  currency: jspb.Message.getFieldWithDefault(msg, 3, "")
662
662
  };
@@ -696,7 +696,7 @@ proto.bet.UserSearchRequest.deserializeBinaryFromReader = function(msg, reader)
696
696
  var field = reader.getFieldNumber();
697
697
  switch (field) {
698
698
  case 1:
699
- var value = /** @type {string} */ (reader.readString());
699
+ var value = /** @type {number} */ (reader.readInt32());
700
700
  msg.setUserId(value);
701
701
  break;
702
702
  case 2:
@@ -736,9 +736,9 @@ proto.bet.UserSearchRequest.prototype.serializeBinary = function() {
736
736
  */
737
737
  proto.bet.UserSearchRequest.serializeBinaryToWriter = function(message, writer) {
738
738
  var f = undefined;
739
- f = /** @type {string} */ (jspb.Message.getField(message, 1));
739
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
740
740
  if (f != null) {
741
- writer.writeString(
741
+ writer.writeInt32(
742
742
  1,
743
743
  f
744
744
  );
@@ -761,16 +761,16 @@ proto.bet.UserSearchRequest.serializeBinaryToWriter = function(message, writer)
761
761
 
762
762
 
763
763
  /**
764
- * optional string user_id = 1;
765
- * @return {string}
764
+ * optional int32 user_id = 1;
765
+ * @return {number}
766
766
  */
767
767
  proto.bet.UserSearchRequest.prototype.getUserId = function() {
768
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
768
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
769
769
  };
770
770
 
771
771
 
772
772
  /**
773
- * @param {string} value
773
+ * @param {number} value
774
774
  * @return {!proto.bet.UserSearchRequest} returns this
775
775
  */
776
776
  proto.bet.UserSearchRequest.prototype.setUserId = function(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.203",
3
+ "version": "1.0.204",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {