@loopback/service-proxy 3.0.1 → 3.0.2

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 CHANGED
@@ -3,6 +3,14 @@
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.2](https://github.com/strongloop/loopback-next/compare/@loopback/service-proxy@3.0.1...@loopback/service-proxy@3.0.2) (2020-10-07)
7
+
8
+ **Note:** Version bump only for package @loopback/service-proxy
9
+
10
+
11
+
12
+
13
+
6
14
  ## [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
15
 
8
16
  **Note:** Version bump only for package @loopback/service-proxy
@@ -102,6 +102,7 @@ export declare function ServiceMixin<T extends MixinTarget<Application>>(superCl
102
102
  interceptor: (interceptor: loopbackContext.Interceptor | Constructor<Provider<loopbackContext.Interceptor>>, nameOrOptions?: string | loopbackContext.InterceptorBindingOptions | undefined) => Binding<loopbackContext.Interceptor>;
103
103
  readonly name: string;
104
104
  readonly subscriptionManager: loopbackContext.ContextSubscriptionManager;
105
+ scope: loopbackContext.BindingScope;
105
106
  readonly parent: loopbackContext.Context | undefined;
106
107
  emitEvent: <T_6 extends loopbackContext.ContextEvent>(type: string, event: T_6) => void;
107
108
  emitError: (err: unknown) => void;
@@ -119,7 +120,10 @@ export declare function ServiceMixin<T extends MixinTarget<Application>>(superCl
119
120
  createView: <T_7 = unknown>(filter: loopbackContext.BindingFilter, comparator?: loopbackContext.BindingComparator | undefined) => loopbackContext.ContextView<T_7>;
120
121
  contains: (key: BindingAddress<unknown>) => boolean;
121
122
  isBound: (key: BindingAddress<unknown>) => boolean;
122
- getOwnerContext: (key: BindingAddress<unknown>) => loopbackContext.Context | undefined;
123
+ getOwnerContext: (keyOrBinding: string | loopbackContext.BindingKey<unknown> | Readonly<Binding<unknown>>) => loopbackContext.Context | undefined;
124
+ getScopedContext: (scope: loopbackContext.BindingScope.APPLICATION | loopbackContext.BindingScope.SERVER | loopbackContext.BindingScope.REQUEST) => loopbackContext.Context | undefined;
125
+ getResolutionContext: (binding: Readonly<Binding<unknown>>) => loopbackContext.Context | undefined;
126
+ isVisibleTo: (ctx: loopbackContext.Context) => boolean;
123
127
  find: <ValueType_1 = any>(pattern?: string | RegExp | loopbackContext.BindingFilter | undefined) => Readonly<Binding<ValueType_1>>[];
124
128
  findByTag: <ValueType_2 = any>(tagFilter: string | RegExp | Record<string, any>) => Readonly<Binding<ValueType_2>>[];
125
129
  get: {
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@loopback/service-proxy",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
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": ">=10.16"
8
+ "node": "^10.16 || 12 || 14"
9
9
  },
10
10
  "scripts": {
11
11
  "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
@@ -24,18 +24,18 @@
24
24
  "access": "public"
25
25
  },
26
26
  "peerDependencies": {
27
- "@loopback/core": "^2.10.1"
27
+ "@loopback/core": "^2.11.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@loopback/build": "^6.2.4",
31
- "@loopback/core": "^2.10.1",
32
- "@loopback/eslint-config": "^10.0.0",
33
- "@loopback/testlab": "^3.2.6",
30
+ "@loopback/build": "^6.2.5",
31
+ "@loopback/core": "^2.11.0",
32
+ "@loopback/eslint-config": "^10.0.1",
33
+ "@loopback/testlab": "^3.2.7",
34
34
  "@types/node": "^10.17.35"
35
35
  },
36
36
  "dependencies": {
37
37
  "loopback-datasource-juggler": "^4.24.0",
38
- "tslib": "^2.0.1"
38
+ "tslib": "^2.0.2"
39
39
  },
40
40
  "files": [
41
41
  "README.md",
@@ -48,5 +48,5 @@
48
48
  "url": "https://github.com/strongloop/loopback-next.git",
49
49
  "directory": "packages/service-proxy"
50
50
  },
51
- "gitHead": "79327fd7e68ebb05be0aa689f4986b54e2a99a6b"
51
+ "gitHead": "390f2794d10eea3d969ae417963af815ce1bc417"
52
52
  }