@socketsecurity/sdk
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -110,2 +110,10 @@ "use strict"; | ||
/** | ||
* Get all your project reports. | ||
* | ||
* @summary Get list of reports | ||
*/ | ||
getReportList() { | ||
return this.core.fetch('/report/list', 'get'); | ||
} | ||
/** | ||
* Upload a lockfile to get your project analyzed by Socket. | ||
@@ -112,0 +120,0 @@ * You can upload multiple lockfiles in the same request, but each filename must be unique. |
{ | ||
"name": "@socketsecurity/sdk", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"license": "MIT", | ||
@@ -42,2 +42,3 @@ "description": "SDK for the Socket API client", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"nock": "^13.2.9", | ||
"npm-run-all2": "^6.0.2", | ||
@@ -50,10 +51,16 @@ "tap": "^16.3.0", | ||
"build:1-typescript": "tsc -p tsconfig.json", | ||
"build:2-minify-json": "node build/minify-openapi-json.js", | ||
"build:2-minify-json": "node build/minify-dist-json.js", | ||
"build": "run-s build:*", | ||
"ci-test-old": "run-s build test-old:*", | ||
"ci-test": "run-s build test:*", | ||
"clean": "rm -rf dist", | ||
"generate-sdk:0-prettify": "node build/prettify-base-json.js", | ||
"generate-sdk:1-generate": "node build/generate-sdk.js", | ||
"generate-sdk": "run-s generate-sdk:*", | ||
"lint": "eslint .", | ||
"clean": "rm -rf dist", | ||
"generate-sdk": "node build/generate-sdk.js", | ||
"prepublishOnly": "run-s build", | ||
"test": "run-s lint" | ||
"test-old:tap": "tap --no-check-coverage", | ||
"test:tap": "tap --no-check-coverage --node-arg=--no-experimental-fetch", | ||
"test": "run-s lint build test:*" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
3604845
18
27495