From 0204cd87103af107dbfcad4a7ea5359c4f2a1801 Mon Sep 17 00:00:00 2001
From: Ahmed Shehata <ahmed@elixxir.io>
Date: Fri, 8 Jul 2022 06:56:09 +0000
Subject: [PATCH] Update README.md

---
 README.md | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index a5079b53..aa13e554 100644
--- a/README.md
+++ b/README.md
@@ -90,6 +90,12 @@ Use the client to make a new identity:
 let client: Client = ...
 let myIdentity = try client.makeIdentity()
 ```
+### ▶️ Create new E2E client
+
+```swift
+let client: Client = ...
+let clientE2E = try ClientE2ELogin.live(with: client)
+```
 
 ### ▶️ Connecting to remote
 
@@ -97,10 +103,11 @@ Perform auth key negotiation with the given recipient to get the `Connection`:
 
 ```swift
 let client: Client = ...
+let clientE2E: ClientE2E = ...
 let connection = try client.connect(
   withAuthentication: false,
   recipientContact: ..., 
-  myIdentity: ...
+  e2eId: clientE2E.getId()
 )
 ```
 
-- 
GitLab