@querypanel/node-sdk 1.0.54 → 1.0.55
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/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1449,6 +1449,9 @@ function buildModifiedQuestion(originalQuestion, modifications, pipeline) {
|
|
|
1449
1449
|
if (hints.length === 0) {
|
|
1450
1450
|
return originalQuestion;
|
|
1451
1451
|
}
|
|
1452
|
+
if (pipeline === "v2") {
|
|
1453
|
+
return hints.join(", ");
|
|
1454
|
+
}
|
|
1452
1455
|
return `${originalQuestion} (${hints.join(", ")})`;
|
|
1453
1456
|
}
|
|
1454
1457
|
var START_PARAM_KEY_REGEX = /(^|_)(start|from)(_|$)/i;
|