@ocap/proto 1.13.85 → 1.13.86

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
@@ -2271,6 +2271,10 @@
2271
2271
  "inflationRate": {
2272
2272
  "type": "uint32",
2273
2273
  "id": 9
2274
+ },
2275
+ "address": {
2276
+ "type": "string",
2277
+ "id": 10
2274
2278
  }
2275
2279
  }
2276
2280
  },
@@ -14193,7 +14193,8 @@ proto.ocap.ForgeToken.toObject = function(includeInstance, msg) {
14193
14193
  decimal: jspb.Message.getFieldWithDefault(msg, 6, 0),
14194
14194
  initialSupply: jspb.Message.getFieldWithDefault(msg, 7, ""),
14195
14195
  totalSupply: jspb.Message.getFieldWithDefault(msg, 8, ""),
14196
- inflationRate: jspb.Message.getFieldWithDefault(msg, 9, 0)
14196
+ inflationRate: jspb.Message.getFieldWithDefault(msg, 9, 0),
14197
+ address: jspb.Message.getFieldWithDefault(msg, 10, "")
14197
14198
  };
14198
14199
 
14199
14200
  if (includeInstance) {
@@ -14266,6 +14267,10 @@ proto.ocap.ForgeToken.deserializeBinaryFromReader = function(msg, reader) {
14266
14267
  var value = /** @type {number} */ (reader.readUint32());
14267
14268
  msg.setInflationRate(value);
14268
14269
  break;
14270
+ case 10:
14271
+ var value = /** @type {string} */ (reader.readString());
14272
+ msg.setAddress(value);
14273
+ break;
14269
14274
  default:
14270
14275
  reader.skipField();
14271
14276
  break;
@@ -14358,6 +14363,13 @@ proto.ocap.ForgeToken.serializeBinaryToWriter = function(message, writer) {
14358
14363
  f
14359
14364
  );
14360
14365
  }
14366
+ f = message.getAddress();
14367
+ if (f.length > 0) {
14368
+ writer.writeString(
14369
+ 10,
14370
+ f
14371
+ );
14372
+ }
14361
14373
  };
14362
14374
 
14363
14375
 
@@ -14547,6 +14559,24 @@ proto.ocap.ForgeToken.prototype.setInflationRate = function(value) {
14547
14559
  };
14548
14560
 
14549
14561
 
14562
+ /**
14563
+ * optional string address = 10;
14564
+ * @return {string}
14565
+ */
14566
+ proto.ocap.ForgeToken.prototype.getAddress = function() {
14567
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
14568
+ };
14569
+
14570
+
14571
+ /**
14572
+ * @param {string} value
14573
+ * @return {!proto.ocap.ForgeToken} returns this
14574
+ */
14575
+ proto.ocap.ForgeToken.prototype.setAddress = function(value) {
14576
+ return jspb.Message.setProto3StringField(this, 10, value);
14577
+ };
14578
+
14579
+
14550
14580
 
14551
14581
 
14552
14582
 
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.85",
4
+ "version": "1.13.86",
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": "50c80197f7aa346b43c360adac17e27cd0a18970"
50
+ "gitHead": "c13c697b2019329f04f1dc54d3ab9172c67f1ae7"
51
51
  }