From c504f4c4e1b1bb2b9488b01b5ecc07f0a9505602 Mon Sep 17 00:00:00 2001 From: Dawid Sowa Date: Mon, 16 Dec 2024 15:28:50 +0100 Subject: [PATCH] docs: extend example for preauthorization with `onSubmittedSuccesss` --- packages/dapp-toolkit/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/dapp-toolkit/README.md b/packages/dapp-toolkit/README.md index 8e2e097..1c93c64 100644 --- a/packages/dapp-toolkit/README.md +++ b/packages/dapp-toolkit/README.md @@ -514,6 +514,7 @@ Creation of preauthorization request object is abstracted away into `SubintentRe ) // .addBlobs('blob1', 'blob2') .message('This is a message') + .onSubmittedSuccess((transactionIntentHash) => console.log('Submitted successfully', transactionIntentHash)) ) ```