From 20e177940bd09f70759a2e2517b9e2b022314413 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Fri, 12 Jul 2024 07:20:24 -0700 Subject: [PATCH] fix(types): agoricContract shape check --- packages/smart-wallet/src/invitations.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/smart-wallet/src/invitations.js b/packages/smart-wallet/src/invitations.js index 75243d55b1f..ae4ee732901 100644 --- a/packages/smart-wallet/src/invitations.js +++ b/packages/smart-wallet/src/invitations.js @@ -1,8 +1,8 @@ -import { Fail } from '@endo/errors'; -import { E } from '@endo/far'; import { AmountMath } from '@agoric/ertp'; import { mustMatch } from '@agoric/store'; -import { InvitationHandleShape } from '@agoric/zoe/src/typeGuards.js'; +import { InvitationShape } from '@agoric/zoe/src/typeGuards.js'; +import { Fail } from '@endo/errors'; +import { E } from '@endo/far'; import { shape } from './typeGuards.js'; // A safety limit @@ -92,7 +92,7 @@ export const makeInvitationsHelper = ( } const invitation = await eref; - mustMatch(invitation, InvitationHandleShape); + mustMatch(invitation, InvitationShape); return invitation; }, /** @type {(spec: ContractInvitationSpec) => Promise} */