@unleash/client-specification
Advanced tools
Comparing version 0.1.0 to 3.2.0
{ | ||
"name": "@unleash/client-specification", | ||
"version": "0.1.0", | ||
"version": "3.2.0", | ||
"description": "A collection of test specifications to guide client implementations in various langugages", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -24,4 +24,13 @@ const Joi = require('joi'); | ||
value: Joi.string().required().allow(""), | ||
}), | ||
}).optional(), | ||
weight: Joi.number().min(0).max(100000), | ||
overrides: Joi.array().items( | ||
Joi | ||
.object() | ||
.keys({ | ||
contextName: Joi.string().required(), | ||
values: Joi.array().items(Joi.string()), | ||
}) | ||
.optional() | ||
), | ||
}) | ||
@@ -28,0 +37,0 @@ ) |
@@ -26,3 +26,3 @@ const Joi = require('joi'); | ||
value: Joi.string().required().allow(""), | ||
}), | ||
}).optional(), | ||
enabled: Joi.boolean().required() | ||
@@ -29,0 +29,0 @@ }), |
@@ -53,3 +53,3 @@ { | ||
"name": "Feature.Variants.C", | ||
"description": "", | ||
"description": "Testing three variants", | ||
"enabled": true, | ||
@@ -86,3 +86,3 @@ "strategies": [], | ||
"name": "Feature.Variants.D", | ||
"description": "", | ||
"description": "Variants with payload", | ||
"enabled": true, | ||
@@ -119,3 +119,3 @@ "strategies": [], | ||
"name": "Feature.Variants.override.D", | ||
"description": "", | ||
"description": "Variant with overrides", | ||
"enabled": true, | ||
@@ -122,0 +122,0 @@ "strategies": [], |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
48104
1171
0