@ocap/proto 1.18.78 → 1.18.80
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/tx_pb.js +30 -0
- package/package.json +2 -2
package/lib/gen/spec.json
CHANGED
package/lib/gen/tx_pb.js
CHANGED
|
@@ -6768,6 +6768,7 @@ proto.ocap.UpdateAssetTx.toObject = function(includeInstance, msg) {
|
|
|
6768
6768
|
var f, obj = {
|
|
6769
6769
|
address: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6770
6770
|
moniker: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6771
|
+
consumed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
6771
6772
|
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
6772
6773
|
};
|
|
6773
6774
|
|
|
@@ -6813,6 +6814,10 @@ proto.ocap.UpdateAssetTx.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6813
6814
|
var value = /** @type {string} */ (reader.readString());
|
|
6814
6815
|
msg.setMoniker(value);
|
|
6815
6816
|
break;
|
|
6817
|
+
case 3:
|
|
6818
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6819
|
+
msg.setConsumed(value);
|
|
6820
|
+
break;
|
|
6816
6821
|
case 15:
|
|
6817
6822
|
var value = new google_protobuf_any_pb.Any;
|
|
6818
6823
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
@@ -6861,6 +6866,13 @@ proto.ocap.UpdateAssetTx.serializeBinaryToWriter = function(message, writer) {
|
|
|
6861
6866
|
f
|
|
6862
6867
|
);
|
|
6863
6868
|
}
|
|
6869
|
+
f = message.getConsumed();
|
|
6870
|
+
if (f) {
|
|
6871
|
+
writer.writeBool(
|
|
6872
|
+
3,
|
|
6873
|
+
f
|
|
6874
|
+
);
|
|
6875
|
+
}
|
|
6864
6876
|
f = message.getData();
|
|
6865
6877
|
if (f != null) {
|
|
6866
6878
|
writer.writeMessage(
|
|
@@ -6908,6 +6920,24 @@ proto.ocap.UpdateAssetTx.prototype.setMoniker = function(value) {
|
|
|
6908
6920
|
};
|
|
6909
6921
|
|
|
6910
6922
|
|
|
6923
|
+
/**
|
|
6924
|
+
* optional bool consumed = 3;
|
|
6925
|
+
* @return {boolean}
|
|
6926
|
+
*/
|
|
6927
|
+
proto.ocap.UpdateAssetTx.prototype.getConsumed = function() {
|
|
6928
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
6929
|
+
};
|
|
6930
|
+
|
|
6931
|
+
|
|
6932
|
+
/**
|
|
6933
|
+
* @param {boolean} value
|
|
6934
|
+
* @return {!proto.ocap.UpdateAssetTx} returns this
|
|
6935
|
+
*/
|
|
6936
|
+
proto.ocap.UpdateAssetTx.prototype.setConsumed = function(value) {
|
|
6937
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
6938
|
+
};
|
|
6939
|
+
|
|
6940
|
+
|
|
6911
6941
|
/**
|
|
6912
6942
|
* optional google.protobuf.Any data = 15;
|
|
6913
6943
|
* @return {?proto.google.protobuf.Any}
|
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.
|
|
4
|
+
"version": "1.18.80",
|
|
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": "
|
|
51
|
+
"gitHead": "a8336aacf07904ff809bc3915ca44c52cfa68f6d"
|
|
52
52
|
}
|