From 810368198e271bf4918b4f446c5981703c628c53 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Tue, 25 Jul 2023 18:39:33 +0200 Subject: [PATCH] chore: use new data segment lib piece view type --- packages/aggregate-client/src/aggregate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aggregate-client/src/aggregate.js b/packages/aggregate-client/src/aggregate.js index d5e1d5cc0..3164a9e26 100644 --- a/packages/aggregate-client/src/aggregate.js +++ b/packages/aggregate-client/src/aggregate.js @@ -10,8 +10,8 @@ export const MAX_SIZE = 127 * (1 << 28) * Offer an aggregate to be assembled and stored. * * @param {import('./types').InvocationConfig} conf - Configuration - * @param {import('./types').Piece} piece - * @param {import('./types').Piece[]} offer + * @param {import('@web3-storage/data-segment').PieceView} piece + * @param {import('@web3-storage/data-segment').PieceView[]} offer * @param {import('./types').RequestOptions} [options] */ export async function aggregateOffer(