From 8e4d096b5ad12679ec57155b8a1e194f5781b36b Mon Sep 17 00:00:00 2001 From: janniks Date: Mon, 24 Jul 2023 20:16:01 +0200 Subject: [PATCH] docs: update readme --- packages/connect/README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/connect/README.md b/packages/connect/README.md index 358551b2..aac49b50 100644 --- a/packages/connect/README.md +++ b/packages/connect/README.md @@ -85,9 +85,6 @@ openSTXTransfer({ amount: 10000, // tokens, denominated in micro-STX memo: 'Nr. 1337', // optional; a memo to help identify the tx - postConditionMode: PostConditionMode.Deny, // whether the tx should fail when unexpected assets are transferred - postConditions: [], // for an example using post-conditions, see next example - onFinish: response => { // WHEN user confirms pop-up console.log(response.txid); // the response includes the txid of the transaction @@ -123,8 +120,8 @@ openContractCall({ functionName: 'vote', functionArgs: [pick], - postConditionMode: PostConditionMode.Deny, - postConditions: [], + postConditionMode: PostConditionMode.Deny, // whether the tx should fail when unexpected assets are transferred + postConditions: [], // for an example using post-conditions, see next example onFinish: response => { // WHEN user confirms pop-up