Skip to content
Snippets Groups Projects

Draft: Resolve "[Wallet][Tips] Add a field in the seal for wallet public key"

4 files
+ 25
1
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -767,6 +767,7 @@ $root.vereign = (function () {
* @property {vereign.protobuf.qrcode_data.IRecipients_V1|null} [recipients] EmailData_V1 recipients
* @property {Array.<vereign.protobuf.qrcode_data.IAttachment_V1>|null} [attachments] EmailData_V1 attachments
* @property {string|null} [senderPublicKeyUuid] EmailData_V1 senderPublicKeyUuid
* @property {string|null} [walletPublicKey] EmailData_V1 walletPublicKey
*/
/**
* Constructs a new EmailData_V1.
@@ -832,6 +833,13 @@ $root.vereign = (function () {
* @instance
*/
EmailData_V1.prototype.senderPublicKeyUuid = "";
/**
* EmailData_V1 walletPublicKey.
* @member {string} walletPublicKey
* @memberof vereign.protobuf.qrcode_data.EmailData_V1
* @instance
*/
EmailData_V1.prototype.walletPublicKey = "";
/**
* Creates a new EmailData_V1 instance using the specified properties.
* @function create
@@ -870,6 +878,8 @@ $root.vereign = (function () {
$root.vereign.protobuf.qrcode_data.Attachment_V1.encode(message.attachments[i], writer.uint32(/* id 6, wireType 2 =*/ 50).fork()).ldelim();
if (message.senderPublicKeyUuid != null && Object.hasOwnProperty.call(message, "senderPublicKeyUuid"))
writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.senderPublicKeyUuid);
if (message.walletPublicKey != null && Object.hasOwnProperty.call(message, "walletPublicKey"))
writer.uint32(/* id 8, wireType 2 =*/ 66).string(message.walletPublicKey);
return writer;
};
/**
@@ -925,6 +935,9 @@ $root.vereign = (function () {
case 7:
message.senderPublicKeyUuid = reader.string();
break;
case 8:
message.walletPublicKey = reader.string();
break;
default:
reader.skipType(tag & 7);
break;
@@ -989,6 +1002,9 @@ $root.vereign = (function () {
if (message.senderPublicKeyUuid != null && message.hasOwnProperty("senderPublicKeyUuid"))
if (!$util.isString(message.senderPublicKeyUuid))
return "senderPublicKeyUuid: string expected";
if (message.walletPublicKey != null && message.hasOwnProperty("walletPublicKey"))
if (!$util.isString(message.walletPublicKey))
return "walletPublicKey: string expected";
return null;
};
/**
@@ -1031,6 +1047,8 @@ $root.vereign = (function () {
}
if (object.senderPublicKeyUuid != null)
message.senderPublicKeyUuid = String(object.senderPublicKeyUuid);
if (object.walletPublicKey != null)
message.walletPublicKey = String(object.walletPublicKey);
return message;
};
/**
@@ -1055,6 +1073,7 @@ $root.vereign = (function () {
object.date = "";
object.recipients = null;
object.senderPublicKeyUuid = "";
object.walletPublicKey = "";
}
if (message.statusId != null && message.hasOwnProperty("statusId"))
object.statusId = message.statusId;
@@ -1073,6 +1092,8 @@ $root.vereign = (function () {
}
if (message.senderPublicKeyUuid != null && message.hasOwnProperty("senderPublicKeyUuid"))
object.senderPublicKeyUuid = message.senderPublicKeyUuid;
if (message.walletPublicKey != null && message.hasOwnProperty("walletPublicKey"))
object.walletPublicKey = message.walletPublicKey;
return object;
};
/**
Loading