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.11 to 0.0.2-alpha.12

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

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

},
"gitHead": "6829d9aa611c108ebd3bd7bc79df1679a9a39965"
"gitHead": "fd9a16bd0b91a9f33c45df2aefaab15cb1147c05"
}
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