From a80d9308855eb5f655da02a308d7848cb1ce6636 Mon Sep 17 00:00:00 2001 From: Richard Hua Date: Mon, 7 Oct 2024 11:14:29 -0700 Subject: [PATCH 1/3] feat: add identity update to client env --- proto/xmtpv4/message_api/message_api.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/xmtpv4/message_api/message_api.proto b/proto/xmtpv4/message_api/message_api.proto index 5b39c0b..fb7a75d 100644 --- a/proto/xmtpv4/message_api/message_api.proto +++ b/proto/xmtpv4/message_api/message_api.proto @@ -4,6 +4,7 @@ syntax = "proto3"; package xmtp.xmtpv4; import "google/api/annotations.proto"; +import "identity/api/v1/identity.proto"; import "identity/associations/signature.proto"; import "mls/api/v1/mls.proto"; @@ -29,6 +30,7 @@ message ClientEnvelope { xmtp.mls.api.v1.RegisterInstallationRequest register_installation = 3; xmtp.mls.api.v1.UploadKeyPackageRequest upload_key_package = 4; xmtp.mls.api.v1.RevokeInstallationRequest revoke_installation = 5; + xmtp.identity.associations.IdentityUpdate identity_update = 6; } AuthenticatedData aad = 6; } From ef019b628b09ce0db70259f97088e302e49fc4de Mon Sep 17 00:00:00 2001 From: Richard Hua Date: Mon, 7 Oct 2024 11:18:45 -0700 Subject: [PATCH 2/3] fix: conflicting field numbers --- proto/xmtpv4/message_api/message_api.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/xmtpv4/message_api/message_api.proto b/proto/xmtpv4/message_api/message_api.proto index fb7a75d..3a63c20 100644 --- a/proto/xmtpv4/message_api/message_api.proto +++ b/proto/xmtpv4/message_api/message_api.proto @@ -30,7 +30,7 @@ message ClientEnvelope { xmtp.mls.api.v1.RegisterInstallationRequest register_installation = 3; xmtp.mls.api.v1.UploadKeyPackageRequest upload_key_package = 4; xmtp.mls.api.v1.RevokeInstallationRequest revoke_installation = 5; - xmtp.identity.associations.IdentityUpdate identity_update = 6; + xmtp.identity.associations.IdentityUpdate identity_update = 7; } AuthenticatedData aad = 6; } From 75c2d0b15ddde093b8072a9082317155a6e8bfb4 Mon Sep 17 00:00:00 2001 From: Richard Hua Date: Mon, 7 Oct 2024 11:22:04 -0700 Subject: [PATCH 3/3] fix: import path --- proto/xmtpv4/message_api/message_api.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/xmtpv4/message_api/message_api.proto b/proto/xmtpv4/message_api/message_api.proto index 3a63c20..ba6b69c 100644 --- a/proto/xmtpv4/message_api/message_api.proto +++ b/proto/xmtpv4/message_api/message_api.proto @@ -4,7 +4,7 @@ syntax = "proto3"; package xmtp.xmtpv4; import "google/api/annotations.proto"; -import "identity/api/v1/identity.proto"; +import "identity/associations/association.proto"; import "identity/associations/signature.proto"; import "mls/api/v1/mls.proto";