@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/svelte.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as StorageAPI } from './client-D9zisRb8.mjs';
1
+ import { S as StorageAPI } from './client-DOAj36ga.mjs';
2
2
  import { HaexVaultSdk } from './index.mjs';
3
3
  import * as drizzle_orm_sqlite_proxy from 'drizzle-orm/sqlite-proxy';
4
4
  import { Readable } from 'svelte/store';
package/dist/svelte.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as StorageAPI } from './client-DiqylZ59.js';
1
+ import { S as StorageAPI } from './client-CNbwFQjB.js';
2
2
  import { HaexVaultSdk } from './index.js';
3
3
  import * as drizzle_orm_sqlite_proxy from 'drizzle-orm/sqlite-proxy';
4
4
  import { Readable } from 'svelte/store';
package/dist/svelte.js CHANGED
@@ -968,7 +968,8 @@ var FilesystemAPI = class {
968
968
  this.client = client;
969
969
  }
970
970
  /**
971
- * Opens a save file dialog and saves the provided data to the selected location
971
+ * Opens a save file dialog and saves the provided data to the selected location.
972
+ * Waits for the user without the request timeout.
972
973
  * @param data The file data as Uint8Array
973
974
  * @param options Options for the save dialog
974
975
  * @returns The path where the file was saved, or null if cancelled
@@ -982,7 +983,8 @@ var FilesystemAPI = class {
982
983
  defaultPath: options.defaultPath,
983
984
  title: options.title,
984
985
  filters: options.filters
985
- }
986
+ },
987
+ { timeout: null }
986
988
  );
987
989
  return result;
988
990
  }
@@ -1102,25 +1104,27 @@ var FilesystemAPI = class {
1102
1104
  );
1103
1105
  }
1104
1106
  /**
1105
- * Open a folder selection dialog
1107
+ * Open a folder selection dialog; waits for the user without the request timeout
1106
1108
  * @param options Dialog options
1107
1109
  * @returns Selected folder path, or null if cancelled
1108
1110
  */
1109
1111
  async selectFolder(options = {}) {
1110
1112
  return this.client.request(
1111
1113
  FILESYSTEM_COMMANDS.selectFolder,
1112
- options
1114
+ options,
1115
+ { timeout: null }
1113
1116
  );
1114
1117
  }
1115
1118
  /**
1116
- * Open a file selection dialog
1119
+ * Open a file selection dialog; waits for the user without the request timeout
1117
1120
  * @param options Dialog options
1118
1121
  * @returns Selected file paths, or null if cancelled
1119
1122
  */
1120
1123
  async selectFile(options = {}) {
1121
1124
  return this.client.request(
1122
1125
  FILESYSTEM_COMMANDS.selectFile,
1123
- options
1126
+ options,
1127
+ { timeout: null }
1124
1128
  );
1125
1129
  }
1126
1130
  /**