Skip to content

Commit 9feb057

Browse files
committed
chore: update for changed interface
1 parent b2fbf3e commit 9feb057

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

lib/ElementVariables.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ export class ElementVariables extends EventEmitter {
4343
* @param {Object} element
4444
* @returns {Promise<Array>}
4545
*/
46-
async getInputRequirementsForElement(element) {
47-
return this._variableResolver.getInputRequirementsForElement(element)
46+
async getConsumedVariablesForElement(element) {
47+
return this._variableResolver.getConsumedVariablesForElement(element)
4848
.catch(() => {
4949
return [];
5050
});

lib/utils/prefill.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export async function computeMergedInput(currentInputString, elementVariables, e
7676
*/
7777
async function buildRequirementsStub(elementVariables, element) {
7878
const requirements = await elementVariables
79-
.getInputRequirementsForElement(element);
79+
.getConsumedVariablesForElement(element);
8080

8181
if (!requirements || requirements.length === 0) {
8282
return {};

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)