@@ -277,8 +277,7 @@ export class PackageVersionBuilder implements IPackageVersionBuilder {
277277 version ?: string ,
278278 packageId ?: string ,
279279 operationIds ?: OperationId [ ] ,
280- includeData : boolean = true ,
281- operationsCount ?: number ,
280+ includeData = true ,
282281 ) : Promise < ResolvedOperations | null > {
283282 if ( ! version ) {
284283 return null
@@ -305,7 +304,6 @@ export class PackageVersionBuilder implements IPackageVersionBuilder {
305304 packageId ,
306305 operationIds ,
307306 includeData ,
308- operationsCount ,
309307 )
310308
311309 // validate for missing operationData
@@ -403,10 +401,8 @@ export class PackageVersionBuilder implements IPackageVersionBuilder {
403401 async versionResolver (
404402 version : string ,
405403 packageId : string ,
406- includeOperations ?: boolean ,
407- includeSummary ?: boolean ,
408404 ) : Promise < VersionCache | null > {
409- const compositeKey = getCompositeKey ( packageId , version , String ( includeOperations ) , String ( includeSummary ) )
405+ const compositeKey = getCompositeKey ( packageId , version )
410406
411407 if ( this . canBeResolvedLocally ( version , packageId ) ) {
412408 return this . currentVersion
@@ -422,7 +418,7 @@ export class PackageVersionBuilder implements IPackageVersionBuilder {
422418 throw new Error ( 'No versionResolver provided' )
423419 }
424420
425- const versionContent = await versionResolver ( packageId , version , includeOperations , includeSummary )
421+ const versionContent = await versionResolver ( packageId , version )
426422
427423 if ( ! versionContent ) {
428424 this . notifications . push ( {
0 commit comments