🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@testring/http-api

Package Overview
Dependencies
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testring/http-api - npm Package Compare versions

Comparing version
0.2.7
to
0.2.8
+3
-0
dist/abstract-http-client.js

@@ -29,2 +29,5 @@ "use strict";

}
send(options) {
return this.sendRequest(Object.assign({}, options));
}
isValidData(data) {

@@ -31,0 +34,0 @@ return (data !== null && data !== undefined);

+6
-6
{
"name": "@testring/http-api",
"version": "0.2.7",
"version": "0.2.8",
"main": "./dist/index.js",

@@ -13,7 +13,7 @@ "types": "./src/index.ts",

"dependencies": {
"@testring/logger": "^0.2.7",
"@testring/pluggable-module": "^0.2.7",
"@testring/test-utils": "^0.2.7",
"@testring/transport": "^0.2.7",
"@testring/types": "^0.2.7",
"@testring/logger": "^0.2.8",
"@testring/pluggable-module": "^0.2.8",
"@testring/test-utils": "^0.2.8",
"@testring/transport": "^0.2.8",
"@testring/types": "^0.2.8",
"@types/nanoid": "^1.0.0",

@@ -20,0 +20,0 @@ "@types/request-promise": "^4.1.42",

@@ -37,2 +37,6 @@ import { OptionsWithUrl } from 'request-promise';

public send(options: OptionsWithUrl): Promise<any> {
return this.sendRequest({ ...options });
}
private isValidData(data: any): boolean {

@@ -39,0 +43,0 @@ return (data !== null && data !== undefined);