From 6734439b447dd52ae411c5322e877eac283f47ac Mon Sep 17 00:00:00 2001 From: Mudassir Shabbir Date: Wed, 7 Aug 2024 15:21:11 +0500 Subject: [PATCH] fix: dependency issues --- contract/package.json | 1 - contract/src/offer-up.contract.js | 10 +++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/contract/package.json b/contract/package.json index a217dda..a05c1da 100644 --- a/contract/package.json +++ b/contract/package.json @@ -45,7 +45,6 @@ "typescript": "~5.2.2" }, "dependencies": { - "@agoric/vat-data": "^0.5.3-u14.0", "@agoric/zone": "^0.2.3-u14.0", "@agoric/ertp": "^0.16.3-u12.0", "@agoric/zoe": "^0.26.3-u12.0", diff --git a/contract/src/offer-up.contract.js b/contract/src/offer-up.contract.js index b87e03c..95bd7d7 100644 --- a/contract/src/offer-up.contract.js +++ b/contract/src/offer-up.contract.js @@ -23,14 +23,10 @@ import { M, getCopyBagEntries } from '@endo/patterns'; import { AssetKind } from '@agoric/ertp/src/amountMath.js'; import { AmountShape } from '@agoric/ertp/src/typeGuards.js'; import { atomicRearrange } from '@agoric/zoe/src/contractSupport/atomicTransfer.js'; -import '@agoric/zoe/exported.js'; -const { Fail, quote: q } = assert; -import { makeScalarBigMapStore } from '@agoric/vat-data'; import { makeDurableZone } from '@agoric/zone/durable.js'; +import '@agoric/zoe/exported.js'; -/** - * @import { Baggage } from '@agoric/swingset-liveslots'; - */ +const { Fail, quote: q } = assert; // #region bag utilities @@ -74,7 +70,7 @@ export const customTermsShape = meta.customTermsShape; * * @param {ZCF} zcf * @param {*} _privateArgs - * @param {Baggage} baggage + * @param {import('@agoric/ertp').Baggage} baggage */ export const start = async (zcf, _privateArgs, baggage) => { const { tradePrice, maxItems = 3n } = zcf.getTerms();