Socket
Socket
Sign inDemoInstall

@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.0.2-snapshot.1564048931.12 to 0.0.2-snapshot.1564059044.3

8

es/discovery/Discovery.d.ts
import { Observable } from 'rxjs';
import { Item, ServiceDiscoveryEvent } from '.';
import { Address } from '../common';
import { Cluster, ClusterOptions } from '../cluster';
/**

@@ -31,2 +32,9 @@ * @interface CreateDiscovery

/**
* @method
* Pluggable cluster,
* a module that implements Cluster API
* cluster responsible to bootstrap the distributed env.
*/
cluster?: (opt: ClusterOptions) => Cluster;
/**
* @property

@@ -33,0 +41,0 @@ * enable discovery console.logs

10

es/microservice/Microservice.d.ts
import { Address } from '../index';
import { Discovery, DiscoveryOptions } from '../discovery';
import { Cluster, ClusterOptions } from '../cluster';
import { CreateProxies, CreateProxy, CreateServiceCall, Service } from '.';

@@ -69,7 +69,7 @@ /**

* @method
* Pluggable discovery,
* a module that implements discovery API
* discovery responsible to exchange data in the distributed env.
* Pluggable cluster,
* a module that implements Cluster API
* cluster responsible to bootstrap the distributed env.
*/
discovery?: (opt: DiscoveryOptions) => Discovery;
cluster?: (opt: ClusterOptions) => Cluster;
/**

@@ -76,0 +76,0 @@ * @property

import { Observable } from 'rxjs';
import { Item, ServiceDiscoveryEvent } from '.';
import { Address } from '../common';
import { Cluster, ClusterOptions } from '../cluster';
/**

@@ -31,2 +32,9 @@ * @interface CreateDiscovery

/**
* @method
* Pluggable cluster,
* a module that implements Cluster API
* cluster responsible to bootstrap the distributed env.
*/
cluster?: (opt: ClusterOptions) => Cluster;
/**
* @property

@@ -33,0 +41,0 @@ * enable discovery console.logs

import { Address } from '../index';
import { Discovery, DiscoveryOptions } from '../discovery';
import { Cluster, ClusterOptions } from '../cluster';
import { CreateProxies, CreateProxy, CreateServiceCall, Service } from '.';

@@ -69,7 +69,7 @@ /**

* @method
* Pluggable discovery,
* a module that implements discovery API
* discovery responsible to exchange data in the distributed env.
* Pluggable cluster,
* a module that implements Cluster API
* cluster responsible to bootstrap the distributed env.
*/
discovery?: (opt: DiscoveryOptions) => Discovery;
cluster?: (opt: ClusterOptions) => Cluster;
/**

@@ -76,0 +76,0 @@ * @property

{
"name": "@scalecube/api",
"version": "0.0.2-snapshot.1564048931.12+1032066",
"version": "0.0.2-snapshot.1564059044.3+81b5e50",
"private": false,

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

},
"gitHead": "103206641703eaf29aa4ed81c3c2177b07178f49"
"gitHead": "81b5e50611f943969e2178d9b10cd8bc9c35521c"
}
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