@unleash/proxy
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -48,6 +48,2 @@ import { CorsOptions } from 'cors'; | ||
unleashAppName: string; | ||
/** | ||
* @deprecated This property is deprecated and will be removed in a future version. | ||
* Note: This property is currently a no-op (no operation) and does not affect the automatically generated instanceId. | ||
*/ | ||
unleashInstanceId: string; | ||
@@ -54,0 +50,0 @@ customStrategies?: Strategy[]; |
@@ -18,2 +18,3 @@ "use strict"; | ||
appName: config.unleashAppName, | ||
instanceId: config.unleashInstanceId, | ||
environment: config.environment, | ||
@@ -52,2 +53,3 @@ refreshInterval: config.refreshInterval, | ||
appName: config.unleashAppName, | ||
instanceId: config.unleashInstanceId, | ||
environment: config.environment, | ||
@@ -54,0 +56,0 @@ refreshInterval: config.refreshInterval, |
{ | ||
"name": "@unleash/proxy", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "The Unleash Proxy (Open-Source)", | ||
@@ -49,3 +49,3 @@ "main": "dist/index.js", | ||
"type-is": "^1.6.18", | ||
"unleash-client": "^6.0.0" | ||
"unleash-client": "^6.1.0" | ||
}, | ||
@@ -52,0 +52,0 @@ "devDependencies": { |
@@ -370,3 +370,3 @@ [![Build & Tests](https://github.com/Unleash/unleash-proxy/workflows/Node.js%20CI/badge.svg?branch=main)](https://github.com/Unleash/unleash-proxy/actions/workflows/node.js.yml) [![npm](https://img.shields.io/npm/v/@unleash/proxy)](https://www.npmjs.com/package/@unleash/proxy) [![Docker Pulls](https://img.shields.io/docker/pulls/unleashorg/unleash-proxy)](https://hub.docker.com/r/unleashorg/unleash-proxy) | ||
| unleashAppName | `UNLEASH_APP_NAME` | "unleash-proxy" | no | App name to used when registering with Unleash | | ||
| unleashInstanceId | `UNLEASH_INSTANCE_ID` | `generated` | deprecated | Unleash instance id to used when registering with Unleash | | ||
| unleashInstanceId | `UNLEASH_INSTANCE_ID` | `generated` | no | Unleash instance id to used when registering with Unleash | | ||
| refreshInterval | `UNLEASH_FETCH_INTERVAL` | 5000 | no | How often the proxy should query Unleash for updates, defined in ms. | | ||
@@ -373,0 +373,0 @@ | metricsInterval | `UNLEASH_METRICS_INTERVAL` | 30000 | no | How often the proxy should send usage metrics back to Unleash, defined in ms. | |
@@ -52,6 +52,2 @@ import { CorsOptions } from 'cors'; | ||
unleashAppName: string; | ||
/** | ||
* @deprecated This property is deprecated and will be removed in a future version. | ||
* Note: This property is currently a no-op (no operation) and does not affect the automatically generated instanceId. | ||
*/ | ||
unleashInstanceId: string; | ||
@@ -58,0 +54,0 @@ customStrategies?: Strategy[]; |
@@ -15,2 +15,3 @@ import { IProxyConfig } from './config'; | ||
appName: config.unleashAppName, | ||
instanceId: config.unleashInstanceId, | ||
environment: config.environment, | ||
@@ -52,2 +53,3 @@ refreshInterval: config.refreshInterval, | ||
appName: config.unleashAppName, | ||
instanceId: config.unleashInstanceId, | ||
environment: config.environment, | ||
@@ -54,0 +56,0 @@ refreshInterval: config.refreshInterval, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
698684
8682
Updatedunleash-client@^6.1.0