From ec760527fcc5bc80f2545bb90ada042a80b91e2e Mon Sep 17 00:00:00 2001 From: Mudassir Shabbir Date: Tue, 14 Jan 2025 10:59:54 +0500 Subject: [PATCH] chore: add offer results as data --- .../web-components/src/wallet-connection/walletConnection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-components/src/wallet-connection/walletConnection.ts b/packages/web-components/src/wallet-connection/walletConnection.ts index 42bdd80..6c7c4be 100644 --- a/packages/web-components/src/wallet-connection/walletConnection.ts +++ b/packages/web-components/src/wallet-connection/walletConnection.ts @@ -79,7 +79,7 @@ export const makeAgoricWalletConnection = async ( // https://github.com/Agoric/agoric-sdk/blob/1b5e57f17a043a43171621bbe3ef68131954f714/packages/zoe/src/zoeService/types.js#L213 if (update.status.numWantsSatisfied > 0) { isFinished = true; - onStatusChange({ status: 'accepted' }); + onStatusChange({ status: 'accepted', data: update.status.result }); return; } }