From 113fc4993a264ced0355dfe34edc2832f5c263c1 Mon Sep 17 00:00:00 2001 From: "Mark S. Miller" Date: Mon, 28 Aug 2023 21:43:26 -0700 Subject: [PATCH] fix: move EmptyProposalShape back here --- packages/zoe/src/typeGuards.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/zoe/src/typeGuards.js b/packages/zoe/src/typeGuards.js index a5264eb2e190..32d8ff209fe7 100644 --- a/packages/zoe/src/typeGuards.js +++ b/packages/zoe/src/typeGuards.js @@ -90,6 +90,12 @@ export const FullProposalShape = harden({ /** @see {Proposal} type */ export const ProposalShape = M.splitRecord({}, FullProposalShape, {}); +export const EmptyProposalShape = M.splitRecord({ + give: {}, + want: {}, + exit: { onDemand: null }, +}); + export const isOnDemandExitRule = exit => { const [exitKey] = Object.keys(exit); return exitKey === 'onDemand';