@sparkvault/sdk 1.21.11 → 1.23.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.
@@ -105,5 +105,5 @@ export declare class VaultsModule {
105
105
  private validateUploadOptions;
106
106
  }
107
107
  export type { CreateVaultOptions, Vault, UnsealedVault, VaultSummary, Ingot, UploadIngotOptions, } from './types';
108
- export type { UploadOptions, UploadAttachOptions, UploadResult, UploadProgress, VaultUploadConfig, UploadBranding, UploadPopOptions, UploadRenderOptions, } from './upload';
108
+ export type { UploadOptions, UploadAttachOptions, UploadResult, UploadProgress, VaultUploadConfig, UploadBranding, } from './upload';
109
109
  export { VaultUploadModule, UploadApiError } from './upload';
@@ -66,14 +66,10 @@ export declare class VaultUploadModule {
66
66
  * Resolve target to an HTMLElement and create inline container.
67
67
  */
68
68
  private createInlineContainer;
69
- /**
70
- * @deprecated Use `upload()` instead. Will be removed in v2.0.
71
- */
69
+ /** Open the upload widget as a popup. Equivalent to `upload(options)`. */
72
70
  pop(options: UploadOptions): Promise<UploadResult>;
73
- /**
74
- * @deprecated Use `upload({ target })` instead. Will be removed in v2.0.
75
- */
71
+ /** Render the upload widget inline. Equivalent to `upload({ ...options, target })`. */
76
72
  render(options: UploadOptions): Promise<UploadResult>;
77
73
  }
78
- export type { UploadOptions, UploadAttachOptions, UploadResult, UploadProgress, VaultUploadConfig, UploadBranding, EncryptionInfo, UploadPopOptions, UploadRenderOptions, } from './types';
74
+ export type { UploadOptions, UploadAttachOptions, UploadResult, UploadProgress, VaultUploadConfig, UploadBranding, EncryptionInfo, } from './types';
79
75
  export { UploadApiError } from './api';
@@ -83,10 +83,6 @@ export interface UploadAttachOptions {
83
83
  /** Callback for upload progress */
84
84
  onProgress?: (progress: UploadProgress) => void;
85
85
  }
86
- /** @deprecated Use UploadOptions instead */
87
- export type UploadPopOptions = UploadOptions;
88
- /** @deprecated Use UploadOptions instead */
89
- export type UploadRenderOptions = UploadOptions;
90
86
  /**
91
87
  * Upload progress information.
92
88
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparkvault/sdk",
3
- "version": "1.21.11",
3
+ "version": "1.23.1",
4
4
  "description": "SparkVault JavaScript SDK - Identity Verification and Encrypted Vaults",
5
5
  "type": "module",
6
6
  "main": "dist/sparkvault.cjs.js",