Skip to content
Snippets Groups Projects
Commit 96ff3a3c authored by Zdravko Iliev's avatar Zdravko Iliev
Browse files

[#24](feat): add dist

parent 30d76fda
No related branches found
No related tags found
1 merge request!81Draft: Resolve "[Wallet][Tips] Add a field in the seal for wallet public key"
Pipeline #45712 passed
......@@ -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;
};
/**
......
......@@ -21,6 +21,7 @@ export interface MessageData {
};
attachments: Array<Attachment>;
senderPublicKeyUuid: string;
walletPublicKey?: string;
}
export interface StatusData {
status?: StatusObject;
......
......@@ -24,6 +24,7 @@ export interface MessageData {
};
attachments: Array<Attachment>;
senderPublicKeyUuid: string;
walletPublicKey?: string;
}
export interface StatusData {
......
......@@ -29,7 +29,8 @@ message EmailData_V1 {
string date = 4;
Recipients_V1 recipients = 5;
repeated Attachment_V1 attachments = 6;
string senderPublicKeyUuid = 7;
string senderPublicKeyUuid = 7;
string walletPublicKey = 8;
}
message KeyData_V1 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment