@sparkvault/sdk-js 1.25.1 → 1.26.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.
@@ -61,6 +61,17 @@ export interface UploadOptions {
61
61
  backdropBlur?: boolean;
62
62
  /** Hide "Upload Another File" button on success screen (for single-file flows) */
63
63
  hideUploadAnother?: boolean;
64
+ /**
65
+ * Skip the success screen entirely. On completion the SDK fires onSuccess
66
+ * and closes the dialog, so a host site can render its own post-upload UI.
67
+ */
68
+ hideSuccessScreen?: boolean;
69
+ /**
70
+ * Upload this File directly, skipping the SDK's drop-zone. The host owns
71
+ * file selection (its own button, picker, or drop target) and hands the
72
+ * File to the SDK, which shows only the secure-upload progress dialog.
73
+ */
74
+ file?: File;
64
75
  /**
65
76
  * Vault Access Token. When provided, the upload is authorized by the VAT
66
77
  * (no public-upload flag required). When omitted, the public upload flow
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparkvault/sdk-js",
3
- "version": "1.25.1",
3
+ "version": "1.26.0",
4
4
  "description": "SparkVault JavaScript SDK - Identity Verification and Encrypted Vaults",
5
5
  "type": "module",
6
6
  "main": "dist/sparkvault.cjs.js",