@aldiokta/protocgen 1.0.44 → 1.0.45

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldiokta/protocgen",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1251,7 +1251,8 @@ optionList: jspb.Message.toObjectList(msg.getOptionList(),
1251
1251
  proto.prisca.v1.core.transaction_builder.Value.toObject, includeInstance),
1252
1252
  properties: jspb.Message.getFieldWithDefault(msg, 7, ""),
1253
1253
  fieldRulesList: jspb.Message.toObjectList(msg.getFieldRulesList(),
1254
- proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.toObject, includeInstance)
1254
+ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.toObject, includeInstance),
1255
+ isMaster: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
1255
1256
  };
1256
1257
 
1257
1258
  if (includeInstance) {
@@ -1322,6 +1323,10 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsForm.deserializ
1322
1323
  reader.readMessage(value,proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.deserializeBinaryFromReader);
1323
1324
  msg.addFieldRules(value);
1324
1325
  break;
1326
+ case 9:
1327
+ var value = /** @type {boolean} */ (reader.readBool());
1328
+ msg.setIsMaster(value);
1329
+ break;
1325
1330
  default:
1326
1331
  reader.skipField();
1327
1332
  break;
@@ -1409,6 +1414,13 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsForm.serializeB
1409
1414
  proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.serializeBinaryToWriter
1410
1415
  );
1411
1416
  }
1417
+ f = message.getIsMaster();
1418
+ if (f) {
1419
+ writer.writeBool(
1420
+ 9,
1421
+ f
1422
+ );
1423
+ }
1412
1424
  };
1413
1425
 
1414
1426
 
@@ -1596,6 +1608,24 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsForm.prototype.
1596
1608
  };
1597
1609
 
1598
1610
 
1611
+ /**
1612
+ * optional bool is_master = 9;
1613
+ * @return {boolean}
1614
+ */
1615
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsForm.prototype.getIsMaster = function() {
1616
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
1617
+ };
1618
+
1619
+
1620
+ /**
1621
+ * @param {boolean} value
1622
+ * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsForm} returns this
1623
+ */
1624
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsForm.prototype.setIsMaster = function(value) {
1625
+ return jspb.Message.setProto3BooleanField(this, 9, value);
1626
+ };
1627
+
1628
+
1599
1629
 
1600
1630
 
1601
1631