@loopback/service-proxy 3.0.1 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/mixins/service.mixin.d.ts +7 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.5](https://github.com/strongloop/loopback-next/compare/@loopback/service-proxy@3.0.4...@loopback/service-proxy@3.0.5) (2020-12-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @loopback/service-proxy
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.0.4](https://github.com/strongloop/loopback-next/compare/@loopback/service-proxy@3.0.3...@loopback/service-proxy@3.0.4) (2020-11-18)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @loopback/service-proxy
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [3.0.3](https://github.com/strongloop/loopback-next/compare/@loopback/service-proxy@3.0.2...@loopback/service-proxy@3.0.3) (2020-11-05)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @loopback/service-proxy
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [3.0.2](https://github.com/strongloop/loopback-next/compare/@loopback/service-proxy@3.0.1...@loopback/service-proxy@3.0.2) (2020-10-07)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @loopback/service-proxy
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
## [3.0.1](https://github.com/strongloop/loopback-next/compare/@loopback/service-proxy@3.0.0...@loopback/service-proxy@3.0.1) (2020-09-17)
|
|
7
39
|
|
|
8
40
|
**Note:** Version bump only for package @loopback/service-proxy
|
|
@@ -92,6 +92,8 @@ export declare function ServiceMixin<T extends MixinTarget<Application>>(superCl
|
|
|
92
92
|
server: <T_2 extends loopbackContext.Server>(ctor: Constructor<T_2>, nameOrOptions?: string | BindingFromClassOptions | undefined) => Binding<T_2>;
|
|
93
93
|
servers: <T_3 extends loopbackContext.Server>(ctors: Constructor<T_3>[]) => Binding<any>[];
|
|
94
94
|
getServer: <T_4 extends loopbackContext.Server>(target: string | Constructor<T_4>) => Promise<T_4>;
|
|
95
|
+
init: () => Promise<void>;
|
|
96
|
+
onInit: (fn: () => loopbackContext.ValueOrPromise<void>) => Binding<loopbackContext.LifeCycleObserver>;
|
|
95
97
|
start: () => Promise<void>;
|
|
96
98
|
onStart: (fn: () => loopbackContext.ValueOrPromise<void>) => Binding<loopbackContext.LifeCycleObserver>;
|
|
97
99
|
stop: () => Promise<void>;
|
|
@@ -102,6 +104,7 @@ export declare function ServiceMixin<T extends MixinTarget<Application>>(superCl
|
|
|
102
104
|
interceptor: (interceptor: loopbackContext.Interceptor | Constructor<Provider<loopbackContext.Interceptor>>, nameOrOptions?: string | loopbackContext.InterceptorBindingOptions | undefined) => Binding<loopbackContext.Interceptor>;
|
|
103
105
|
readonly name: string;
|
|
104
106
|
readonly subscriptionManager: loopbackContext.ContextSubscriptionManager;
|
|
107
|
+
scope: loopbackContext.BindingScope;
|
|
105
108
|
readonly parent: loopbackContext.Context | undefined;
|
|
106
109
|
emitEvent: <T_6 extends loopbackContext.ContextEvent>(type: string, event: T_6) => void;
|
|
107
110
|
emitError: (err: unknown) => void;
|
|
@@ -119,7 +122,10 @@ export declare function ServiceMixin<T extends MixinTarget<Application>>(superCl
|
|
|
119
122
|
createView: <T_7 = unknown>(filter: loopbackContext.BindingFilter, comparator?: loopbackContext.BindingComparator | undefined) => loopbackContext.ContextView<T_7>;
|
|
120
123
|
contains: (key: BindingAddress<unknown>) => boolean;
|
|
121
124
|
isBound: (key: BindingAddress<unknown>) => boolean;
|
|
122
|
-
getOwnerContext: (
|
|
125
|
+
getOwnerContext: (keyOrBinding: string | loopbackContext.BindingKey<unknown> | Readonly<Binding<unknown>>) => loopbackContext.Context | undefined;
|
|
126
|
+
getScopedContext: (scope: loopbackContext.BindingScope.APPLICATION | loopbackContext.BindingScope.SERVER | loopbackContext.BindingScope.REQUEST) => loopbackContext.Context | undefined;
|
|
127
|
+
getResolutionContext: (binding: Readonly<Binding<unknown>>) => loopbackContext.Context | undefined;
|
|
128
|
+
isVisibleTo: (ctx: loopbackContext.Context) => boolean;
|
|
123
129
|
find: <ValueType_1 = any>(pattern?: string | RegExp | loopbackContext.BindingFilter | undefined) => Readonly<Binding<ValueType_1>>[];
|
|
124
130
|
findByTag: <ValueType_2 = any>(tagFilter: string | RegExp | Record<string, any>) => Readonly<Binding<ValueType_2>>[];
|
|
125
131
|
get: {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/service-proxy",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "A common set of interfaces for interacting with service oriented backends such as REST APIs, SOAP Web Services, and gRPC microservices",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": "
|
|
8
|
+
"node": "^10.16 || 12 || 14"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@loopback/core": "^2.
|
|
27
|
+
"@loopback/core": "^2.13.1"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"loopback-datasource-juggler": "^4.26.0",
|
|
31
|
+
"tslib": "^2.0.3"
|
|
28
32
|
},
|
|
29
33
|
"devDependencies": {
|
|
30
|
-
"@loopback/build": "^6.2.
|
|
31
|
-
"@loopback/core": "^2.
|
|
32
|
-
"@loopback/eslint-config": "^10.0.
|
|
33
|
-
"@loopback/testlab": "^3.2.
|
|
34
|
+
"@loopback/build": "^6.2.8",
|
|
35
|
+
"@loopback/core": "^2.13.1",
|
|
36
|
+
"@loopback/eslint-config": "^10.0.4",
|
|
37
|
+
"@loopback/testlab": "^3.2.10",
|
|
34
38
|
"@types/node": "^10.17.35"
|
|
35
39
|
},
|
|
36
|
-
"dependencies": {
|
|
37
|
-
"loopback-datasource-juggler": "^4.24.0",
|
|
38
|
-
"tslib": "^2.0.1"
|
|
39
|
-
},
|
|
40
40
|
"files": [
|
|
41
41
|
"README.md",
|
|
42
42
|
"dist",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"url": "https://github.com/strongloop/loopback-next.git",
|
|
49
49
|
"directory": "packages/service-proxy"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "44fc7765fa322c716e8f2914b3831748041ebd8c"
|
|
52
52
|
}
|