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.1565879804.0 to 0.0.3-alpha.1572778096.10

lib/cluster/Cluster.js

0

lib/cluster/Cluster.d.ts

@@ -0,0 +0,0 @@ import { Address } from '..';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ export interface ConnectWorkerEvent {

@@ -0,0 +0,0 @@ import { ConnectWorkerEvent, ConnectWorkerEventType } from './ConnectWorkerEvent';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

import Address from './Address';
export { Address };

@@ -0,0 +0,0 @@ import { Observable } from 'rxjs';

@@ -0,0 +0,0 @@ import { Discovery, DiscoveryOptions, CreateDiscovery } from './Discovery';

export declare type Item = any;

@@ -0,0 +0,0 @@ import { Item } from '.';

@@ -0,0 +0,0 @@ import * as TransportApi from './transport';

37

lib/index.js

@@ -1,32 +0,5 @@

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var index = /*#__PURE__*/Object.freeze({
});
var index$1 = /*#__PURE__*/Object.freeze({
});
var index$2 = /*#__PURE__*/Object.freeze({
});
var index$3 = /*#__PURE__*/Object.freeze({
});
exports.ClusterApi = index$3;
exports.DiscoveryApi = index$1;
exports.MicroserviceApi = index$2;
exports.TransportApi = index;
import * as TransportApi from './transport';
import * as DiscoveryApi from './discovery';
import * as MicroserviceApi from './microservice';
import * as ClusterApi from './cluster';
export { TransportApi, DiscoveryApi, MicroserviceApi, ClusterApi };

@@ -0,0 +0,0 @@ import { Router, ServiceDefinition } from '.';

@@ -0,0 +0,0 @@ import { Router, ServiceDefinition } from '.';

@@ -0,0 +0,0 @@ import { Observable } from 'rxjs';

@@ -0,0 +0,0 @@ import { Address } from '..';

@@ -12,2 +12,2 @@ export { AsyncModel, RequestResponseAsyncModel, RequestStreamAsyncModel } from './AsyncModel';

export { LookupOptions, LookUp } from './LookUp';
export { Router } from './Router';
export { Router, RouterOptions } from './Router';

@@ -0,0 +0,0 @@ import { Endpoint } from '.';

@@ -0,0 +0,0 @@ /**

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

@@ -6,3 +6,3 @@ import { Endpoint, LookUp, Message } from '.';

*/
export declare type Router = (options: RouterOptions) => Endpoint | null;
export declare type Router = (options: RouterOptions) => Promise<Endpoint>;
/**

@@ -9,0 +9,0 @@ * @interface RouteOptions

@@ -0,0 +0,0 @@ import { ServiceDefinition, ServiceReference } from '.';

@@ -0,0 +0,0 @@ import { AsyncModel } from '.';

@@ -0,0 +0,0 @@ import { CreateProxy } from './CreateProxy';

@@ -0,0 +0,0 @@ import Transport from './Transport';

@@ -0,0 +0,0 @@ import { ProviderFactory } from '.';

@@ -0,0 +0,0 @@ import { Address } from '.';

@@ -0,0 +0,0 @@ import { Provider } from '.';

{
"name": "@scalecube/api",
"version": "0.0.2-snapshot.1565879804.0+c9ed5e0",
"version": "0.0.3-alpha.1572778096.10+3fbab2f",
"private": false,
"main": "lib/index.js",
"module": "es/index.js",
"module": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"es"
"lib"
],
"license": "MIT",
"scripts": {
"clean": "rimraf node_modules && rimraf .cache && rimraf lib && rimraf es",
"build": "rimraf lib && yarn build-rollup",
"build-rollup": "rollup -c",
"clean": "rimraf node_modules && rimraf .cache && rimraf lib",
"build": "rimraf lib && tsc",
"lint": "tslint '{src,tests}/**/*.{ts,tsx}' --fix",

@@ -25,5 +23,2 @@ "prettier": "prettier --write '{src,tests}/**/*.{ts,tsx}'",

"@types/node": "10.1.4",
"rollup": "^1.14.6",
"rollup-plugin-filesize": "^6.1.1",
"rollup-plugin-typescript2": "^0.21.1",
"tslint": "^5.11.0",

@@ -33,3 +28,3 @@ "typedoc": "^0.14.2",

},
"gitHead": "c9ed5e0a73f1068165eec2e4a4bf212e05b181b6"
"gitHead": "3fbab2fe07b9003353232ada3811e7c9ba09e1d7"
}
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