Skip to content

Commit

Permalink
fix(base-zone,zone): import isPassable from @endo/pass-style
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Apr 28, 2024
1 parent b8140f3 commit b4c97b6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 38 deletions.
3 changes: 1 addition & 2 deletions packages/base-zone/src/heap.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check
// @jessie-check

import { Far } from '@endo/far';
import { Far, isPassable } from '@endo/pass-style';
import { makeExo, defineExoClass, defineExoClassKit } from '@endo/exo';
import {
makeScalarMapStore,
Expand All @@ -12,7 +12,6 @@ import {

import { makeOnceKit } from './make-once.js';
import { agoricVatDataKeys as keys } from './keys.js';
import { isPassable } from './is-passable.js';

/**
* @type {import('./types.js').Stores}
Expand Down
1 change: 0 additions & 1 deletion packages/base-zone/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ export * from './exports.js';
// Utilities for creating zones.
export * from './make-once.js';
export * from './keys.js';
export * from './is-passable.js';
23 changes: 0 additions & 23 deletions packages/base-zone/src/is-passable.js

This file was deleted.

8 changes: 2 additions & 6 deletions packages/zone/src/durable.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check
// @jessie-check

import { Far } from '@endo/far';
import { Far, isPassable } from '@endo/pass-style';
import {
canBeDurable,
makeScalarMapStore,
Expand All @@ -14,11 +14,7 @@ import {
provideDurableWeakSetStore,
} from '@agoric/vat-data';

import {
agoricVatDataKeys as keys,
isPassable,
makeOnceKit,
} from '@agoric/base-zone';
import { agoricVatDataKeys as keys, makeOnceKit } from '@agoric/base-zone';

const { Fail } = assert;

Expand Down
8 changes: 2 additions & 6 deletions packages/zone/src/virtual.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check
// @jessie-check

import { Far } from '@endo/far';
import { Far, isPassable } from '@endo/pass-style';
import {
defineVirtualExoClass,
defineVirtualExoClassKit,
Expand All @@ -11,11 +11,7 @@ import {
makeScalarBigWeakSetStore,
} from '@agoric/vat-data';

import {
agoricVatDataKeys as keys,
isPassable,
makeOnceKit,
} from '@agoric/base-zone';
import { agoricVatDataKeys as keys, makeOnceKit } from '@agoric/base-zone';

const emptyRecord = harden({});
const initEmpty = harden(() => emptyRecord);
Expand Down

0 comments on commit b4c97b6

Please sign in to comment.