Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@unleash/proxy

Package Overview
Dependencies
Maintainers
0
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unleash/proxy - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

4

dist/config.d.ts

@@ -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[];

2

dist/create-client.js

@@ -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

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