@studyportals/sp-lurch-interface
Advanced tools
Comparing version 2.5.0 to 2.6.0
{ | ||
"name": "@studyportals/sp-lurch-interface", | ||
"version": "2.5.0", | ||
"version": "2.6.0", | ||
"description": "Contains Data Transfer Objects required or provided by Lurch through its interface.", | ||
@@ -13,3 +13,6 @@ "scripts": { | ||
"lint-fix": "tslint --fix 'src/**/*.ts'", | ||
"coverage": "nyc report --reporter=lcov" | ||
"coverage": "nyc report --reporter=lcov", | ||
"deploy-patch": "npm test && npm run prepare-deployment && npm version patch && npm run deploy", | ||
"deploy-minor": "npm test && npm run prepare-deployment && npm version minor && npm run deploy", | ||
"deploy-major": "npm test && npm run prepare-deployment && npm version major && npm run deploy" | ||
}, | ||
@@ -23,3 +26,3 @@ "author": "SPAF", | ||
"mocha-typescript": "1.1.10", | ||
"nyc": "11.4.1", | ||
"nyc": "15.0.0", | ||
"ts-node": "^6.0.3", | ||
@@ -26,0 +29,0 @@ "tslint": "^5.9.1", |
@@ -11,2 +11,3 @@ import { IRequestSender, ISuperAgentRequestFactory } from "@studyportals/mb-platform-http-requests"; | ||
approveInputBatch(inputBatchIdentity: string): Promise<void>; | ||
discardInputBatch(inputBatchIdentity: string): Promise<void>; | ||
private createGetRequest; | ||
@@ -13,0 +14,0 @@ private createPostRequest; |
@@ -34,2 +34,9 @@ "use strict"; | ||
} | ||
discardInputBatch(inputBatchIdentity) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const request = this.createPostRequest('/input-batch/discard'); | ||
request.send({ inputBatchIdentity }); | ||
yield this.requestSender.send(request); | ||
}); | ||
} | ||
createGetRequest(relative = '') { | ||
@@ -36,0 +43,0 @@ return this.superAgentRequestFactory.get(this.buildUrl(relative)); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93739
82
1276
1