@domicile-desktop/sdk 0.0.0-alpha-b7666519ea94 → 0.0.0-alpha-69dcbb42e4fb

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.
@@ -139,7 +139,8 @@ export declare const WEBVIEW_CONTENT_SIZE_CHANGE_EVENT = "domicile-content-size-
139
139
  * answer with {@link DomicileFileChooserEvent.choose} or
140
140
  * {@link DomicileFileChooserEvent.cancel}. If no listener calls
141
141
  * `preventDefault()`, the request is canceled, so uploads and downloads fail.
142
- * Every download asks for a path.
142
+ * Every download asks for a path. A picker lists directories with `readDir`
143
+ * from `@domicile-desktop/sdk/system`.
143
144
  */
144
145
  export declare const WEBVIEW_FILE_CHOOSER_EVENT = "domicile-file-chooser";
145
146
  /**
@@ -332,12 +333,6 @@ declare global {
332
333
  * throws an `InvalidStateError`.
333
334
  */
334
335
  choose(paths: readonly string[]): void;
335
- /**
336
- * The unordered entries of the directory at `path`, with directories
337
- * ending in `/`. Rejects with `NotReadableError` if `path` is not a
338
- * readable directory, and with `InvalidStateError` after an answer.
339
- */
340
- list(path: string): Promise<string[]>;
341
336
  /** Answer that nothing was picked. */
342
337
  cancel(): void;
343
338
  }
@@ -149,7 +149,8 @@ export const WEBVIEW_CONTENT_SIZE_CHANGE_EVENT = "domicile-content-size-change";
149
149
  * answer with {@link DomicileFileChooserEvent.choose} or
150
150
  * {@link DomicileFileChooserEvent.cancel}. If no listener calls
151
151
  * `preventDefault()`, the request is canceled, so uploads and downloads fail.
152
- * Every download asks for a path.
152
+ * Every download asks for a path. A picker lists directories with `readDir`
153
+ * from `@domicile-desktop/sdk/system`.
153
154
  */
154
155
  export const WEBVIEW_FILE_CHOOSER_EVENT = "domicile-file-chooser";
155
156
  /**
package/package.json CHANGED
@@ -91,7 +91,7 @@
91
91
  "test:unit": "bun test"
92
92
  },
93
93
  "type": "module",
94
- "version": "0.0.0-alpha-b7666519ea94",
94
+ "version": "0.0.0-alpha-69dcbb42e4fb",
95
95
  "repository": {
96
96
  "type": "git",
97
97
  "url": "git+https://github.com/cprussin/domicile.git",