diff --git a/projects/quml-library/package.json b/projects/quml-library/package.json index 2787ce72..3717e5f9 100644 --- a/projects/quml-library/package.json +++ b/projects/quml-library/package.json @@ -1,6 +1,6 @@ { "name": "@project-sunbird/sunbird-quml-player", - "version": "7.0.1", + "version": "7.0.2", "schematics": "./schematics/collection.json", "ng-add": { "save": "dependencies" diff --git a/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts b/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts index 4478b751..a1f5625d 100644 --- a/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts +++ b/projects/quml-library/src/lib/services/transformation-service/transformation.service.ts @@ -202,7 +202,7 @@ export class TransformationService { const resValData: any = _.get(interactions, 'response1.validation', {}); if (!_.isEmpty(resValData)) { _.forEach(resValData, (value, key) => { - validation.set(key, value); + _.set(validation, key, value) }); } else { _.set(resp1, 'validation', validation); diff --git a/web-component/package.json b/web-component/package.json index c572b91f..fc8925de 100644 --- a/web-component/package.json +++ b/web-component/package.json @@ -1,6 +1,6 @@ { "name": "@project-sunbird/sunbird-quml-player-web-component", - "version": "3.0.1", + "version": "3.0.2", "description": "The web component package for the sunbird QuML player", "main": "sunbird-quml-player.js", "scripts": { diff --git a/web-component/sunbird-quml-player.js b/web-component/sunbird-quml-player.js index dec37651..52482ab3 100644 --- a/web-component/sunbird-quml-player.js +++ b/web-component/sunbird-quml-player.js @@ -87883,7 +87883,7 @@ class TransformationService { const resValData = lodash_es__WEBPACK_IMPORTED_MODULE_4__["default"](interactions, 'response1.validation', {}); if (!lodash_es__WEBPACK_IMPORTED_MODULE_1__["default"](resValData)) { lodash_es__WEBPACK_IMPORTED_MODULE_7__["default"](resValData, (value, key) => { - validation.set(key, value); + lodash_es__WEBPACK_IMPORTED_MODULE_6__["default"](validation, key, value); }); } else { lodash_es__WEBPACK_IMPORTED_MODULE_6__["default"](resp1, 'validation', validation);