@ondc/automation-mock-runner 1.3.34 → 1.3.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/configHelper.js +2 -0
- package/package.json +1 -1
package/dist/lib/configHelper.js
CHANGED
|
@@ -241,6 +241,7 @@ async function buildConfigFromFlowConfig(payloads, flowConfig, domain, version,
|
|
|
241
241
|
// HTML_FORM is not yet fully implemented — fall back to dynamic_form default
|
|
242
242
|
stepConfig = mockRunner.getDefaultStep(step.type, step.key, "dynamic_form");
|
|
243
243
|
stepConfig.mock.inputs.oldInputs = step.input;
|
|
244
|
+
stepConfig.owner = step.owner;
|
|
244
245
|
}
|
|
245
246
|
else {
|
|
246
247
|
stepConfig = mockRunner.getDefaultStep(step.type, step.key);
|
|
@@ -273,6 +274,7 @@ async function buildConfigFromFlowConfig(payloads, flowConfig, domain, version,
|
|
|
273
274
|
stepConfig.unsolicited = step.unsolicited;
|
|
274
275
|
config.steps.push(stepConfig);
|
|
275
276
|
}
|
|
277
|
+
config.meta.description = flowConfig.description || "";
|
|
276
278
|
return config;
|
|
277
279
|
}
|
|
278
280
|
async function generatePlaygroundConfigFromFlowConfig(payloads, flowConfig) {
|