From 5bb43047b86176f60e78cc4a82765ac9b397b76e Mon Sep 17 00:00:00 2001 From: Saul Carlin Date: Mon, 22 Aug 2022 08:14:10 -0700 Subject: [PATCH] fix: Correct quick start in README (#151) Updates outdated reference in quick start code --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0f1ef468a..43a033c74 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ const messages = await conversation.messages() await conversation.send('gm') // Listen for new messages in the conversation for await (const message of await conversation.streamMessages()) { - console.log(`[${message.senderAddress}]: ${message.text}`) + console.log(`[${message.senderAddress}]: ${message.content}`) } ``` @@ -214,7 +214,7 @@ for await (const message of await conversation.streamMessages()) { // This message was sent from me continue } - console.log(`New message from ${message.senderAddress}: ${message.text}`) + console.log(`New message from ${message.senderAddress}: ${message.content}`) } ```