@gravity-ui/gateway 3.2.1 → 3.2.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @gravity-ui/gateway · [![npm package](https://img.shields.io/npm/v/@gravity-ui/gateway)](https://www.npmjs.com/package/@gravity-ui/gateway) [![CI](https://img.shields.io/github/actions/workflow/status/gravity-ui/gateway/.github/workflows/ci.yml?label=CI&logo=github)](https://github.com/gravity-ui/gateway/actions/workflows/ci.yml?query=branch:main)
2
2
 
3
- Express controller for working with REST/GRPC APIs.
3
+ Express controller for working with REST and GRPC APIs.
4
4
 
5
5
  ## Install
6
6
 
@@ -146,6 +146,7 @@ const reflectionServiceInstancesMap = {};
146
146
  function clearInstancesCache(service, instancesMap, cachePath, closeTimeout, ctx) {
147
147
  const cachedService = lodash_1.default.get(instancesMap, cachePath);
148
148
  if (cachedService !== service) {
149
+ ctx.log(`Service client not matched cached service for cachePath '${cachePath}'`);
149
150
  return;
150
151
  }
151
152
  // Remove cached service instance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/gateway",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "main": "build/index.js",