Socket
Socket
Sign inDemoInstall

@orion-js/echoes

Package Overview
Dependencies
Maintainers
3
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orion-js/echoes - npm Package Compare versions

Comparing version 3.2.3 to 3.2.4

lib/service/index.d.ts

4

lib/echo/index.d.ts

@@ -1,4 +0,4 @@

import { Echo, EchoConfig } from '../types';
import { EchoType, EchoConfig } from '../types';
declare const echo: {
(options: EchoConfig): Echo;
(options: EchoConfig): EchoType;
types: {

@@ -5,0 +5,0 @@ event: string;

@@ -6,2 +6,3 @@ import startService from './startService';

export * from './types';
export * from './service';
export { publish, startService, echo, request };

@@ -26,1 +26,2 @@ "use strict";

__exportStar(require("./types"), exports);
__exportStar(require("./service"), exports);

@@ -1,1 +0,1 @@

export default function (method: string): import("..").Echo;
export default function (method: string): import("..").EchoType;
import { EchoesOptions } from '../types';
declare const _default: (options: EchoesOptions) => import("@orion-js/http").Route;
declare const _default: (options: EchoesOptions) => import("@orion-js/http").RouteType;
export default _default;

@@ -6,3 +6,3 @@ import { ConsumerConfig, KafkaConfig, ProducerConfig, Consumer, Producer, EachMessagePayload } from 'kafkajs';

}
export interface Echo extends EchoConfig {
export interface EchoType extends EchoConfig {
onMessage(messageData: EachMessagePayload): Promise<void>;

@@ -58,2 +58,5 @@ onRequest(serializedParams: string): any;

}
export interface EchoesMap {
[key: string]: EchoType;
}
export interface EchoesOptions {

@@ -64,5 +67,3 @@ client?: KafkaConfig;

requests?: RequestsConfig;
echoes: {
[key: string]: Echo;
};
echoes: EchoesMap;
}

@@ -73,5 +74,3 @@ export interface EchoesConfigHandler {

requests?: RequestsConfig;
echoes?: {
[key: string]: Echo;
};
echoes?: EchoesMap;
}
{
"name": "@orion-js/echoes",
"version": "3.2.3",
"version": "3.2.4",
"main": "lib/index.js",

@@ -21,6 +21,8 @@ "types": "lib/index.d.ts",

"@orion-js/helpers": "^3.2.0",
"@orion-js/http": "^3.2.3",
"@orion-js/http": "^3.2.4",
"@orion-js/services": "^3.2.0",
"axios": "^0.24.0",
"jssha": "^3.2.0",
"kafkajs": "^1.15.0",
"lodash": "^4.17.21",
"serialize-javascript": "^6.0.0"

@@ -33,2 +35,3 @@ },

"jest": "27.3.1",
"reflect-metadata": "^0.1.13",
"supertest": "^6.1.6",

@@ -41,3 +44,3 @@ "ts-jest": "27.0.7",

},
"gitHead": "169123c560388991a3e2d3d7c96682dcb3713523"
"gitHead": "a1c4cff581b31f24896ec96a0a180d043dbf802a"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc