goblin-magic 1.8.0 → 1.8.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goblin-magic",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "goblin-magic",
5
5
  "author": "Epsitec SA",
6
6
  "contributors": [
@@ -657,12 +657,13 @@ class MagicNavigation extends Elf {
657
657
  * @param {string} [options.okLabel]
658
658
  * @param {string} [options.cancelLabel]
659
659
  * @param {string} [options.initialValue]
660
+ * @param {boolean} [options.withTranscription]
660
661
  * @returns {Promise<string>}
661
662
  */
662
663
  async prompt(
663
664
  parentId,
664
665
  prompt,
665
- {advice, okLabel, cancelLabel, initialValue} = {}
666
+ {advice, okLabel, cancelLabel, initialValue, withTranscription} = {}
666
667
  ) {
667
668
  const dialogId = await this.openDialog(
668
669
  {
@@ -673,6 +674,7 @@ class MagicNavigation extends Elf {
673
674
  okLabel,
674
675
  cancelLabel,
675
676
  initialValue,
677
+ withTranscription,
676
678
  },
677
679
  },
678
680
  parentId