@soos-io/api-client
Advanced tools
Comparing version
import { ArgumentParser } from "argparse"; | ||
import { ScmType } from "../enums"; | ||
import { ArgumentParserBase, ICommonArguments } from "./ArgumentParserBase"; | ||
interface IContributorAuditArguments extends ICommonArguments { | ||
days: number; | ||
secret: string; | ||
saveResults: boolean; | ||
scmType: ScmType; | ||
organizationName: string; | ||
} | ||
declare class ContributorAuditArgumentParser extends ArgumentParserBase { | ||
@@ -9,2 +17,2 @@ constructor(argumentParser: ArgumentParser); | ||
export default ContributorAuditArgumentParser; | ||
export { ICommonArguments }; | ||
export { IContributorAuditArguments }; |
@@ -31,3 +31,5 @@ "use strict"; | ||
this.auditProvider.validateParams(implementationParams); | ||
return this.auditProvider.audit(implementationParams); | ||
const contributors = await this.auditProvider.audit(implementationParams); | ||
logging_1.soosLogger.verboseDebug(`Contributing Developers found: ${JSON.stringify(contributors, null, 2)}`); | ||
return contributors; | ||
} | ||
@@ -34,0 +36,0 @@ async uploadContributorAudits(clientHash, contributorAudit) { |
{ | ||
"name": "@soos-io/api-client", | ||
"version": "0.2.30", | ||
"version": "0.2.31", | ||
"description": "This is the SOOS API Client for registered clients leveraging the various integrations to the SOOS platform.", | ||
@@ -60,3 +60,3 @@ "main": "dist/index.js", | ||
"@types/node": "^20.11.5", | ||
"jest": "^29.7.0", | ||
"jest": "^29.1.2", | ||
"prettier": "^3.2.4", | ||
@@ -63,0 +63,0 @@ "ts-jest": "^29.1.1", |
107648
0.37%2332
0.43%