From 6f14a3e72d888ce294e4793da5f9640525525af9 Mon Sep 17 00:00:00 2001 From: Chris Hibbert Date: Mon, 21 Oct 2024 14:41:49 -0700 Subject: [PATCH] feat: allow getBundleIDFromInstallation to be called with a promise --- packages/zoe/src/typeGuards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zoe/src/typeGuards.js b/packages/zoe/src/typeGuards.js index d1324aee24f..3690c681102 100644 --- a/packages/zoe/src/typeGuards.js +++ b/packages/zoe/src/typeGuards.js @@ -352,7 +352,7 @@ export const ZoeServiceI = M.interface('ZoeService', { getInstallationForInstance: M.callWhen(M.await(InstanceHandleShape)).returns( M.eref(M.remotable('Installation')), ), - getBundleIDFromInstallation: M.call(InstallationShape).returns( + getBundleIDFromInstallation: M.callWhen(M.await(InstallationShape)).returns( M.eref(M.string()), ),