@sparkvault/sdk-js 15.1.0 → 15.2.0

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/index.d.ts CHANGED
@@ -3669,7 +3669,7 @@ interface UploadOptions {
3669
3669
  target?: string | HTMLElement;
3670
3670
  /** Override backdrop blur for this dialog (uses global config if omitted) */
3671
3671
  backdropBlur?: boolean;
3672
- /** Hide "Upload Another File" button on success screen (for single-file flows) */
3672
+ /** Hide the "Upload another file" button once a file is sent (for single-file flows) */
3673
3673
  hideUploadAnother?: boolean;
3674
3674
  /**
3675
3675
  * Skip the success screen entirely. On completion the SDK fires onSuccess
@@ -3735,7 +3735,13 @@ interface UploadProgress {
3735
3735
  bytesTotal: number;
3736
3736
  /** Percentage (0-100) */
3737
3737
  percentage: number;
3738
- /** Current phase */
3738
+ /**
3739
+ * Current phase: 'uploading' while the bytes move and while SparkVault
3740
+ * secures the file (percentage 100 once every byte is sent, before the save
3741
+ * is confirmed; an upload can still fail then). 'ceremony' once SparkVault
3742
+ * has confirmed the save, reported once, then 'complete' as the upload
3743
+ * ends. No phase runs on a timer.
3744
+ */
3739
3745
  phase: 'uploading' | 'ceremony' | 'complete';
3740
3746
  }
3741
3747
  /**
@@ -4575,7 +4581,7 @@ declare class FoldersModule {
4575
4581
  * folder or none
4576
4582
  *
4577
4583
  * @example
4578
- * const invoices = await sv.folders.findByPath(unsealed, 'Clients/Acme/Invoices');
4584
+ * const invoices = await sv.folders.findByPath(unsealed, 'Clients/Northfield/Invoices');
4579
4585
  */
4580
4586
  findByPath(vault: UnsealedVault, path: string): Promise<Folder | null>;
4581
4587
  /**