From c95282ec5b72260353441ec8dd2ad0eaba9cdfa8 Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Wed, 29 Jul 2020 15:07:19 -0600 Subject: [PATCH] fix: shuffle around exports --- packages/captp/lib/captp.js | 4 +++- packages/captp/lib/index.js | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/captp/lib/captp.js b/packages/captp/lib/captp.js index 95db6a5bb88..8ae262b572b 100644 --- a/packages/captp/lib/captp.js +++ b/packages/captp/lib/captp.js @@ -3,9 +3,11 @@ // This logic was mostly lifted from @agoric/swingset-vat liveSlots.js // Defects in it are mfig's fault. import { Remotable, makeMarshal, QCLASS } from '@agoric/marshal'; -import { HandledPromise } from '@agoric/eventual-send'; +import { E, HandledPromise } from '@agoric/eventual-send'; import { isPromise } from '@agoric/produce-promise'; +export { E, HandledPromise }; + export function makeCapTP(ourId, rawSend, bootstrapObj = undefined) { let unplug = false; function send(...args) { diff --git a/packages/captp/lib/index.js b/packages/captp/lib/index.js index 1712f5cb845..14ecb8e46aa 100644 --- a/packages/captp/lib/index.js +++ b/packages/captp/lib/index.js @@ -1,6 +1,5 @@ import Nat from '@agoric/nat'; -export * from '@agoric/eventual-send'; export * from '@agoric/marshal'; export * from './captp';