@haex-space/vault-sdk 4.8.0 → 4.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/dist/vue.mjs CHANGED
@@ -966,7 +966,8 @@ var FilesystemAPI = class {
966
966
  this.client = client;
967
967
  }
968
968
  /**
969
- * Opens a save file dialog and saves the provided data to the selected location
969
+ * Opens a save file dialog and saves the provided data to the selected location.
970
+ * Waits for the user without the request timeout.
970
971
  * @param data The file data as Uint8Array
971
972
  * @param options Options for the save dialog
972
973
  * @returns The path where the file was saved, or null if cancelled
@@ -980,7 +981,8 @@ var FilesystemAPI = class {
980
981
  defaultPath: options.defaultPath,
981
982
  title: options.title,
982
983
  filters: options.filters
983
- }
984
+ },
985
+ { timeout: null }
984
986
  );
985
987
  return result;
986
988
  }
@@ -1100,25 +1102,27 @@ var FilesystemAPI = class {
1100
1102
  );
1101
1103
  }
1102
1104
  /**
1103
- * Open a folder selection dialog
1105
+ * Open a folder selection dialog; waits for the user without the request timeout
1104
1106
  * @param options Dialog options
1105
1107
  * @returns Selected folder path, or null if cancelled
1106
1108
  */
1107
1109
  async selectFolder(options = {}) {
1108
1110
  return this.client.request(
1109
1111
  FILESYSTEM_COMMANDS.selectFolder,
1110
- options
1112
+ options,
1113
+ { timeout: null }
1111
1114
  );
1112
1115
  }
1113
1116
  /**
1114
- * Open a file selection dialog
1117
+ * Open a file selection dialog; waits for the user without the request timeout
1115
1118
  * @param options Dialog options
1116
1119
  * @returns Selected file paths, or null if cancelled
1117
1120
  */
1118
1121
  async selectFile(options = {}) {
1119
1122
  return this.client.request(
1120
1123
  FILESYSTEM_COMMANDS.selectFile,
1121
- options
1124
+ options,
1125
+ { timeout: null }
1122
1126
  );
1123
1127
  }
1124
1128
  /**