mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
fix(deps): update dependency unleash-client to v3.16.0 (#2235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: sjaanus <sellinjaanus@gmail.com>
This commit is contained in:
parent
0dba973881
commit
d8df7e5815
@ -133,7 +133,7 @@
|
|||||||
"stoppable": "^1.1.0",
|
"stoppable": "^1.1.0",
|
||||||
"ts-toolbelt": "^9.6.0",
|
"ts-toolbelt": "^9.6.0",
|
||||||
"type-is": "^1.6.18",
|
"type-is": "^1.6.18",
|
||||||
"unleash-client": "3.15.0",
|
"unleash-client": "3.16.0",
|
||||||
"use-deep-compare-effect": "^1.8.1",
|
"use-deep-compare-effect": "^1.8.1",
|
||||||
"uuid": "^8.3.2"
|
"uuid": "^8.3.2"
|
||||||
},
|
},
|
||||||
|
@ -11,6 +11,7 @@ export interface FeatureConfigurationClient {
|
|||||||
name: string;
|
name: string;
|
||||||
type: string;
|
type: string;
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
|
project: string;
|
||||||
stale: boolean;
|
stale: boolean;
|
||||||
strategies: IStrategyConfig[];
|
strategies: IStrategyConfig[];
|
||||||
variants: IVariant[];
|
variants: IVariant[];
|
||||||
|
@ -45,6 +45,7 @@ describe('offline client', () => {
|
|||||||
features: [
|
features: [
|
||||||
{
|
{
|
||||||
name,
|
name,
|
||||||
|
project: 'default',
|
||||||
enabled: true,
|
enabled: true,
|
||||||
strategies: [{ name: 'default' }],
|
strategies: [{ name: 'default' }],
|
||||||
variants: [],
|
variants: [],
|
||||||
@ -68,6 +69,7 @@ describe('offline client', () => {
|
|||||||
{
|
{
|
||||||
name: enabledFeature,
|
name: enabledFeature,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
project: 'default',
|
||||||
strategies: [
|
strategies: [
|
||||||
{
|
{
|
||||||
name: 'default',
|
name: 'default',
|
||||||
@ -87,6 +89,7 @@ describe('offline client', () => {
|
|||||||
{
|
{
|
||||||
name: disabledFeature,
|
name: disabledFeature,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
project: 'default',
|
||||||
strategies: [
|
strategies: [
|
||||||
{
|
{
|
||||||
name: 'default',
|
name: 'default',
|
||||||
@ -123,6 +126,7 @@ describe('offline client', () => {
|
|||||||
name: 'default',
|
name: 'default',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
project: 'default',
|
||||||
stale: false,
|
stale: false,
|
||||||
enabled: false,
|
enabled: false,
|
||||||
name,
|
name,
|
||||||
@ -149,6 +153,7 @@ describe('offline client', () => {
|
|||||||
name: 'default',
|
name: 'default',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
project: 'default',
|
||||||
stale: false,
|
stale: false,
|
||||||
enabled: false,
|
enabled: false,
|
||||||
name,
|
name,
|
||||||
@ -187,6 +192,7 @@ describe('offline client', () => {
|
|||||||
stale: false,
|
stale: false,
|
||||||
enabled: false,
|
enabled: false,
|
||||||
name,
|
name,
|
||||||
|
project: 'default',
|
||||||
type: 'experiment',
|
type: 'experiment',
|
||||||
variants: [
|
variants: [
|
||||||
{
|
{
|
||||||
@ -226,6 +232,7 @@ describe('offline client', () => {
|
|||||||
constraints: [],
|
constraints: [],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
project: 'default',
|
||||||
stale: false,
|
stale: false,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
name,
|
name,
|
||||||
@ -255,6 +262,7 @@ describe('offline client', () => {
|
|||||||
constraints: [],
|
constraints: [],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
project: 'default',
|
||||||
stale: false,
|
stale: false,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
name,
|
name,
|
||||||
@ -291,6 +299,7 @@ describe('offline client', () => {
|
|||||||
constraints: [],
|
constraints: [],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
project: 'default',
|
||||||
stale: false,
|
stale: false,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
name,
|
name,
|
||||||
@ -376,6 +385,7 @@ describe('offline client', () => {
|
|||||||
// impressionData: false,
|
// impressionData: false,
|
||||||
enabled: true,
|
enabled: true,
|
||||||
name: featureName,
|
name: featureName,
|
||||||
|
project: 'default',
|
||||||
// description: '',
|
// description: '',
|
||||||
// project: 'heartman-for-test',
|
// project: 'heartman-for-test',
|
||||||
stale: false,
|
stale: false,
|
||||||
|
@ -4,8 +4,8 @@ import { FeatureConfigurationClient } from 'lib/types/stores/feature-strategies-
|
|||||||
import { Segment } from './feature-evaluator/strategy/strategy';
|
import { Segment } from './feature-evaluator/strategy/strategy';
|
||||||
import { ISegment } from 'lib/types/model';
|
import { ISegment } from 'lib/types/model';
|
||||||
import { serializeDates } from '../../lib/types/serialize-dates';
|
import { serializeDates } from '../../lib/types/serialize-dates';
|
||||||
import { FeatureInterface } from './feature-evaluator/feature';
|
|
||||||
import { Operator } from './feature-evaluator/constraint';
|
import { Operator } from './feature-evaluator/constraint';
|
||||||
|
import { FeatureInterface } from 'unleash-client/lib/feature';
|
||||||
|
|
||||||
enum PayloadType {
|
enum PayloadType {
|
||||||
STRING = 'string',
|
STRING = 'string',
|
||||||
@ -27,6 +27,7 @@ export const mapFeaturesForClient = (
|
|||||||
type: variant.payload.type as unknown as PayloadType,
|
type: variant.payload.type as unknown as PayloadType,
|
||||||
},
|
},
|
||||||
})),
|
})),
|
||||||
|
project: feature.project,
|
||||||
strategies: feature.strategies.map((strategy) => ({
|
strategies: feature.strategies.map((strategy) => ({
|
||||||
parameters: {},
|
parameters: {},
|
||||||
...strategy,
|
...strategy,
|
||||||
|
@ -7395,10 +7395,10 @@ universalify@^2.0.0:
|
|||||||
resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz"
|
resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz"
|
||||||
integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==
|
integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==
|
||||||
|
|
||||||
unleash-client@3.15.0:
|
unleash-client@3.16.0:
|
||||||
version "3.15.0"
|
version "3.16.0"
|
||||||
resolved "https://registry.yarnpkg.com/unleash-client/-/unleash-client-3.15.0.tgz#6ba4d917a0d8d628e73267ae8114d261d210a1a9"
|
resolved "https://registry.yarnpkg.com/unleash-client/-/unleash-client-3.16.0.tgz#f4d8100d10d86f4a3e51ad660b364d50e1aadfca"
|
||||||
integrity sha512-pNfzJa7QWhtSMTGNhmanpgqjg3xIJK4gJgQiZdkJlUY6GPDXit8p4fGs94jC8zM/xzpa1ji9+sSx6GC9YDeCiQ==
|
integrity sha512-oqnAKIt7WLSw1t9L1dJLZGpXb7rRh8FPo40R8x7lTW5Hyd1dMAUS3AKvwfMLXm+Mszl8wWs+VXdr/00Mva2tBw==
|
||||||
dependencies:
|
dependencies:
|
||||||
ip "^1.1.5"
|
ip "^1.1.5"
|
||||||
make-fetch-happen "^10.0.0"
|
make-fetch-happen "^10.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user