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 14, 2024
1 parent 6578834 commit fd57c61
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 37 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
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 fd57c61

Please sign in to comment.