Skip to content

Commit

Permalink
feat(captp)!: don't export HandledPromise; it should be shimmed
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Aug 14, 2020
1 parent 5d0adea commit a3afe9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/captp/lib/captp.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/* global harden */
/* global harden HandledPromise */
// Your app may need to `import '@agoric/eventual-send/shim'` to get HandledPromise

// 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/shim';
import { E } from '@agoric/eventual-send';
import { isPromise } from '@agoric/promise-kit';

export { E, HandledPromise };
export { E };

export function makeCapTP(ourId, rawSend, bootstrapObj = undefined, opts = {}) {
const {
Expand Down

0 comments on commit a3afe9b

Please sign in to comment.