@ocap/proto 1.13.85 → 1.14.2
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 +4 -0
- package/lib/gen/type_pb.js +31 -1
- package/package.json +2 -2
package/lib/gen/spec.json
CHANGED
package/lib/gen/type_pb.js
CHANGED
|
@@ -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.
|
|
4
|
+
"version": "1.14.2",
|
|
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": "
|
|
50
|
+
"gitHead": "6ef13ed89e546879db9c88a21691940963466617"
|
|
51
51
|
}
|