🚀 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.3.6
to
0.4.0
+2
-1
dist/http-server.js

@@ -64,3 +64,4 @@ "use strict";

if (source) {
this.transportInstance.send(source, messageType, payload);
this.transportInstance.send(source, messageType, payload)
.catch((error) => logger_1.loggerClientLocal.error(error));
}

@@ -67,0 +68,0 @@ else {

{
"name": "@testring/http-api",
"version": "0.3.6",
"version": "0.4.0",
"main": "./dist/index.js",

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

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

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

@@ -82,3 +82,4 @@ import { IHttpRequest, IHttpResponse } from '@testring/types';

if (source) {
this.transportInstance.send<T>(source, messageType, payload);
this.transportInstance.send<T>(source, messageType, payload)
.catch((error) => loggerClientLocal.error(error));
} else {

@@ -85,0 +86,0 @@ this.transportInstance.broadcastLocal<T>(messageType, payload);