From 6463721cf9660f725bbe29597c2c2173e7b24a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renaud?= Date: Thu, 2 May 2024 15:22:13 +0200 Subject: [PATCH] replace `callsOnly` by`onlyCalls` in README --- packages/protocol-kit/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/protocol-kit/README.md b/packages/protocol-kit/README.md index 7371c8ebe..355f1616c 100644 --- a/packages/protocol-kit/README.md +++ b/packages/protocol-kit/README.md @@ -567,14 +567,14 @@ const options: SafeTransactionOptionalProps = { const safeTransaction = await safeSdk.createTransaction({ transactions, options }) ``` -In addition, the optional `callsOnly` parameter, which is `false` by default, allows to force the use of the `MultiSendCallOnly` instead of the `MultiSend` contract when sending a batch transaction: +In addition, the optional `onlyCalls` parameter, which is `false` by default, allows to force the use of the `MultiSendCallOnly` instead of the `MultiSend` contract when sending a batch transaction: ```js -const callsOnly = true +const onlyCalls = true const safeTransaction = await safeSdk.createTransaction({ transactions, options, - callsOnly + onlyCalls }) ```