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); }); ​ ```