Skip to content

Commit

Permalink
fixup! feat(orchestration): ChainAccountKit returns unwrapped vows
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev committed Jun 6, 2024
1 parent 438446a commit 0fc3ca1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/orchestration/src/exos/chainAccountKit.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const prepareChainAccountKit = (zone, { watch, when }) =>
{
account: ChainAccountI,
connectionHandler: ConnectionHandlerI,
handleExecuteEncodedTxWatcher: M.interface('HandleQueryWatcher', {
parseTxPacketWatcher: M.interface('ParseTxPacketWatcher', {
onFulfilled: M.call(M.string())
.optional(M.arrayOf(M.undefined())) // does not need watcherContext
.returns(M.string()),
Expand All @@ -84,7 +84,7 @@ export const prepareChainAccountKit = (zone, { watch, when }) =>
localAddress: undefined,
}),
{
handleExecuteEncodedTxWatcher: {
parseTxPacketWatcher: {
/** @param {string} ack */
onFulfilled(ack) {
return parseTxPacket(ack);
Expand Down Expand Up @@ -142,7 +142,7 @@ export const prepareChainAccountKit = (zone, { watch, when }) =>
return when(
watch(
E(connection).send(makeTxPacket(msgs, opts)),
this.facets.handleExecuteEncodedTxWatcher,
this.facets.parseTxPacketWatcher,
),
);
},
Expand Down

0 comments on commit 0fc3ca1

Please sign in to comment.