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.1565182903.6 to 0.0.2-snapshot.1565528584.2

2

es/microservice/index.d.ts

@@ -8,3 +8,3 @@ export { AsyncModel, RequestResponseAsyncModel, RequestStreamAsyncModel } from './AsyncModel';

export { ServiceDefinition } from './ServiceDefinition';
export { ServiceReference } from './ServiceReference';
export { ServiceReference, ServiceFactoryOptions, ServiceFactory, ServiceObject } from './ServiceReference';
export { Qualifier } from './Qualifier';

@@ -11,0 +11,0 @@ export { Endpoint } from './Endpoint';

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

*/
destroy: () => Promise<string>;
destroy: () => Promise<any>;
/**

@@ -21,0 +21,0 @@ * @method createProxies

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

import { CreateProxy } from './CreateProxy';
import { CreateServiceCall } from './CreateServiceCall';
/**

@@ -5,5 +7,11 @@ * @interface ServiceReference

*/
export interface ServiceReference {
export declare type ServiceReference = ServiceFactory | ServiceObject;
export declare type ServiceFactory = ({ createProxy, createServiceCall }: ServiceFactoryOptions) => ServiceObject;
export interface ServiceObject {
constructor?: any;
[methodName: string]: any;
}
export interface ServiceFactoryOptions {
createProxy: CreateProxy;
createServiceCall: CreateServiceCall;
}

@@ -8,3 +8,3 @@ export { AsyncModel, RequestResponseAsyncModel, RequestStreamAsyncModel } from './AsyncModel';

export { ServiceDefinition } from './ServiceDefinition';
export { ServiceReference } from './ServiceReference';
export { ServiceReference, ServiceFactoryOptions, ServiceFactory, ServiceObject } from './ServiceReference';
export { Qualifier } from './Qualifier';

@@ -11,0 +11,0 @@ export { Endpoint } from './Endpoint';

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

*/
destroy: () => Promise<string>;
destroy: () => Promise<any>;
/**

@@ -21,0 +21,0 @@ * @method createProxies

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

import { CreateProxy } from './CreateProxy';
import { CreateServiceCall } from './CreateServiceCall';
/**

@@ -5,5 +7,11 @@ * @interface ServiceReference

*/
export interface ServiceReference {
export declare type ServiceReference = ServiceFactory | ServiceObject;
export declare type ServiceFactory = ({ createProxy, createServiceCall }: ServiceFactoryOptions) => ServiceObject;
export interface ServiceObject {
constructor?: any;
[methodName: string]: any;
}
export interface ServiceFactoryOptions {
createProxy: CreateProxy;
createServiceCall: CreateServiceCall;
}
{
"name": "@scalecube/api",
"version": "0.0.2-snapshot.1565182903.6+f2519be",
"version": "0.0.2-snapshot.1565528584.2+01f7c6f",
"private": false,

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

},
"gitHead": "f2519bef1345a6600fe69fc5cf0d2c2fc77cadc1"
"gitHead": "01f7c6fde36ff738b07fb63345feed37706cf74d"
}
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