@ocap/proto 1.18.99 → 1.18.101

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
@@ -2482,6 +2482,14 @@
2482
2482
  "lastTx": {
2483
2483
  "type": "uint64",
2484
2484
  "id": 10
2485
+ },
2486
+ "decimal": {
2487
+ "type": "uint32",
2488
+ "id": 11
2489
+ },
2490
+ "symbol": {
2491
+ "type": "string",
2492
+ "id": 12
2485
2493
  }
2486
2494
  }
2487
2495
  },
@@ -16775,7 +16775,9 @@ proto.ocap.TokenLimit.toObject = function(includeInstance, msg) {
16775
16775
  rate: (f = msg.getRate()) && proto.ocap.RateLimit.toObject(includeInstance, f),
16776
16776
  txSent: jspb.Message.getFieldWithDefault(msg, 8, 0),
16777
16777
  spentAllowance: jspb.Message.getFieldWithDefault(msg, 9, ""),
16778
- lastTx: jspb.Message.getFieldWithDefault(msg, 10, 0)
16778
+ lastTx: jspb.Message.getFieldWithDefault(msg, 10, 0),
16779
+ decimal: jspb.Message.getFieldWithDefault(msg, 11, 0),
16780
+ symbol: jspb.Message.getFieldWithDefault(msg, 12, "")
16779
16781
  };
16780
16782
 
16781
16783
  if (includeInstance) {
@@ -16853,6 +16855,14 @@ proto.ocap.TokenLimit.deserializeBinaryFromReader = function(msg, reader) {
16853
16855
  var value = /** @type {number} */ (reader.readUint64());
16854
16856
  msg.setLastTx(value);
16855
16857
  break;
16858
+ case 11:
16859
+ var value = /** @type {number} */ (reader.readUint32());
16860
+ msg.setDecimal(value);
16861
+ break;
16862
+ case 12:
16863
+ var value = /** @type {string} */ (reader.readString());
16864
+ msg.setSymbol(value);
16865
+ break;
16856
16866
  default:
16857
16867
  reader.skipField();
16858
16868
  break;
@@ -16953,6 +16963,20 @@ proto.ocap.TokenLimit.serializeBinaryToWriter = function(message, writer) {
16953
16963
  f
16954
16964
  );
16955
16965
  }
16966
+ f = message.getDecimal();
16967
+ if (f !== 0) {
16968
+ writer.writeUint32(
16969
+ 11,
16970
+ f
16971
+ );
16972
+ }
16973
+ f = message.getSymbol();
16974
+ if (f.length > 0) {
16975
+ writer.writeString(
16976
+ 12,
16977
+ f
16978
+ );
16979
+ }
16956
16980
  };
16957
16981
 
16958
16982
 
@@ -17174,6 +17198,42 @@ proto.ocap.TokenLimit.prototype.setLastTx = function(value) {
17174
17198
  };
17175
17199
 
17176
17200
 
17201
+ /**
17202
+ * optional uint32 decimal = 11;
17203
+ * @return {number}
17204
+ */
17205
+ proto.ocap.TokenLimit.prototype.getDecimal = function() {
17206
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
17207
+ };
17208
+
17209
+
17210
+ /**
17211
+ * @param {number} value
17212
+ * @return {!proto.ocap.TokenLimit} returns this
17213
+ */
17214
+ proto.ocap.TokenLimit.prototype.setDecimal = function(value) {
17215
+ return jspb.Message.setProto3IntField(this, 11, value);
17216
+ };
17217
+
17218
+
17219
+ /**
17220
+ * optional string symbol = 12;
17221
+ * @return {string}
17222
+ */
17223
+ proto.ocap.TokenLimit.prototype.getSymbol = function() {
17224
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
17225
+ };
17226
+
17227
+
17228
+ /**
17229
+ * @param {string} value
17230
+ * @return {!proto.ocap.TokenLimit} returns this
17231
+ */
17232
+ proto.ocap.TokenLimit.prototype.setSymbol = function(value) {
17233
+ return jspb.Message.setProto3StringField(this, 12, value);
17234
+ };
17235
+
17236
+
17177
17237
 
17178
17238
  /**
17179
17239
  * 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.18.99",
4
+ "version": "1.18.101",
5
5
  "author": {
6
6
  "name": "wangshijun",
7
7
  "email": "shijun@arcblock.io",
@@ -48,5 +48,5 @@
48
48
  "debug": "^4.3.4",
49
49
  "lodash": "^4.17.21"
50
50
  },
51
- "gitHead": "1018f219618a13decf778998529c83befcab6887"
51
+ "gitHead": "a7d110c4b5060c02f6a456d7b8984594aa69c00c"
52
52
  }