diff --git a/package.json b/package.json index d4d08d3..dee8ad6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@unleash/client-specification", - "version": "5.2.0", + "version": "5.2.1", "description": "A collection of test specifications to guide client implementations in various languages", "scripts": { "test": "node index", diff --git a/schema/delta-event-schema.js b/schema/delta-event-schema.js index e840181..41b0c85 100644 --- a/schema/delta-event-schema.js +++ b/schema/delta-event-schema.js @@ -18,6 +18,7 @@ const deltaEventSchema = Joi.alternatives().try( eventId: Joi.number().required(), type: Joi.string().valid("feature-removed").required(), featureName: Joi.string().required(), + project: Joi.string().required(), }), Joi.object({ eventId: Joi.number().required(), diff --git a/specifications/20-delta-api-events.json b/specifications/20-delta-api-events.json index 24bdf46..1b4a663 100644 --- a/specifications/20-delta-api-events.json +++ b/specifications/20-delta-api-events.json @@ -43,7 +43,8 @@ { "eventId": 3, "type": "feature-removed", - "featureName": "delta.api.events.updated.2" + "featureName": "delta.api.events.updated.2", + "project" : "default" }, { "eventId": 4,