diff --git a/src/types.ts b/src/types.ts index 74d89179291d2d3fc8863c7f6131ed5d8a843c39..550c3a448c0cada0afeaf5a84cbf00d6fd93eb3e 100644 --- a/src/types.ts +++ b/src/types.ts @@ -21,10 +21,10 @@ export interface IpfsContentData { } export interface IpfsDocumentContentData { - ipnsKeyId?: string; - cid?: string; - key: string; head: string; + key: string; + cid?: string; + ipnsKeyId?: string; } export interface IpfsAttachmentData { diff --git a/vereign/protobuf/qrcode_data.proto b/vereign/protobuf/qrcode_data.proto index 5b46180b9eb0c6532c5f217f2534acc86a297e3a..d9812a786ac1a2865644ae8e76cb980814df3986 100644 --- a/vereign/protobuf/qrcode_data.proto +++ b/vereign/protobuf/qrcode_data.proto @@ -23,10 +23,10 @@ message Recipients_V1 { } message IpfsContentData_V1 { - string cid = 1; - string key = 2; - string head = 3; - string ipnsKeyId = 4; + string head = 1; + string key = 2; + string cid = 3; + string ipnsKeyId = 4; } message IpfsAttachmentData_V1 {