Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@scalecube/api

Package Overview
Dependencies
Maintainers
7
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scalecube/api - npm Package Compare versions

Comparing version 0.2.10-develop.1596044522 to 0.2.10-develop.1598736437

5

lib/cluster/index.d.ts

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

import { ConnectWorkerEvent, ConnectWorkerEventType } from './ConnectWorkerEvent';
import { ClusterEvent, MemberEventType } from './ClusterEvent';
import { Cluster, JoinCluster, ClusterOptions } from './Cluster';
import { MembersMap, MembersPort, MembersData } from './MemberMap';
export { ConnectWorkerEvent, ConnectWorkerEventType, ClusterEvent, Cluster, JoinCluster, ClusterOptions, MembersMap, MembersPort, MembersData, MemberEventType, };
import { MembersData } from './MemberMap';
export { ClusterEvent, Cluster, JoinCluster, ClusterOptions, MembersData, MemberEventType };
/**
* member connection state
*/
export interface MembersMap {
membersState: MembersData;
membersPort: MembersPort;
}
/**
* information of the other members.

@@ -15,8 +8,1 @@ * <member, metadata of the member>

}
/**
* information of the connected ports
* <member, MessagePort>
*/
export interface MembersPort {
[member: string]: MessagePort;
}

2

lib/transport/index.d.ts

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

export { ServerTransportOptions, ClientTransportOptions, RequestHandler, Transport, ServerStop, ClientTransport, ServerTransport, TDestroy, TLogger, TDestroyOptions, } from './Transport';
export { ServerTransportOptions, ClientTransportOptions, Invoker, Transport, ServerStop, ClientTransport, ServerTransport, TDestroy, TLogger, TDestroyOptions, } from './Transport';

@@ -23,5 +23,5 @@ import { Address } from '../index';

* @property start
* open connection to remote container and resolve with RequestHandler to call the remote container
* open connection to remote container and resolve with Invoker to call the remote container
*/
start: (options: ClientTransportOptions) => Promise<RequestHandler>;
start: (options: ClientTransportOptions) => Promise<Invoker>;
/**

@@ -59,3 +59,3 @@ * @method destroy

*/
serviceCall: RequestHandler;
serviceCall: Invoker;
/**

@@ -68,5 +68,5 @@ * @method logger

/**
* @interface RequestHandler
* @interface Invoker
*/
export interface RequestHandler {
export interface Invoker {
/**

@@ -73,0 +73,0 @@ * @method requestResponse

{
"name": "@scalecube/api",
"version": "0.2.10-develop.1596044522",
"version": "0.2.10-develop.1598736437",
"private": false,

@@ -29,3 +29,3 @@ "main": "lib/index.js",

},
"gitHead": "8860b329cb20743494baf1347f887a56f5d82fcb"
"gitHead": "1c39932be182652ef7c16487488b3c72bbcd3269"
}
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