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

@scalecube/api

Package Overview
Dependencies
Maintainers
6
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.1561635962.6 to 0.0.2-snapshot.1561880813.7

7

lib/discovery/Discovery.d.ts

@@ -16,3 +16,4 @@ import { Observable } from 'rxjs';

* @property
* A unique address of the Discovery.
* A unique address.
* used for connection between discoveries.
*/

@@ -27,3 +28,3 @@ address: Address;

* @property
* The unique address of the Cluster
* the address we want to use in-order to connect to the distributed environment.
*/

@@ -61,5 +62,5 @@ seedAddress?: Address;

* - Notifies other discoveries that this discovery's items are not available anymore.
* - Resolves with the message, that specifies the address of the node and the address of the seed
* - Resolves with the message, that specifies the address of the discovery
*/
destroy(): Promise<string>;
}
import { Discovery, DiscoveryOptions, CreateDiscovery } from './Discovery';
import ServiceDiscoveryEvent from './ServiceDiscoveryEvent';
import Item from './Item';
import { Item } from './Item';
export { Discovery, DiscoveryOptions, Item, CreateDiscovery, ServiceDiscoveryEvent };

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

import { Address } from '@scalecube/api';
export default interface Item {
/**
* @property
* A unique address of the Discovery to which this Item belongs to.
*/
address: Address;
}
export declare type Item = any;
{
"name": "@scalecube/api",
"version": "0.0.2-snapshot.1561635962.6+1f0eeac",
"version": "0.0.2-snapshot.1561880813.7+01085ba",
"private": false,

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

},
"gitHead": "1f0eeac03a3298a22dd9fd303bae96d078f1e3b1"
"gitHead": "01085bad92121b4dea407000bc6404ffe8cd0d62"
}
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