From 6b3032cae20976319fb93bd7eb7165036b44b55b Mon Sep 17 00:00:00 2001 From: Nick Taras Date: Wed, 18 Oct 2023 12:37:36 +1100 Subject: [PATCH] updated readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e4a51bfc..edec7f96 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ const negotiator = new Client({ ​​ negotiator.negotiate(); ​ ​ -negotiator.on("tokens-selected", (tokens) => { - console.log('owner tokens found: ', tokens); +negotiator.on("tokens-selected", ({ selectedTokens, selectedIssuerKeys }) => { + console.log('user selected tokens: ', selectedTokens); }); ​ ```