Skip to content

Commit

Permalink
fix(solo): clean up unnecessary deep captp import
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Jun 22, 2021
1 parent bf125a6 commit c0c8e95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions packages/captp/src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Nat } from '@agoric/nat';
export { Nat } from '@agoric/nat';

export * from '@agoric/marshal';

export * from './captp.js';
export { Nat };
5 changes: 1 addition & 4 deletions packages/solo/src/captp.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
// Avoid importing the full captp bundle, which would carry
// in its own makeHardener, etc.
import { makeCapTP } from '@agoric/captp/lib/captp';
import { E } from '@agoric/eventual-send';
import { E, makeCapTP } from '@agoric/captp';

export const getCapTPHandler = (
send,
Expand Down

0 comments on commit c0c8e95

Please sign in to comment.