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-alpha.8 to 0.0.2-alpha.9

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-alpha.8",
"version": "0.0.2-alpha.9",
"private": false,

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

},
"gitHead": "e2f5e84083dbfd8a5c15f465c191335dc539472b"
"gitHead": "059dbc5d4f785e0492ad49f6e6ac0f4f69509962"
}
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