@ocap/proto 1.13.81 → 1.13.85

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/lib/gen/spec.json CHANGED
@@ -1499,6 +1499,10 @@
1499
1499
  "rule": "repeated",
1500
1500
  "type": "TransactionReceipt",
1501
1501
  "id": 16
1502
+ },
1503
+ "serviceFee": {
1504
+ "type": "string",
1505
+ "id": 17
1502
1506
  }
1503
1507
  }
1504
1508
  },
@@ -4937,7 +4937,8 @@ proto.ocap.Transaction.toObject = function(includeInstance, msg) {
4937
4937
  proto.ocap.Multisig.toObject, includeInstance),
4938
4938
  itx: (f = msg.getItx()) && google_protobuf_any_pb.Any.toObject(includeInstance, f),
4939
4939
  receiptsList: jspb.Message.toObjectList(msg.getReceiptsList(),
4940
- proto.ocap.TransactionReceipt.toObject, includeInstance)
4940
+ proto.ocap.TransactionReceipt.toObject, includeInstance),
4941
+ serviceFee: jspb.Message.getFieldWithDefault(msg, 17, "")
4941
4942
  };
4942
4943
 
4943
4944
  if (includeInstance) {
@@ -5017,6 +5018,10 @@ proto.ocap.Transaction.deserializeBinaryFromReader = function(msg, reader) {
5017
5018
  reader.readMessage(value,proto.ocap.TransactionReceipt.deserializeBinaryFromReader);
5018
5019
  msg.addReceipts(value);
5019
5020
  break;
5021
+ case 17:
5022
+ var value = /** @type {string} */ (reader.readString());
5023
+ msg.setServiceFee(value);
5024
+ break;
5020
5025
  default:
5021
5026
  reader.skipField();
5022
5027
  break;
@@ -5119,6 +5124,13 @@ proto.ocap.Transaction.serializeBinaryToWriter = function(message, writer) {
5119
5124
  proto.ocap.TransactionReceipt.serializeBinaryToWriter
5120
5125
  );
5121
5126
  }
5127
+ f = message.getServiceFee();
5128
+ if (f.length > 0) {
5129
+ writer.writeString(
5130
+ 17,
5131
+ f
5132
+ );
5133
+ }
5122
5134
  };
5123
5135
 
5124
5136
 
@@ -5409,6 +5421,24 @@ proto.ocap.Transaction.prototype.clearReceiptsList = function() {
5409
5421
  };
5410
5422
 
5411
5423
 
5424
+ /**
5425
+ * optional string service_fee = 17;
5426
+ * @return {string}
5427
+ */
5428
+ proto.ocap.Transaction.prototype.getServiceFee = function() {
5429
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
5430
+ };
5431
+
5432
+
5433
+ /**
5434
+ * @param {string} value
5435
+ * @return {!proto.ocap.Transaction} returns this
5436
+ */
5437
+ proto.ocap.Transaction.prototype.setServiceFee = function(value) {
5438
+ return jspb.Message.setProto3StringField(this, 17, value);
5439
+ };
5440
+
5441
+
5412
5442
 
5413
5443
  /**
5414
5444
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocap/proto",
3
3
  "description": "Static modules generated from forge-sdk protobuf files",
4
- "version": "1.13.81",
4
+ "version": "1.13.85",
5
5
  "author": {
6
6
  "name": "wangshijun",
7
7
  "email": "shijun@arcblock.io",
@@ -47,5 +47,5 @@
47
47
  "debug": "^4.3.2",
48
48
  "lodash": "^4.17.21"
49
49
  },
50
- "gitHead": "30dc84516ba83034ddd347bede3b9487e8973cba"
50
+ "gitHead": "50c80197f7aa346b43c360adac17e27cd0a18970"
51
51
  }